[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] 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 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

[PATCH v2 1/2] ARM: dts: omap3: Remove all references to ti,codec property

2015-03-13 Thread Marek Belisko
ti,codec property is not used (parsed) in omap-twl4030 driver. The ti,twl4030-audio which ti,codec points by phandle is mfd driver and device for ASoC codec is created w/o DT compatible string. Removing all references in DT files. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm

[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 ma...@goldelico.com --- Documentation/devicetree/bindings/sound/omap-twl4030

[PATCH 1/2] ARM: dts: omap3: Remove all references to ti,codec property

2015-03-12 Thread Marek Belisko
ti,codec property is not used (parsed) in omap-twl4030 driver. The ti,twl4030-audio which ti,codec points by phandle is mfd driver and device for ASoC codec is created w/o DT compatible string. Removing all references in DT files. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm

[PATCH 2/2] Documentation: omap-twl4030: Remove ti,codec property

2015-03-12 Thread Marek Belisko
ti,codec property is not necessary anymore thus removing references from documentation. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/sound/omap-twl4030.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/omap

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

2015-03-12 Thread Marek Belisko
] from Peter Ujfalusi. [1]: http://comments.gmane.org/gmane.linux.ports.arm.omap/124273 Marek Belisko (2): ARM: dts: omap3: Remove all references to ti,codec property Documentation: omap-twl4030: Remove ti,codec property Documentation/devicetree/bindings/sound/omap-twl4030.txt | 2 -- arch

[PATCH v4 6/6] power: twl4030_madc_battery: Add missing MODULE_ALIAS

2015-03-10 Thread Marek Belisko
Without MODULE_ALIAS twl4030_madc_battery won't get loaded automatically. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/twl4030_madc_battery.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/twl4030_madc_battery.c b/drivers/power/twl4030_madc_battery.c

[PATCH v4 5/6] power: twl4030_madc_battery: Add of_twl4030_madc_match to MODULE_DEVICE_TABLE

2015-03-10 Thread Marek Belisko
When twl_4030_madc_battery is build as module, MODULE_DEVICE_TABLE allow the module to be auto-loaded since the module will match the devices instantiated from device tree. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/twl4030_madc_battery.c | 2 ++ 1 file changed, 2

[PATCH v4 2/6] power: twl4030_madc_battery: Add device tree support

2015-03-10 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/twl4030_madc_battery.c | 81 1 file changed, 81 insertions(+) diff --git a/drivers/power/twl4030_madc_battery.c b/drivers/power/twl4030_madc_battery.c index 6af28b5..4bcb4a9 100644

[PATCH v4 1/6] power: twl4030-madc-battery: Convert to iio consumer.

2015-03-10 Thread Marek Belisko
Because of added iio error handling private data allocation was converted to managed to simplify code. Signed-off-by: Marek Belisko ma...@goldelico.com Reviewed-By: Sebastian Reichel s...@debian.org --- drivers/power/twl4030_madc_battery.c | 99 +++- 1 file

[PATCH v4 3/6] Documentation: DT: Document twl4030-madc-battery bindings

2015-03-10 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../bindings/power_supply/twl4030_madc_battery.txt | 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/power_supply/twl4030_madc_battery.txt diff --git a/Documentation

[PATCH v4 4/6] ARM: dts: omap3-gta04: Add battery support

2015-03-10 Thread Marek Belisko
Added battery support for gta04 devices. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index

[PATCH v4 0/6] Convert twl4030_madc_battery to IIO consumer and add DT aupport

2015-03-10 Thread Marek Belisko
as part of adding error handling for iio - free iio channels on error and on module removal [1] - https://lkml.org/lkml/2014/2/26/482dd Marek Belisko (6): power: twl4030-madc-battery: Convert to iio consumer. power: twl4030_madc_battery: Add device tree support Documentation: DT: Document

[PATCH v3 3/3] ARM: dts: omap3-pandora: add DM3730 1 GHz version

2015-02-27 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Added Pandora 1 GHz model which is based on Classic/Rebirth with following changes: - upgraded cpu to dm3730 runs on 1GHz - 512 MiB DDR-333 SDRAM @ 200 MHz Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Tested-by: Grazvydas Ignotas

[PATCH v3 1/3] ARM: dts: omap3-pandora: add common device tree

2015-02-27 Thread Marek Belisko
of two CPU specific device trees. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com Tested-by: Grazvydas Ignotas nota...@gmail.com Reviewed-by: Grazvydas Ignotas nota...@gmail.com --- arch/arm/boot/dts/omap3-pandora-common.dtsi | 640

[PATCH v3 2/3] ARM: dts: omap3-pandora: add OMAP3530 600 MHz version

2015-02-27 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Added Pandora Rebirth model which is based on Pandora Classic with 512 MiB DDR-333 SDRAM memory. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Tested-by: Grazvydas Ignotas nota...@gmail.com Reviewed-by: Grazvydas Ignotas nota...@gmail.com

[PATCH v3 0/3] ARM: dts: add openpandora device support

2015-02-27 Thread Marek Belisko
changes from v2: - fix missing PIN_INPUT for penirq node - added Reviewed-by and Tested-by changes from v1: - add new boards to makefile in patch 2,3 (don't add them in separate commit together), fix gpmc issues (reported by Tony Lindgren) - fix various issues reported by Grazvydas Ignotas (drop

[PATCH v2 1/3] ARM: dts: omap3-pandora: add common device tree

2015-02-20 Thread Marek Belisko
of two CPU specific device trees. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-pandora-common.dtsi | 640 1 file changed, 640 insertions(+) create mode 100644 arch/arm/boot/dts/omap3

[PATCH v2 2/3] ARM: dts: omap3-pandora: add OMAP3530 600 MHz version

2015-02-17 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Added Pandora Rebirth model which is based on Pandora Classic with 512 MiB DDR-333 SDRAM memory. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-pandora-600mhz.dts

[PATCH v2 1/3] ARM: dts: omap3-pandora: add common device tree

2015-02-17 Thread Marek Belisko
of two CPU specific device trees. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-pandora-common.dtsi | 640 1 file changed, 640 insertions(+) create mode 100644 arch/arm/boot/dts/omap3

[PATCH v2 3/3] ARM: dts: omap3-pandora: add DM3730 1 GHz version

2015-02-17 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Added Pandora 1 GHz model which is based on Classic/Rebirth with following changes: - upgraded cpu to dm3730 runs on 1GHz - 512 MiB DDR-333 SDRAM @ 200 MHz Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/Makefile

[PATCH v2 0/3] ARM: dts: add openpandora device support

2015-02-17 Thread Marek Belisko
changes from v1: - add new boards to makefile in patch 2,3 (don't add them in separate commit together), fix gpmc issues (reported by Tony Lindgren) - fix various issues reported by Grazvydas Ignotas (drop internal pullups from pinmux as external are in place, fix gpio buttons active state ...)

[PATCH 0/4] add openpandora device support

2015-02-12 Thread Marek Belisko
This series of patches adds initial device tree support for the OpenPandora. The most important parts are working (display, keyboard, touch, charging, fuel gauge, musb port, sd/mmc ports, leds, buttons). Not yet supported are: usb host port, nubs, wifi, bluetooth, audio. First patch add common

[PATCH 3/4] ARM: dts: omap3-pandora: add DM3730 1 GHz version

2015-02-12 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/omap3-pandora-1ghz.dts | 65 1 file changed, 65 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-pandora-1ghz.dts diff --git

[PATCH 4/4] ARM: dts: omap3-pandora: include in dts Makefile

2015-02-12 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 91bd5bd..69f3106 100644 ---

[PATCH 1/4] ARM: dts: omap3-pandora: add common device tree

2015-02-12 Thread Marek Belisko
of two CPU specific device trees. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-pandora-common.dtsi | 641 1 file changed, 641 insertions(+) create mode 100644 arch/arm/boot/dts/omap3

[PATCH 2/4] ARM: dts: omap3-pandora: add OMAP3530 600 MHz version

2015-02-12 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/omap3-pandora-600mhz.dts | 65 ++ 1 file changed, 65 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-pandora-600mhz.dts diff --git

[PATCH v3 6/6] power: twl4030_madc_battery: Add missing MODULE_ALIAS

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

[PATCH v3 1/6] power: twl4030-madc-battery: Convert to iio consumer.

2015-02-04 Thread Marek Belisko
Because of added iio error handling private data allocation was converted to managed to simplify code. Signed-off-by: Marek Belisko ma...@goldelico.com Reviewed-By: Sebastian Reichel s...@debian.org --- drivers/power/twl4030_madc_battery.c | 99 +++- 1 file

[PATCH v3 4/6] ARM: dts: omap3-gta04: Add battery support

2015-02-04 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 655d6e9..f81ca27 100644 --- a/arch/arm/boot

[PATCH v3 2/6] power: twl4030_madc_battery: Add device tree support

2015-02-04 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/twl4030_madc_battery.c | 81 1 file changed, 81 insertions(+) diff --git a/drivers/power/twl4030_madc_battery.c b/drivers/power/twl4030_madc_battery.c index 6af28b5..ec14bc6 100644

[PATCH v3 5/6] power: twl4030_madc_battery: Add of_twl4030_madc_match to MODULE_DEVICE_TABLE

2015-02-04 Thread Marek Belisko
When twl_4030_madc_battery is build as module, MODULE_DEVICE_TABLE allow the module to be auto-loaded since the module will match the devices instantiated from device tree. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/twl4030_madc_battery.c | 2 ++ 1 file changed, 2

[PATCH v3 3/6] Documentation: DT: Document twl4030-madc-battery bindings

2015-02-04 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../bindings/power_supply/twl4030_madc_battery.txt | 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/power_supply/twl4030_madc_battery.txt diff --git a/Documentation

[PATCH v3 0/6] Convert twl4030_madc_battery to IIO consumer and add DT aupport

2015-02-04 Thread Marek Belisko
] - https://lkml.org/lkml/2014/2/26/482dd Marek Belisko (6): power: twl4030-madc-battery: Convert to iio consumer. power: twl4030_madc_battery: Add device tree support Documentation: DT: Document twl4030-madc-battery bindings ARM: dts: omap3-gta04: Add battery support power

[PATCH 00/13] ARM: dts: omap3-gta04: Various DT fixes

2015-01-22 Thread Marek Belisko
in devicetree file. ARM: dts: omap3-gta04: Fix audio node malformatting ARM: dts: omap3-gta04: Enable mcbps2 necessary for audio ARM: dts: omap3-gta04: Enable twl audio vibra support ARM: dts: omap3-gta04: Enable power-off using twl4030 Marek Belisko (2): ARM: dts: omap3-gta04: Fix

[PATCH 06/13] ARM: dts: omap3-gta04: Enable power-off using twl4030

2015-01-22 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Enabled poweroff through PMIC on GTA04. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH 11/13] ARM: dts: omap3-gta04: only power DSS when necessary.

2015-01-22 Thread Marek Belisko
From: NeilBrown n...@brown.name i.e. configure vpll2 as a supply for the dss rather than being always-on. Signed-off-by: NeilBrown n...@brown.name --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH 10/13] ARM: dts: omap3-gta04: add gyroscope

2015-01-22 Thread Marek Belisko
From: NeilBrown n...@brown.name Signed-off-by: NeilBrown n...@brown.name --- 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 ab5dd98..08f0b25 100644 ---

[PATCH 13/13] ARM: dts: omap3-gta04: Disable keypad

2015-01-22 Thread Marek Belisko
From: NeilBrown n...@brown.name The twl4030 keypad is not wired up in the gta04, so mark it disabled to avoid pointless initialization. Signed-off-by: NeilBrown n...@brown.name --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 04/13] ARM: dts: omap3-gta04: Enable twl audio vibra support

2015-01-22 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 7272591..fd6ac80 100644

[PATCH 08/13] ARM: dts: omap3-gta04: add comments about gpios

2015-01-22 Thread Marek Belisko
From: NeilBrown n...@brown.name Add comments to state which GPIO is used for some interrupts. Signed-off-by: NeilBrown n...@brown.name --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH 02/13] ARM: dts: omap3-gta04: Fix audio node malformatting

2015-01-22 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Audio should be child of twl node. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH 09/13] ARM: dts: omap3-gta04: enable power-off for wifi card.

2015-01-22 Thread Marek Belisko
From: NeilBrown n...@brown.name Signed-off-by: NeilBrown n...@brown.name --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index b65b5ed..ab5dd98 100644 ---

[PATCH 01/13] ARM: dts: omap3-gta04: Fix backup-battery charging in devicetree file.

2015-01-22 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Fix attribute names. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH 05/13] ARM: dts: omap3-gta04: Fix a GPIO line for bma180 node

2015-01-22 Thread Marek Belisko
GPIO_115 used as irq is in gpio4, not gpio3. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index fd6ac80..0265474

[PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it disabled

2015-01-22 Thread Marek Belisko
From: NeilBrown n...@brown.name Signed-off-by: NeilBrown n...@brown.name --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 228e79b..8d2b0a1 100644 ---

[PATCH 07/13] ARM: dts: omap3-gta04: Add ramp value for twl4030 audio

2015-01-22 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index b56c85b..6f5fcbb 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch

[PATCH 03/13] ARM: dts: omap3-gta04: Enable mcbps2 necessary for audio

2015-01-22 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com mcbsp2 is used in gta04 soundcard config and by default is disabled so enable it for gta04. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v4 0/3] omapdss: Add video output support for gta04

2014-12-03 Thread Marek Belisko
devconf1 handling patches because discussion how to properly implement is not yet finished and this part is independent from video driver. changes from v1: - fix opa362 compilation error - fix opa362 DT documentation - move devconf1 definition to omap3.dtsi Marek Belisko (3): video: omapdss: Add

[PATCH v4 3/3] arm: dts: omap3-gta04: Add handling for tv output

2014-12-03 Thread Marek Belisko
Add handling for gta04 tv out chain: venc - opa362 - svideo Use invert-polarity in venc node because opa362 is doing polarity inversion also. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 49 ++ 1 file changed, 49

[PATCH v4 1/3] video: omapdss: Add opa362 driver

2014-12-03 Thread Marek Belisko
opa362 is amplifier for video and can be connected to the tvout pads of the OMAP3. It has one gpio control for enable/disable of the output (high impedance). Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/video/fbdev/omap2

[PATCH v4 2/3] Documentation: DT: Add documentation for ti,opa362 bindings

2014-12-03 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../devicetree/bindings/video/ti,opa362.txt| 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/ti,opa362.txt diff --git a/Documentation/devicetree/bindings/video/ti

[PATCH v3 2/3] Documentation: DT: Add documentation for ti,opa362 bindings

2014-11-30 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../devicetree/bindings/video/ti,opa362.txt| 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/ti,opa362.txt diff --git a/Documentation/devicetree/bindings/video/ti

[PATCH v3 3/3] arm: dts: omap3-gta04: Add handling for tv output

2014-11-30 Thread Marek Belisko
Add handling for gta04 tv out chain: venc - opa362 - svideo Use invert-polarity in venc node because opa362 is doing polarity inversion also. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 49 ++ 1 file changed, 49

[PATCH v3 1/3] video: omapdss: Add opa362 driver

2014-11-30 Thread Marek Belisko
opa362 is amplifier for video and can be connected to the tvout pads of the OMAP3. It has one gpio control for enable/disable of the output (high impedance). Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/video/fbdev/omap2

[PATCH v3 0/3] omapdss: Add video output support for gta04

2014-11-30 Thread Marek Belisko
. changes from v1: - fix opa362 compilation error - fix opa362 DT documentation - move devconf1 definition to omap3.dtsi Marek Belisko (3): video: omapdss: Add opa362 driver Documentation: DT: Add documentation for ti,opa362 bindings arm: dts: omap3-gta04: Add handling for tv output .../devicetree

[PATCH v2 4/5] arm: dts: omap3: Add definition for devconf1 register

2014-11-12 Thread Marek Belisko
This patch expose DEVCONF1 register via pincrtl-single. Because reserved bits are different for omap34xx and omap36xx functional-mask is defined in omap3 variant dtsi files. Bit MPUFORCEWRNP is leaved out. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3.dtsi| 13

[PATCH v2 5/5] arm: dts: omap3-gta04: Add static configuration for devconf1 register

2014-11-12 Thread Marek Belisko
gta04 board need for tvout enabled 2 bits in devconf1 register (tvbypass and acbias). Add pinctrl single entry and enable it. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot

[PATCH v2 1/5] video: omapdss: Add opa362 driver

2014-11-12 Thread Marek Belisko
opa362 is amplifier for video and can be connected to the tvout pads of the OMAP3. It has one gpio control for enable/disable of the output (high impedance). Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- drivers/video/fbdev/omap2/displays-new/Kconfig | 6 +

[PATCH v2 0/5] omapdss: Add video output support for gta04 board

2014-11-12 Thread Marek Belisko
opa362 compilation error - fix opa362 DT documentation - move devconf1 definition to omap3.dtsi Marek Belisko (5): video: omapdss: Add opa362 driver Documentation: DT: Add documentation for ti,opa362 bindings arm: dts: omap3-gta04: Add handling for tv output arm: dts: omap3: Add definition

[PATCH v2 2/5] Documentation: DT: Add documentation for ti,opa362 bindings

2014-11-12 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../devicetree/bindings/video/ti,opa362.txt| 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/ti,opa362.txt diff --git a/Documentation/devicetree/bindings/video/ti

[PATCH v2 3/5] arm: dts: omap3-gta04: Add handling for tv output

2014-11-12 Thread Marek Belisko
Add handling for gta04 tv out chain: venc - opa362 - svideo Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 48 ++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts

[PATCH 2/4] Documentation: DT: Add documentation for ti,opa362 bindings

2014-11-03 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../devicetree/bindings/video/ti,opa362.txt| 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/ti,opa362.txt diff --git a/Documentation/devicetree/bindings/video/ti

[PATCH 0/4] omapdss: Add video output support for gta04 board

2014-11-03 Thread Marek Belisko
This patch series add support for video output on gta04 board. It consist from opa362 video amplifier driver + DT bindings, adding venc - opa362 - svideo-connecor setup in DT and finally static setup for tvbypass anc acbias bin in devconf1 register via pinctrl subsystem. Marek Belisko (4

[PATCH 1/4] video: omapdss: Add opa362 driver

2014-11-03 Thread Marek Belisko
opa362 is amplifier for videoand can be connected to the tvout pads of the OMAP3. It has one gpio control for enable/disable of the output (high impedance). Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- drivers/video/fbdev/omap2/displays-new/Kconfig | 6 +

[PATCH 4/4] arm: dts: omap3-gta04: Add static configuration for devconf1 register

2014-11-03 Thread Marek Belisko
gta04 board need for tvout enabled 2 bits in devconf1 register (tvbypass and acbias). Add single pinmux entry and enable it. 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

[PATCH 3/4] arm: dts: omap3-gta04: Add handling for tv output

2014-11-03 Thread Marek Belisko
Add handling for gta04 tv out chain: venc - opa362 - svideo Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 48 ++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts

[PATCH] omap: dss: connector-analog-tv: Add missing module device table

2014-10-27 Thread Marek Belisko
Without that fix connector-analog-tv driver isn't probed when compiled as module. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH] ARM: dts: omap3-gta04: Use omap specific pinctrl defines

2014-10-17 Thread Marek Belisko
Use omap specific pinctrl defines (OMAP3_CORE1_IOPAD) to configure the padconf register offset. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 82 +++--- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git

[PATCH 0/3] input: tsc2007: Extend for pre-calibration, flipping and rotation

2014-09-30 Thread Marek Belisko
Following series add support to tsc2007 touchscreen driver for pre-calibration, flipping and rotation. Added bindings are documented and used in gta04 device tree. Marek Belisko (3): input: tsc2007: Add pre-calibration, flipping and rotation Documentation: dt: input: tsc2007: Document new

[PATCH 2/3] Documentation: dt: input: tsc2007: Document new parameters

2014-09-30 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../devicetree/bindings/input/touchscreen/tsc2007.txt | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt b/Documentation/devicetree/bindings

[PATCH 3/3] arm: dts: omap3-gta04: Extend touchscreen configs

2014-09-30 Thread Marek Belisko
Adding min/max values for various touschscreen properties. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index fd34f91

[PATCH 1/3] input: tsc2007: Add pre-calibration, flipping and rotation

2014-09-30 Thread Marek Belisko
This patch adds new parameters that allow to address typical hardware design differences: touch screens may be wired or oriented differently (portrait or landscape). And usually the active area of the touch is a little larger than the active area of the LCD. This results in the touch coordinates

[PATCH 0/3] arm: dts: omap3-gta04: Move common parts to include file and add models

2014-07-28 Thread Marek Belisko
This small patchset move omap3-gta04.dts to omap3-gta04.dtsi which then share common parts with a3,a4 and a5 models. Models a3 and a5 have only small additions to gta04a4 model. Marek Belisko (3): arm: dts: omap3-gta04: Rename gta04.dts to gta04.dtsi and add a4 model arm: dts: Add gta04a3

[PATCH 3/3] arm: dts: Add gta04a5 model

2014-07-28 Thread Marek Belisko
Add model a5 which have additional jack detection. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-gta04a5.dts | 17 + 2 files changed, 18 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-gta04a5

[PATCH 2/3] arm: dts: Add gta04a3 model

2014-07-28 Thread Marek Belisko
Add gta04a3 model with additional acceleromer. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-gta04a3.dts | 48 + 2 files changed, 49 insertions(+) create mode 100644 arch/arm/boot/dts

[PATCH 1/3] arm: dts: omap3-gta04: Rename gta04.dts to gta04.dtsi and add a4 model

2014-07-28 Thread Marek Belisko
This patch is preparation of adding more boards which have common moved to omap3-gta04.dtsi. Other boards have only small additions to omap3-gta04a4. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/Makefile | 2 +- arch/arm/boot/dts/{omap3

[PATCH v2 0/7] arm: dts: oma3-gta04: Various updates

2014-07-22 Thread Marek Belisko
Following patchset add various improvements to gta04 devicetree. Changes from v1: - added description to all patches Marek Belisko (7): arm: dts: omap3-gta04: Add nand support arm: dts: omap3-gta04: Fix magnetometer model arm: dts: omap3-gta04: Add wifi reset node arm: dts: omap3-gta04

[PATCH v2 7/7] arm: dts: omap3-gta04: Add twl4030 regulators parameters

2014-07-22 Thread Marek Belisko
Define voltages and properties for various twl4030 regulators used on gta04 board. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm

[PATCH v2 6/7] arm: dts: omap3-gta04: Add display alias

2014-07-22 Thread Marek Belisko
Define alias for lcd display present on gta04 board. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 370c08b..05fd4d2 100644

[PATCH v2 2/7] arm: dts: omap3-gta04: Fix magnetometer model

2014-07-22 Thread Marek Belisko
gta04 is using hmc5843l not hmc5843 so fix wrong compatible entry. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts

[PATCH v2 1/7] arm: dts: omap3-gta04: Add nand support

2014-07-22 Thread Marek Belisko
Add the needed sections to enable nand support on gta04 board. Add nand partitions information. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 54 +++ 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v2 4/7] arm: dts: omap3-gta04: Move spi gpio pins to pmx_core2

2014-07-22 Thread Marek Belisko
Because of commit: 3d495383648a7cda3ea51a1e2fa5d288581479aa spi_gpio_pins node isn't valid anymore. Move to pmx_core2 node. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch

[PATCH v2 5/7] arm: dts: omap3-gta04: Add USB host support

2014-07-22 Thread Marek Belisko
Define USB Host port mode and the PHY device. Also provide pin multiplexer information for USB host pins. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 45 +++ 1 file changed, 45 insertions(+) diff --git a/arch/arm

[PATCH v2 3/7] arm: dts: omap3-gta04: Add wifi reset node

2014-07-22 Thread Marek Belisko
Define gpio node in tca6507 which will be used as wifi reset pin. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index

[PATCH v2 2/7] arm: dts: omap3-gta04: Fix magnetometer model

2014-07-22 Thread Marek Belisko
gta04 is using hmc5883l not hmc5843 so fix wrong compatible entry. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts

[PATCH 6/7] arm: dts: omap3-gta04: Add display alias

2014-07-21 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 370c08b..05fd4d2 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++ b/arch

[PATCH 7/7] arm: dts: omap3-gta04: Add twl4030 regulators parameters

2014-07-21 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 05fd4d2..e39ede2 100644 --- a/arch/arm/boot/dts/omap3

[PATCH 4/7] arm: dts: omap3-gta04: Move spi gpio pins to pmx_core2

2014-07-21 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 5b08d93..4ca1277 100644 --- a/arch/arm/boot/dts/omap3

[PATCH 3/7] arm: dts: omap3-gta04: Add wifi reset node

2014-07-21 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 6d1a8d8..5b08d93 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++ b

[PATCH 1/7] arm: dts: omap3-gta04: Add nand support

2014-07-21 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 54 +++ 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 021311f..7d7ddd7 100644 --- a/arch/arm

[PATCH 2/7] arm: dts: omap3-gta04: Fix magnetometer model

2014-07-21 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 7d7ddd7..6d1a8d8 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts

[PATCH 5/7] arm: dts: omap3-gta04: Add USB host support

2014-07-21 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 45 +++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 4ca1277..370c08b 100644 --- a/arch/arm

[PATCH 0/7] arm: dts: oma3-gta04: Various updates

2014-07-21 Thread Marek Belisko
Following patchset add various improvements to gta04 devicetree. Marek Belisko (7): arm: dts: omap3-gta04: Add nand support arm: dts: omap3-gta04: Fix magnetometer model arm: dts: omap3-gta04: Add wifi reset node arm: dts: omap3-gta04: Move spi gpio pins to pmx_core2 arm: dts: omap3

[PATCH 0/5] Add gta04 board variants

2014-07-14 Thread Marek Belisko
This patch series completes the GTA04 device tree to describe all hardware components that are on the different variants of the GTA04 boards. Marek Belisko (5): arm: dts: omap3-gta04: Add missing nodes to fully describe gta04 board arm: dts: omap3-gta04: Rename gta04.dts to gta04.dtsi and add

[PATCH 5/5] arm: dts: Add gta04+b3 model bindings

2014-07-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-gta04+b3.dts | 118 +++ 2 files changed, 119 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-gta04+b3.dts diff --git a/arch/arm

[PATCH 1/5] arm: dts: omap3-gta04: Add missing nodes to fully describe gta04 board

2014-07-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 443 +++--- 1 file changed, 412 insertions(+), 31 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch

[PATCH 4/5] arm: dts: Add gta04+b2 model bindings

2014-07-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-gta04+b2.dts | 99 2 files changed, 100 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-gta04+b2.dts diff --git a/arch/arm/boot

  1   2   >