[RFC PATCH 1/5] dt-bindings: power: Add battery types

2017-08-01 Thread Marek Belisko
From: Marek Belisko <marek.beli...@gmail.com> Signed-off-by: Marek Belisko <marek.beli...@gmail.com> --- include/dt-bindings/power/power.h | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 include/dt-bindings/power/power.h diff --git a/include/dt-bindings/powe

[RFC PATCH 1/5] dt-bindings: power: Add battery types

2017-08-01 Thread Marek Belisko
From: Marek Belisko Signed-off-by: Marek Belisko --- include/dt-bindings/power/power.h | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 include/dt-bindings/power/power.h diff --git a/include/dt-bindings/power/power.h b/include/dt-bindings/power/power.h new file mode

[RFC PATCH 3/5] power/generic-adc-battery: Add support for temperature and add check for charge from iio current channel

2017-08-01 Thread Marek Belisko
From: Marek Belisko <marek.beli...@gmail.com> Status reporting not working yet. During boot when workqueue is called status is updated (by reading iio current channel but value is -705 (reason unknown as later report correct value). Signed-off-by: Marek Belisko <marek.beli...@

[RFC PATCH 3/5] power/generic-adc-battery: Add support for temperature and add check for charge from iio current channel

2017-08-01 Thread Marek Belisko
From: Marek Belisko Status reporting not working yet. During boot when workqueue is called status is updated (by reading iio current channel but value is -705 (reason unknown as later report correct value). Signed-off-by: Marek Belisko --- drivers/power/supply/generic-adc-battery.c | 18

[RFC PATCH 2/5] power: generic-adc-battery: Parse more properties from DT

2017-08-01 Thread Marek Belisko
From: Marek Belisko <marek.beli...@gmail.com> Signed-off-by: Marek Belisko <marek.beli...@gmail.com> --- drivers/power/supply/generic-adc-battery.c | 68 ++ 1 file changed, 68 insertions(+) diff --git a/drivers/power/supply/generic-adc-battery.c b/d

[RFC PATCH 4/5] power: Add formula for computing LiIon State of Charge from Voltage

2017-08-01 Thread Marek Belisko
From: Marek Belisko <marek.beli...@gmail.com> The formula appears to be known in RC model communities. We did find the first reference on the web in a a forum post by "SilverFox" from 04-16-2008: http://www.candlepowerforums.com/vb/showthread.php?115871-Li-Ion-State-of-Ch

[RFC PATCH 2/5] power: generic-adc-battery: Parse more properties from DT

2017-08-01 Thread Marek Belisko
From: Marek Belisko Signed-off-by: Marek Belisko --- drivers/power/supply/generic-adc-battery.c | 68 ++ 1 file changed, 68 insertions(+) diff --git a/drivers/power/supply/generic-adc-battery.c b/drivers/power/supply/generic-adc-battery.c index b5e9208..d4daa6a

[RFC PATCH 4/5] power: Add formula for computing LiIon State of Charge from Voltage

2017-08-01 Thread Marek Belisko
From: Marek Belisko The formula appears to be known in RC model communities. We did find the first reference on the web in a a forum post by "SilverFox" from 04-16-2008: http://www.candlepowerforums.com/vb/showthread.php?115871-Li-Ion-State-of-Charge-and-Voltage-Measurements#post244

[RFC PATCH 0/5] Add formula for LiIon batteries to compute capacity

2017-08-01 Thread Marek Belisko
battery. This patches was tested on gta04 and works fine. Thanks for comments. Marek Belisko (5): dt-bindings: power: Add battery types power: generic-adc-battery: Parse more properties from DT power/generic-adc-battery: Add support for temperature and add check for charge from iio current

[RFC PATCH 5/5] power: generic-adc-battery: Add capacity handling

2017-08-01 Thread Marek Belisko
From: Marek Belisko <marek.beli...@gmail.com> Signed-off-by: Marek Belisko <marek.beli...@gmail.com> --- drivers/power/supply/generic-adc-battery.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/power/supply/generic-adc-battery.c b/drivers/power/supply

[RFC PATCH 0/5] Add formula for LiIon batteries to compute capacity

2017-08-01 Thread Marek Belisko
battery. This patches was tested on gta04 and works fine. Thanks for comments. Marek Belisko (5): dt-bindings: power: Add battery types power: generic-adc-battery: Parse more properties from DT power/generic-adc-battery: Add support for temperature and add check for charge from iio current

[RFC PATCH 5/5] power: generic-adc-battery: Add capacity handling

2017-08-01 Thread Marek Belisko
From: Marek Belisko Signed-off-by: Marek Belisko --- drivers/power/supply/generic-adc-battery.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/power/supply/generic-adc-battery.c b/drivers/power/supply/generic-adc-battery.c index 0d27b59..9ce51d2 100644

[PATCH] ARM: dts: omap3-gta04: Add RFID eeprom node

2016-06-04 Thread Marek Belisko
From: "H. Nikolaus Schaller" <h...@goldelico.com> Define RFID eeprom node which is present on gta04 device. Signed-off-by: H. Nikolaus Schaller <h...@goldelico.com> Signed-off-by: Marek Belisko <ma...@goldelico.com> --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 ++

[PATCH] ARM: dts: omap3-gta04: Add RFID eeprom node

2016-06-04 Thread Marek Belisko
From: "H. Nikolaus Schaller" Define RFID eeprom node which is present on gta04 device. Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dt

[PATCH 4/5] ARM: dta: omap3-gta04: Define and use hmc5843 irq pin

2016-05-17 Thread Marek Belisko
From: "H. Nikolaus Schaller" Define pinmux and usage if irq pin. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH 0/5] ARM: dts: omap3-gta04: Various updates

2016-05-17 Thread Marek Belisko
-gat04: Fix wifi handling Marek Belisko (1): ARM: dts: omap3-gta04: Add backlight support arch/arm/boot/dts/omap3-gta04.dtsi | 60 -- 1 file changed, 57 insertions(+), 3 deletions(-) -- 2.5.0

[PATCH 1/5] ARM: dts: omap3-gta04: Add backlight support

2016-05-17 Thread Marek Belisko
Define pwm backlight node which is using dmtimer pwm. Signed-off-by: Marek Belisko <ma...@goldelico.com> --- arch/arm/boot/dts/omap3-gta04.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta0

[PATCH 4/5] ARM: dta: omap3-gta04: Define and use hmc5843 irq pin

2016-05-17 Thread Marek Belisko
From: "H. Nikolaus Schaller" Define pinmux and usage if irq pin. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index

[PATCH 0/5] ARM: dts: omap3-gta04: Various updates

2016-05-17 Thread Marek Belisko
-gat04: Fix wifi handling Marek Belisko (1): ARM: dts: omap3-gta04: Add backlight support arch/arm/boot/dts/omap3-gta04.dtsi | 60 -- 1 file changed, 57 insertions(+), 3 deletions(-) -- 2.5.0

[PATCH 1/5] ARM: dts: omap3-gta04: Add backlight support

2016-05-17 Thread Marek Belisko
Define pwm backlight node which is using dmtimer pwm. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index ab9fb8f..cef8b23

[PATCH 3/5] ARM: dta: omap3-gta04: Define and use itg3200 irq pin

2016-05-17 Thread Marek Belisko
From: "H. Nikolaus Schaller" Define pinmux and usage if irq pin + fix irq edge. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

[PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin

2016-05-17 Thread Marek Belisko
From: "H. Nikolaus Schaller" Add pinmux and usage of bma180 irq pin. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH 3/5] ARM: dta: omap3-gta04: Define and use itg3200 irq pin

2016-05-17 Thread Marek Belisko
From: "H. Nikolaus Schaller" Define pinmux and usage if irq pin + fix irq edge. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin

2016-05-17 Thread Marek Belisko
From: "H. Nikolaus Schaller" Add pinmux and usage of bma180 irq pin. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index

[PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling

2016-05-17 Thread Marek Belisko
From: "H. Nikolaus Schaller" Without that change wifi card isn't probed because pwrseq is necessary for libertas chip. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 10 -- 1 file changed, 8 insertions(+), 2

[PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling

2016-05-17 Thread Marek Belisko
From: "H. Nikolaus Schaller" Without that change wifi card isn't probed because pwrseq is necessary for libertas chip. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[PATCH] ARM: dts: twl4030: Add iio properties for bci subnode

2015-10-13 Thread Marek Belisko
Added new iio properties which are required for twl4030-charger driver and allow to use twl4030-madc indirectly. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/twl4030.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi

[PATCH] ARM: dts: twl4030: Add iio properties for bci subnode

2015-10-13 Thread Marek Belisko
Added new iio properties which are required for twl4030-charger driver and allow to use twl4030-madc indirectly. Signed-off-by: Marek Belisko <ma...@goldelico.com> --- arch/arm/boot/dts/twl4030.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/ar

[PATCH v3] Documentation: DT: twl-charger: document new iio properties

2015-09-25 Thread Marek Belisko
Document added iio properties to avoid using direct function call from twl4030-madc driver. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/power/twl-charger.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/power/twl-charger.txt

[PATCH v3] ARM: dts: twl4030: Add iio properties for bci subnode

2015-09-25 Thread Marek Belisko
Added new iio properties which are required for twl4030-charger driver and allow to use twl4030-madc indirectly. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/twl4030.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi

[PATCH v3] drivers: power: twl4030_charger: fix link problems when building as module

2015-09-25 Thread Marek Belisko
If either twl4030_charger or twl4030_madc is configured as MODULE, we get build (link) errors. To solve, the direct call of twl4030_get_madc_conversion() is replaced by a call to iio_read_channel_processed(). Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- changes from v2

[PATCH v3] drivers: power: twl4030_charger: fix link problems when building as module

2015-09-25 Thread Marek Belisko
If either twl4030_charger or twl4030_madc is configured as MODULE, we get build (link) errors. To solve, the direct call of twl4030_get_madc_conversion() is replaced by a call to iio_read_channel_processed(). Signed-off-by: H. Nikolaus Schaller <h...@goldelico.com> Signed-off-by: Marek B

[PATCH v3] ARM: dts: twl4030: Add iio properties for bci subnode

2015-09-25 Thread Marek Belisko
Added new iio properties which are required for twl4030-charger driver and allow to use twl4030-madc indirectly. Signed-off-by: Marek Belisko <ma...@goldelico.com> --- arch/arm/boot/dts/twl4030.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/ar

[PATCH v3] Documentation: DT: twl-charger: document new iio properties

2015-09-25 Thread Marek Belisko
Document added iio properties to avoid using direct function call from twl4030-madc driver. Signed-off-by: Marek Belisko <ma...@goldelico.com> --- Documentation/devicetree/bindings/power/twl-charger.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bi

[PATCH v2 3/3] ARM: dts: twl4030: add iio properties for bci subnode

2015-09-22 Thread Marek Belisko
Added new iio properties which are required for twl4030-charger driver and allow to use twl4030-madc indirectly. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/twl4030.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi

[PATCH v2 1/3] drivers: power: twl4030_charger: fix link problems when building as module

2015-09-22 Thread Marek Belisko
If either twl4030_charger or twl4030_madc is configured as MODULE, we get build (link) errors. To solve, the direct call of twl4030_get_madc_conversion() is replaced by a call to iio_read_channel_processed(). Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- changes from V1

[PATCH v2 2/3] Documentation: DT: twl-charger: document new iio properties

2015-09-22 Thread Marek Belisko
Document added iio properties to avoid using direct funcion call from twl4030-madc driver. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/power/twl-charger.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/power/twl-charger.txt

[PATCH v2 3/3] ARM: dts: twl4030: add iio properties for bci subnode

2015-09-22 Thread Marek Belisko
Added new iio properties which are required for twl4030-charger driver and allow to use twl4030-madc indirectly. Signed-off-by: Marek Belisko <ma...@goldelico.com> --- arch/arm/boot/dts/twl4030.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/ar

[PATCH v2 1/3] drivers: power: twl4030_charger: fix link problems when building as module

2015-09-22 Thread Marek Belisko
If either twl4030_charger or twl4030_madc is configured as MODULE, we get build (link) errors. To solve, the direct call of twl4030_get_madc_conversion() is replaced by a call to iio_read_channel_processed(). Signed-off-by: H. Nikolaus Schaller <h...@goldelico.com> Signed-off-by: Marek B

[PATCH v2 2/3] Documentation: DT: twl-charger: document new iio properties

2015-09-22 Thread Marek Belisko
Document added iio properties to avoid using direct funcion call from twl4030-madc driver. Signed-off-by: Marek Belisko <ma...@goldelico.com> --- Documentation/devicetree/bindings/power/twl-charger.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bi

[PATCH] input: twl4030-vibra: Fix ERROR: Bad of_node_put() warning

2015-07-23 Thread Marek Belisko
/input/input2 node passed to of_find_node_by_name is put inside that function and new node is returned if found. Free returned node not already freed node. Signed-off-by: Marek Belisko --- drivers/input/misc/twl4030-vibra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] input: twl4030-vibra: Fix ERROR: Bad of_node_put() warning

2015-07-23 Thread Marek Belisko
inside that function and new node is returned if found. Free returned node not already freed node. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/input/misc/twl4030-vibra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/misc/twl4030-vibra.c b/drivers

[PATCH RFC v2 2/3] tty: serial_core: Add hooks for uart slave drivers

2015-06-28 Thread Marek Belisko
From: "H. Nikolaus Schaller" 1. allow drivers to get notified in mctrl changes 2. allow drivers to get notified on rx data (indicating to the driver that the connected chip is active) Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- drivers/tty/serial/ser

[PATCH RFC v2 3/3] misc: Add w2g0004 gps receiver driver

2015-06-28 Thread Marek Belisko
From: "H. Nikolaus Schaller" Add driver for Wi2Wi w2g004 GPS module connected through uart. Use uart slave + notification hooks to glue with tty. Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- .../devicetree/bindings/misc/wi2wi,w2sg0004.txt| 18 + dr

[PATCH RFC v2 1/3] tty: serial core: provide method to search uart by phandle

2015-06-28 Thread Marek Belisko
From: "H. Nikolaus Schaller" 1. add registered uart_ports to a search list 2. provide a function to search an uart_port by phandle. This copies the mechanism how devm_usb_get_phy_by_phandle() works Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- Documentat

[PATCH RFC v2 0/3] UART slave device support

2015-06-28 Thread Marek Belisko
Post RFC V2 (test on 4.1) as it seems that V1 wasn't sent properly. Hi all, this patch series is our proposal to add hooks so that the driver for a device connected to an UART can monitor modem control lines and data activity of the connected chip. It contains an example for such a device

[PATCH RFC v2 1/3] tty: serial core: provide method to search uart by phandle

2015-06-28 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com 1. add registered uart_ports to a search list 2. provide a function to search an uart_port by phandle. This copies the mechanism how devm_usb_get_phy_by_phandle() works Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek

[PATCH RFC v2 2/3] tty: serial_core: Add hooks for uart slave drivers

2015-06-28 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com 1. allow drivers to get notified in mctrl changes 2. allow drivers to get notified on rx data (indicating to the driver that the connected chip is active) Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma

[PATCH RFC v2 3/3] misc: Add w2g0004 gps receiver driver

2015-06-28 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Add driver for Wi2Wi w2g004 GPS module connected through uart. Use uart slave + notification hooks to glue with tty. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- .../devicetree/bindings

[PATCH RFC v2 0/3] UART slave device support

2015-06-28 Thread Marek Belisko
Post RFC V2 (test on 4.1) as it seems that V1 wasn't sent properly. Hi all, this patch series is our proposal to add hooks so that the driver for a device connected to an UART can monitor modem control lines and data activity of the connected chip. It contains an example for such a device

[PATCH 2/2] iio: adc: twl4030_madc: Fix description of twl4030_madc_set_current_generator()

2015-05-28 Thread Marek Belisko
From: "H. Nikolaus Schaller" The @chan parameter can be 0 or 1 and not a bit mask. Fix wrong description. Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- drivers/iio/adc/twl4030-madc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/d

[PATCH 1/2] iio: adc: twl4030_madc: Fix calculation of the temperature sense current

2015-05-28 Thread Marek Belisko
. Nikolaus Schaller Signed-off-by: Marek Belisko --- drivers/iio/adc/twl4030-madc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c index 94c5f05..6d2d429 100644 --- a/drivers/iio/adc/twl4030-madc.c +++ b/drive

[PATCH 1/2] iio: adc: twl4030_madc: Fix calculation of the temperature sense current

2015-05-28 Thread Marek Belisko
-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/iio/adc/twl4030-madc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c index 94c5f05..6d2d429 100644

[PATCH 2/2] iio: adc: twl4030_madc: Fix description of twl4030_madc_set_current_generator()

2015-05-28 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com The @chan parameter can be 0 or 1 and not a bit mask. Fix wrong description. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/iio/adc/twl4030-madc.c | 6 ++ 1 file changed, 2

[PATCH v2] ASoC: bt-sco: Add devicetree support for bt-sco codec

2015-05-08 Thread Marek Belisko
Add devicetree support for bluetooth SCO link codec. Signed-off-by: Marek Belisko --- changes from v1: - removed "linux,bt-sco" compatible property + update documentation Documentation/devicetree/bindings/sound/bt-sco.txt| 13 + Documentation/devicetree/bindi

[PATCH v2] ASoC: bt-sco: Add devicetree support for bt-sco codec

2015-05-08 Thread Marek Belisko
Add devicetree support for bluetooth SCO link codec. Signed-off-by: Marek Belisko ma...@goldelico.com --- changes from v1: - removed linux,bt-sco compatible property + update documentation Documentation/devicetree/bindings/sound/bt-sco.txt| 13 + Documentation/devicetree

[PATCH] ARM: dts: omap3-gta04: Add GSM audio support

2015-05-07 Thread Marek Belisko
Add voice audio card which is used for telephony on gta04 board. gtm601 codec is UMTS modem with pcm interface which get samples from microphone and provide data from other party side. Use simple audio card to describe audio card. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04

[PATCH] of: Add vendor prefix for Option

2015-05-07 Thread Marek Belisko
Add option to vendor-prefixes file which will be used for Option NV company. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation

[PATCH] ASoC: gtm601: Document GTM601 bindings

2015-05-07 Thread Marek Belisko
Add small documentation for GTM601 UMTS modem audio interface. Signed-off-by: Marek Belisko --- This one was corrupted in V2 series so sending update only. Documentation/devicetree/bindings/sound/gtm601.txt | 13 + 1 file changed, 13 insertions(+) create mode 100644 Documentation

[PATCH] ASoC: gtm601: Document GTM601 bindings

2015-05-07 Thread Marek Belisko
Add small documentation for GTM601 UMTS modem audio interface. Signed-off-by: Marek Belisko ma...@goldelico.com --- This one was corrupted in V2 series so sending update only. Documentation/devicetree/bindings/sound/gtm601.txt | 13 + 1 file changed, 13 insertions(+) create mode

[PATCH] of: Add vendor prefix for Option

2015-05-07 Thread Marek Belisko
Add option to vendor-prefixes file which will be used for Option NV company. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b

[PATCH] ARM: dts: omap3-gta04: Add GSM audio support

2015-05-07 Thread Marek Belisko
Add voice audio card which is used for telephony on gta04 board. gtm601 codec is UMTS modem with pcm interface which get samples from microphone and provide data from other party side. Use simple audio card to describe audio card. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm

[PATCH v2 1/4] ASoC: Add gtm601 codec driver

2015-05-06 Thread Marek Belisko
This driver add PCM interface to a GTM601 UMTS modem chip. There is no configuration interface. Signed-off-by: Marek Belisko --- sound/soc/codecs/Kconfig | 4 ++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/gtm601.c | 98 +++ 3 files changed

[PATCH v2 3/4] Documentation: vendor-prefixes: Add option prefix

2015-05-06 Thread Marek Belisko
Add option to vendor-prefixes file which will be used for Option NV company. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation

[PATCH v2 0/4] ASoC: Add gtm601 simple codec

2015-05-06 Thread Marek Belisko
Marek Belisko (4): ASoC: Add gtm601 codec driver Documentation: devicetree: sound: Add documentation for gtm601 codec Documentation: vendor-prefixes: Add option prefix ARM: dts: omap3-gta04: Add GSM audio support Documentation/devicetree/bindings/sound/gtm601.txt | 14 .../devicetree

[PATCH v2 2/4] Documentation: devicetree: sound: Add documentation for gtm601 codec

2015-05-06 Thread Marek Belisko
Add small documentation for gtm601 UMTS modem audio interface. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/sound/gtm601.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/gtm601.txt diff --git

[PATCH v2 4/4] ARM: dts: omap3-gta04: Add GSM audio support

2015-05-06 Thread Marek Belisko
Add voice audio card which is used for telephony on gta04 board. gtm601 codec is UMTS modem with pcm interface which get samples from microphone and provide data from other party side. Used simple audio card to describe audio card. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04

[PATCH v2 1/4] ASoC: Add gtm601 codec driver

2015-05-06 Thread Marek Belisko
This driver add PCM interface to a GTM601 UMTS modem chip. There is no configuration interface. Signed-off-by: Marek Belisko ma...@goldelico.com --- sound/soc/codecs/Kconfig | 4 ++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/gtm601.c | 98

[PATCH v2 2/4] Documentation: devicetree: sound: Add documentation for gtm601 codec

2015-05-06 Thread Marek Belisko
Add small documentation for gtm601 UMTS modem audio interface. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/sound/gtm601.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/gtm601.txt

[PATCH v2 3/4] Documentation: vendor-prefixes: Add option prefix

2015-05-06 Thread Marek Belisko
Add option to vendor-prefixes file which will be used for Option NV company. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b

[PATCH v2 0/4] ASoC: Add gtm601 simple codec

2015-05-06 Thread Marek Belisko
Marek Belisko (4): ASoC: Add gtm601 codec driver Documentation: devicetree: sound: Add documentation for gtm601 codec Documentation: vendor-prefixes: Add option prefix ARM: dts: omap3-gta04: Add GSM audio support Documentation/devicetree/bindings/sound/gtm601.txt | 14 .../devicetree

[PATCH v2 4/4] ARM: dts: omap3-gta04: Add GSM audio support

2015-05-06 Thread Marek Belisko
Add voice audio card which is used for telephony on gta04 board. gtm601 codec is UMTS modem with pcm interface which get samples from microphone and provide data from other party side. Used simple audio card to describe audio card. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm

[PATCH] ASoC: bt-sco: Add devicetree support for bt-sco codec

2015-05-05 Thread Marek Belisko
Add devicetree support for bt-sco generic bluetooth SCO link codec. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/sound/bt-sco.txt| 13 + Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + sound/soc/codecs/bt-sco.c

[PATCH] ASoC: bt-sco: Add devicetree support for bt-sco codec

2015-05-05 Thread Marek Belisko
Add devicetree support for bt-sco generic bluetooth SCO link codec. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/sound/bt-sco.txt| 13 + Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + sound/soc/codecs/bt-sco.c

[PATCH 2/3] Documentation: devicetree: sound: Add documentation for gtm601 codec

2015-04-30 Thread Marek Belisko
Add small documentation for gtm601 UMTS modem audio interface. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/sound/gtm601.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/gtm601.txt diff --git

[PATCH 1/3] ASoC: Add gtm601 codec driver

2015-04-30 Thread Marek Belisko
This driver add PCM interface to a GTM601 UMTS modem chip. There is no configuration interface. Signed-off-by: Marek Belisko --- sound/soc/codecs/Kconfig | 4 ++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/gtm601.c | 106 ++ 3 files changed

[PATCH 3/3] Documentation: vendor-prefixes: Add option prefix

2015-04-30 Thread Marek Belisko
Add option to vendor-prefixes file which will be used for Option NV company. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation

[PATCH 0/3] ASoC: Add gtm601 simple codec

2015-04-30 Thread Marek Belisko
Following patch series add support for gtm601 PCM audio. gtm601 is UMTS modem which provide I2S interface for rx/tx data. Codec is connected to cpu in master mode (rate is determined by Master and Bit clocks). Marek Belisko (3): ASoC: Add gtm601 codec driver Documentation: devicetree: sound

[PATCH] power: bq27x00_battery: Add missing MODULE_ALIAS

2015-04-30 Thread Marek Belisko
Without MODULE_ALIAS bq27x00_battery module won't get loaded automatically. Signed-off-by: Marek Belisko --- drivers/power/bq27x00_battery.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index a57433d..b6b9837

[PATCH] power: bq27x00_battery: Add missing MODULE_ALIAS

2015-04-30 Thread Marek Belisko
Without MODULE_ALIAS bq27x00_battery module won't get loaded automatically. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/bq27x00_battery.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index

[PATCH 0/3] ASoC: Add gtm601 simple codec

2015-04-30 Thread Marek Belisko
Following patch series add support for gtm601 PCM audio. gtm601 is UMTS modem which provide I2S interface for rx/tx data. Codec is connected to cpu in master mode (rate is determined by Master and Bit clocks). Marek Belisko (3): ASoC: Add gtm601 codec driver Documentation: devicetree: sound

[PATCH 3/3] Documentation: vendor-prefixes: Add option prefix

2015-04-30 Thread Marek Belisko
Add option to vendor-prefixes file which will be used for Option NV company. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b

[PATCH 1/3] ASoC: Add gtm601 codec driver

2015-04-30 Thread Marek Belisko
This driver add PCM interface to a GTM601 UMTS modem chip. There is no configuration interface. Signed-off-by: Marek Belisko ma...@goldelico.com --- sound/soc/codecs/Kconfig | 4 ++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/gtm601.c | 106

[PATCH 2/3] Documentation: devicetree: sound: Add documentation for gtm601 codec

2015-04-30 Thread Marek Belisko
Add small documentation for gtm601 UMTS modem audio interface. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/sound/gtm601.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/gtm601.txt

[PATCH] ARM: dts: omap3-gta04: Add hdqw1 support

2015-04-28 Thread Marek Belisko
Enable omap-hdq for battery fuel gauge access. Signed-off-by: Marek Belisko Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index

[PATCH] w1: slaves: Add dependency for W1_SLAVE_BQ27000

2015-04-28 Thread Marek Belisko
bq2700 slave driver depends on bq27x00-battery driver thus adding this dependency to config. When bq2700 is build as module bq27x00-battery will be loaded automatically. Signed-off-by: Marek Belisko --- drivers/w1/slaves/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/w1

[PATCH] power: bq27x00_battery: Add missing MODULE_ALIAS

2015-04-28 Thread Marek Belisko
Without MODULE_ALIAS bq27x00_battery module won't get loaded automatically. Signed-off-by: Marek Belisko --- drivers/power/bq27x00_battery.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index a57433d..542927e 100644

[PATCH] ARM: dts: omap3-gta04: Add hdqw1 support

2015-04-28 Thread Marek Belisko
Enable omap-hdq for battery fuel gauge access. Signed-off-by: Marek Belisko ma...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b

[PATCH] w1: slaves: Add dependency for W1_SLAVE_BQ27000

2015-04-28 Thread Marek Belisko
bq2700 slave driver depends on bq27x00-battery driver thus adding this dependency to config. When bq2700 is build as module bq27x00-battery will be loaded automatically. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/w1/slaves/Kconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH] power: bq27x00_battery: Add missing MODULE_ALIAS

2015-04-28 Thread Marek Belisko
Without MODULE_ALIAS bq27x00_battery module won't get loaded automatically. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/bq27x00_battery.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index

[PATCH v2] Documentation usb serial: fixed how to provide vendor and product id

2015-04-20 Thread Marek Belisko
as module). Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- - fixed 2 sentences suggested by Johan Hovold Documentation/usb/usb-serial.txt | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Documentation/usb/usb-serial.txt b/Documentation/u

[PATCH v2] Documentation usb serial: fixed how to provide vendor and product id

2015-04-20 Thread Marek Belisko
). Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- - fixed 2 sentences suggested by Johan Hovold Documentation/usb/usb-serial.txt | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Documentation/usb/usb

[PATCH v2] Documentation usb serial: fixed how to provide vendor and product id

2015-04-13 Thread Marek Belisko
as module). Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- changes from v1: - add modern variant with /sys as preferred but also old one works so keep it in documentation (was removed in first version which was not correct) Documentation/usb/usb-serial.txt | 11 +++

[PATCH v2] Documentation usb serial: fixed how to provide vendor and product id

2015-04-13 Thread Marek Belisko
). Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- changes from v1: - add modern variant with /sys as preferred but also old one works so keep it in documentation (was removed in first version which was not correct) Documentation/usb/usb

[PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-28 Thread Marek Belisko
usbserial vendor=0x product=0x becomes (first is vendor, second is product) modprobe usbserial echo >/sys/bus/usb-serial/drivers/generic/new_id This patch changes the documentation file as needed. Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko ---

[PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-28 Thread Marek Belisko
vendor=0x product=0x becomes (first is vendor, second is product) modprobe usbserial echo /sys/bus/usb-serial/drivers/generic/new_id This patch changes the documentation file as needed. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek

[PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-25 Thread Marek Belisko
From: "H. Nikolaus Schaller" While trying to test the Pyra GSM/GPS/3G module I had reconfigured the USB interface by mistake and therefore needed to run a different USB driver than CSC-ACM. It turned out that I need the "usbserial" driver. This file is an official description how to use it:

[PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-25 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com While trying to test the Pyra GSM/GPS/3G module I had reconfigured the USB interface by mistake and therefore needed to run a different USB driver than CSC-ACM. It turned out that I need the usbserial driver. This file is an official description how

[PATCH v2 2/2] Documentation: omap-twl4030: Move ti,codec property to optional

2015-03-13 Thread Marek Belisko
ti,codec property is not used in omap-twl4030 driver in linux kernel but we keep it as optional property, so that the existing dtbs do not become noncompliant after the change on other OS. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/sound/omap-twl4030.txt | 3 +-- 1 file

[PATCH v2 0/2] ARM: devicetree: Remove unused ti,codec property

2015-03-13 Thread Marek Belisko
] from Peter Ujfalusi. Changes from v1: - keep ti,codec property in Documentation as optional that the existing dtbs do not become noncompliant after the change [1]: http://comments.gmane.org/gmane.linux.ports.arm.omap/124273 Marek Belisko (2): ARM: dts: omap3: Remove all references to ti,codec

  1   2   3   4   5   6   >