linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates.
@ 2014-01-25 21:28 Marek Belisko
  2014-01-25 21:28 ` [PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags Marek Belisko
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:28 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb,
	hns, Marek Belisko

This pathes fix some wrong property issues and add some new devices to
devicetree. This was tested on linux-next (next-20140124).

Marek Belisko (6):
  ARM: dts: omap3-gta04: Fix mmc1 properties.
  ARM: dts: omap3-gta04: Add basic sound support.
  ARM: dts: omap3-gta04: Add twl4030 charger.
  ARM: dts: omap3-gta04: Add touchscreen properties.
  ARM: dts: omap3-gta04: Add support for magnetometer.
  ARM: dts: omap3-gta04: Add ti,omap36xx to compatible property to avoid
    problems with booting.

NeilBrown (3):
  ARM: dts: omap3-gta04: Fix 'aux' gpio key flags.
  ARM: dts: omap3-gta04: Add bma180 accelerometer.
  ARM: dts: omap3-gta04: Enable mmc2 for wifi.

 arch/arm/boot/dts/omap3-gta04.dts | 58 ++++++++++++++++++++++++++++++++++++---
 1 file changed, 54 insertions(+), 4 deletions(-)

-- 
1.8.3.2


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags.
  2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
@ 2014-01-25 21:28 ` Marek Belisko
  2014-02-13 23:08   ` Tony Lindgren
  2014-01-25 21:28 ` [PATCH 2/9] ARM: dts: omap3-gta04: Add bma180 accelerometer Marek Belisko
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:28 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb, hns

From: NeilBrown <neilb@suse.de>

It should be ACTIVE_HIGH.

Signed-off-by: NeilBrown <neilb@suse.de>
---
 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 b9b55c9..9d37184 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -32,7 +32,7 @@
 		aux-button {
 			label = "aux";
 			linux,code = <169>;
-			gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
+			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
 			gpio-key,wakeup;
 		};
 	};
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 2/9] ARM: dts: omap3-gta04: Add bma180 accelerometer.
  2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
  2014-01-25 21:28 ` [PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags Marek Belisko
@ 2014-01-25 21:28 ` Marek Belisko
  2014-01-25 21:28 ` [PATCH 3/9] ARM: dts: omap3-gta04: Fix mmc1 properties Marek Belisko
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:28 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb, hns

From: NeilBrown <neilb@suse.de>

Signed-off-by: NeilBrown <neilb@suse.de>
---
 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 9d37184..e315675 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -94,6 +94,14 @@
 		reg = <0x77>;
 	};
 
+	/* accelerometer */
+	bma180@41 {
+		compatible = "bosch,bma180";
+		reg = <0x41>;
+		interrupt-parent = <&gpio3>;
+		interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
+	};
+
 	/* leds */
 	tca6507@45 {
 		compatible = "ti,tca6507";
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 3/9] ARM: dts: omap3-gta04: Fix mmc1 properties.
  2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
  2014-01-25 21:28 ` [PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags Marek Belisko
  2014-01-25 21:28 ` [PATCH 2/9] ARM: dts: omap3-gta04: Add bma180 accelerometer Marek Belisko
@ 2014-01-25 21:28 ` Marek Belisko
  2014-02-13 23:08   ` Tony Lindgren
  2014-01-25 21:28 ` [PATCH 4/9] ARM: dts: omap3-gta04: Enable mmc2 for wifi Marek Belisko
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:28 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb,
	hns, Marek Belisko

Does not have an aux supply, and must be non-removable.

Otherwise it is removed during suspend and filesystem gets confused.

Signed-off-by: NeilBrown <neilb@suse.de>
---
 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 e315675..6011151 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -149,8 +149,8 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc1_pins>;
 	vmmc-supply = <&vmmc1>;
-	vmmc_aux-supply = <&vsim>;
 	bus-width = <4>;
+	ti,non-removable;
 };
 
 &mmc2 {
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 4/9] ARM: dts: omap3-gta04: Enable mmc2 for wifi.
  2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
                   ` (2 preceding siblings ...)
  2014-01-25 21:28 ` [PATCH 3/9] ARM: dts: omap3-gta04: Fix mmc1 properties Marek Belisko
@ 2014-01-25 21:28 ` Marek Belisko
  2014-01-25 21:28 ` [PATCH 5/9] ARM: dts: omap3-gta04: Add basic sound support Marek Belisko
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:28 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb, hns

From: NeilBrown <neilb@suse.de>

This requires vaux4.

Reset line isn't used yet, so wifi isn't reliable.
But it does work once per boot.

Signed-off-by: NeilBrown <neilb@suse.de>
---
 arch/arm/boot/dts/omap3-gta04.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
index 6011151..7e09410 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -79,6 +79,11 @@
 		reg = <0x48>;
 		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
 		interrupt-parent = <&intc>;
+		vaux4: regulator-vaux4 {
+			compatible = "ti,twl4030-vaux4";
+			regulator-min-microvolt = <2800000>;
+			regulator-max-microvolt = <3150000>;
+		};
 	};
 };
 
@@ -154,7 +159,9 @@
 };
 
 &mmc2 {
-	status = "disabled";
+	vmmc-supply = <&vaux4>;
+	bus-width = <4>;
+	ti,non-removable;
 };
 
 &mmc3 {
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 5/9] ARM: dts: omap3-gta04: Add basic sound support.
  2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
                   ` (3 preceding siblings ...)
  2014-01-25 21:28 ` [PATCH 4/9] ARM: dts: omap3-gta04: Enable mmc2 for wifi Marek Belisko
@ 2014-01-25 21:28 ` Marek Belisko
  2014-02-28 22:25   ` Tony Lindgren
  2014-01-25 21:29 ` [PATCH 6/9] ARM: dts: omap3-gta04: Add twl4030 charger Marek Belisko
                   ` (3 subsequent siblings)
  8 siblings, 1 reply; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:28 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb,
	hns, Marek Belisko

Signed-off-by: NeilBrown <neilb@suse.de>
---
 arch/arm/boot/dts/omap3-gta04.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
index 7e09410..a924a843 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -36,6 +36,14 @@
 			gpio-key,wakeup;
 		};
 	};
+
+	sound {
+		compatible = "ti,omap-twl4030";
+		ti,model = "gta04";
+
+		ti,mcbsp = <&mcbsp2>;
+		ti,codec = <&twl_audio>;
+	};
 };
 
 &omap3_pmx_core {
@@ -79,6 +87,13 @@
 		reg = <0x48>;
 		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
 		interrupt-parent = <&intc>;
+
+		twl_audio: audio {
+			compatible = "ti,twl4030-audio";
+			codec {
+			};
+		};
+
 		vaux4: regulator-vaux4 {
 			compatible = "ti,twl4030-vaux4";
 			regulator-min-microvolt = <2800000>;
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 6/9] ARM: dts: omap3-gta04: Add twl4030 charger.
  2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
                   ` (4 preceding siblings ...)
  2014-01-25 21:28 ` [PATCH 5/9] ARM: dts: omap3-gta04: Add basic sound support Marek Belisko
@ 2014-01-25 21:29 ` Marek Belisko
  2014-01-25 21:29 ` [PATCH 7/9] ARM: dts: omap3-gta04: Add touchscreen properties Marek Belisko
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:29 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb,
	hns, Marek Belisko

Signed-off-by: Marek Belisko <marek@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 a924a843..f72e408 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -198,3 +198,7 @@
 	pinctrl-0 = <&uart3_pins>;
 };
 
+&charger {
+	bb_uvolt = <3200000>;
+	bb_uamp = <150>;
+};
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 7/9] ARM: dts: omap3-gta04: Add touchscreen properties.
  2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
                   ` (5 preceding siblings ...)
  2014-01-25 21:29 ` [PATCH 6/9] ARM: dts: omap3-gta04: Add twl4030 charger Marek Belisko
@ 2014-01-25 21:29 ` Marek Belisko
  2014-01-25 21:29 ` [PATCH 8/9] ARM: dts: omap3-gta04: Add support for magnetometer Marek Belisko
  2014-01-25 21:29 ` [PATCH 9/9] ARM: dts: omap3-gta04: Add ti,omap36xx to compatible property to avoid problems with booting Marek Belisko
  8 siblings, 0 replies; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:29 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb,
	hns, Marek Belisko

Signed-off-by: Marek Belisko <marek@goldelico.com>
---
 arch/arm/boot/dts/omap3-gta04.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
index f72e408..151ed3b 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -150,6 +150,16 @@
 			reg = <0x4>;
 		};
 	};
+
+	/* touchscreen */
+	tsc2007@48 {
+		compatible = "ti,tsc2007";
+		reg = <0x48>;
+		interrupt-parent = <&gpio6>;
+		interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+		gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
+		ti,x-plate-ohms = <600>;
+	};
 };
 
 &i2c3 {
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 8/9] ARM: dts: omap3-gta04: Add support for magnetometer.
  2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
                   ` (6 preceding siblings ...)
  2014-01-25 21:29 ` [PATCH 7/9] ARM: dts: omap3-gta04: Add touchscreen properties Marek Belisko
@ 2014-01-25 21:29 ` Marek Belisko
  2014-01-25 21:29 ` [PATCH 9/9] ARM: dts: omap3-gta04: Add ti,omap36xx to compatible property to avoid problems with booting Marek Belisko
  8 siblings, 0 replies; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:29 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb,
	hns, Marek Belisko

Signed-off-by: NeilBrown <neilb@suse.de>
---
 arch/arm/boot/dts/omap3-gta04.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
index 151ed3b..ea1b94d 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -100,6 +100,12 @@
 			regulator-max-microvolt = <3150000>;
 		};
 	};
+
+	/* compass aka magnetometer */
+	hmc5843@1e {
+		compatible = "honeywell,hmc5843";
+		reg = <0x1e>;
+	};
 };
 
 #include "twl4030.dtsi"
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 9/9] ARM: dts: omap3-gta04: Add ti,omap36xx to compatible property to avoid problems with booting.
  2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
                   ` (7 preceding siblings ...)
  2014-01-25 21:29 ` [PATCH 8/9] ARM: dts: omap3-gta04: Add support for magnetometer Marek Belisko
@ 2014-01-25 21:29 ` Marek Belisko
  8 siblings, 0 replies; 15+ messages in thread
From: Marek Belisko @ 2014-01-25 21:29 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, neilb,
	hns, Marek Belisko

Without that change booting leads to crash with more warnings like below:
[    0.284454] omap_hwmod: uart4: cannot clk_get main_clk uart4_fck
[    0.284484] omap_hwmod: uart4: cannot _init_clocks
[    0.284484] ------------[ cut here ]------------
[    0.284545] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2543 _init+0x300/0x3e4()
[    0.284545] omap_hwmod: uart4: couldn't init clocks
[    0.284576] Modules linked in:
[    0.284606] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.13.0-next-20140124-00020-gd2aefec-dirty #26
[    0.284637] [<c00151c0>] (unwind_backtrace) from [<c0011e20>] (show_stack+0x10/0x14)
[    0.284667] [<c0011e20>] (show_stack) from [<c0568544>] (dump_stack+0x7c/0x94)
[    0.284729] [<c0568544>] (dump_stack) from [<c003ff94>] (warn_slowpath_common+0x6c/0x90)
[    0.284729] [<c003ff94>] (warn_slowpath_common) from [<c003ffe8>] (warn_slowpath_fmt+0x30/0x40)
[    0.284759] [<c003ffe8>] (warn_slowpath_fmt) from [<c07d1be8>] (_init+0x300/0x3e4)
[    0.284790] [<c07d1be8>] (_init) from [<c07d217c>] (__omap_hwmod_setup_all+0x40/0x8c)
[    0.284820] [<c07d217c>] (__omap_hwmod_setup_all) from [<c0008918>] (do_one_initcall+0xe8/0x14c)
[    0.284851] [<c0008918>] (do_one_initcall) from [<c07c5c18>] (kernel_init_freeable+0x104/0x1c8)
[    0.284881] [<c07c5c18>] (kernel_init_freeable) from [<c0563524>] (kernel_init+0x8/0x118)
[    0.284912] [<c0563524>] (kernel_init) from [<c000e368>] (ret_from_fork+0x14/0x2c)
[    0.285064] ---[ end trace 63de210ad43b627d ]---

Reference:
https://lkml.org/lkml/2013/10/8/553

Signed-off-by: Marek Belisko <marek@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 ea1b94d..998fe1e 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -13,7 +13,7 @@
 
 / {
 	model = "OMAP3 GTA04";
-	compatible = "ti,omap3-gta04", "ti,omap3";
+	compatible = "ti,omap3-gta04", "ti,omap36xx", "ti,omap3";
 
 	cpus {
 		cpu@0 {
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags.
  2014-01-25 21:28 ` [PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags Marek Belisko
@ 2014-02-13 23:08   ` Tony Lindgren
  0 siblings, 0 replies; 15+ messages in thread
From: Tony Lindgren @ 2014-02-13 23:08 UTC (permalink / raw)
  To: Marek Belisko
  Cc: bcousson, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
	galak, linux, linux-omap, devicetree, linux-arm-kernel,
	linux-kernel, neilb, hns

* Marek Belisko <marek@goldelico.com> [140125 13:31]:
> From: NeilBrown <neilb@suse.de>
> 
> It should be ACTIVE_HIGH.
> 
> Signed-off-by: NeilBrown <neilb@suse.de>
> ---
>  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 b9b55c9..9d37184 100644
> --- a/arch/arm/boot/dts/omap3-gta04.dts
> +++ b/arch/arm/boot/dts/omap3-gta04.dts
> @@ -32,7 +32,7 @@
>  		aux-button {
>  			label = "aux";
>  			linux,code = <169>;
> -			gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
> +			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
>  			gpio-key,wakeup;
>  		};
>  	};

Picking this one into omap-for-v3.14/fixes thanks.

Tony

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 3/9] ARM: dts: omap3-gta04: Fix mmc1 properties.
  2014-01-25 21:28 ` [PATCH 3/9] ARM: dts: omap3-gta04: Fix mmc1 properties Marek Belisko
@ 2014-02-13 23:08   ` Tony Lindgren
  0 siblings, 0 replies; 15+ messages in thread
From: Tony Lindgren @ 2014-02-13 23:08 UTC (permalink / raw)
  To: Marek Belisko
  Cc: bcousson, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
	galak, linux, linux-omap, devicetree, linux-arm-kernel,
	linux-kernel, neilb, hns

* Marek Belisko <marek@goldelico.com> [140125 13:31]:
> Does not have an aux supply, and must be non-removable.
> 
> Otherwise it is removed during suspend and filesystem gets confused.
> 
> Signed-off-by: NeilBrown <neilb@suse.de>
> ---
>  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 e315675..6011151 100644
> --- a/arch/arm/boot/dts/omap3-gta04.dts
> +++ b/arch/arm/boot/dts/omap3-gta04.dts
> @@ -149,8 +149,8 @@
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&mmc1_pins>;
>  	vmmc-supply = <&vmmc1>;
> -	vmmc_aux-supply = <&vsim>;
>  	bus-width = <4>;
> +	ti,non-removable;
>  };
>  
>  &mmc2 {

Taking this too into omap-for-v3.14/fixes.

Tony

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 5/9] ARM: dts: omap3-gta04: Add basic sound support.
  2014-01-25 21:28 ` [PATCH 5/9] ARM: dts: omap3-gta04: Add basic sound support Marek Belisko
@ 2014-02-28 22:25   ` Tony Lindgren
  2014-02-28 22:40     ` Belisko Marek
  0 siblings, 1 reply; 15+ messages in thread
From: Tony Lindgren @ 2014-02-28 22:25 UTC (permalink / raw)
  To: Marek Belisko
  Cc: bcousson, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
	galak, linux, linux-omap, devicetree, linux-arm-kernel,
	linux-kernel, neilb, hns

* Marek Belisko <marek@goldelico.com> [140125 13:31]:

Hmm care to add descriptions and repost the remaining patches
that I did not yet pick up for the fixes?

> Signed-off-by: NeilBrown <neilb@suse.de>

Hmm should this also have From: NeilBrown <neilb@suse.de>?

Also, while at it, maybe change your long time habit of adding
a period to the end of the subject line? That is of course
if you don't insist on having it, it's not usually used if
you look at git log --pretty=oneline :)

Regards,

Tony

> ---
>  arch/arm/boot/dts/omap3-gta04.dts | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
> index 7e09410..a924a843 100644
> --- a/arch/arm/boot/dts/omap3-gta04.dts
> +++ b/arch/arm/boot/dts/omap3-gta04.dts
> @@ -36,6 +36,14 @@
>  			gpio-key,wakeup;
>  		};
>  	};
> +
> +	sound {
> +		compatible = "ti,omap-twl4030";
> +		ti,model = "gta04";
> +
> +		ti,mcbsp = <&mcbsp2>;
> +		ti,codec = <&twl_audio>;
> +	};
>  };
>  
>  &omap3_pmx_core {
> @@ -79,6 +87,13 @@
>  		reg = <0x48>;
>  		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
>  		interrupt-parent = <&intc>;
> +
> +		twl_audio: audio {
> +			compatible = "ti,twl4030-audio";
> +			codec {
> +			};
> +		};
> +
>  		vaux4: regulator-vaux4 {
>  			compatible = "ti,twl4030-vaux4";
>  			regulator-min-microvolt = <2800000>;
> -- 
> 1.8.3.2
> 

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 5/9] ARM: dts: omap3-gta04: Add basic sound support.
  2014-02-28 22:25   ` Tony Lindgren
@ 2014-02-28 22:40     ` Belisko Marek
  2014-02-28 22:46       ` Tony Lindgren
  0 siblings, 1 reply; 15+ messages in thread
From: Belisko Marek @ 2014-02-28 22:40 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Benoit Cousson, Rob Herring, Pawel Moll, Mark Rutland,
	ijc+devicetree, Kumar Gala, Russell King - ARM Linux, linux-omap,
	devicetree, linux-arm-kernel, LKML, NeilBrown,
	Dr. H. Nikolaus Schaller

Hi Tony,

On Fri, Feb 28, 2014 at 11:25 PM, Tony Lindgren <tony@atomide.com> wrote:
> * Marek Belisko <marek@goldelico.com> [140125 13:31]:
>
> Hmm care to add descriptions and repost the remaining patches
> that I did not yet pick up for the fixes?
Sure I'll do.
>
>> Signed-off-by: NeilBrown <neilb@suse.de>
>
> Hmm should this also have From: NeilBrown <neilb@suse.de>?
Maybe I did some changes and forgot add my Signed-off-by? I'll recheck.
>
> Also, while at it, maybe change your long time habit of adding
> a period to the end of the subject line? That is of course
> if you don't insist on having it, it's not usually used if
> you look at git log --pretty=oneline :)
Sure . Thanks for notice ;). It there possibility that missing patches
go to 3.15?
>
> Regards,
>
> Tony
>
>> ---
>>  arch/arm/boot/dts/omap3-gta04.dts | 15 +++++++++++++++
>>  1 file changed, 15 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
>> index 7e09410..a924a843 100644
>> --- a/arch/arm/boot/dts/omap3-gta04.dts
>> +++ b/arch/arm/boot/dts/omap3-gta04.dts
>> @@ -36,6 +36,14 @@
>>                       gpio-key,wakeup;
>>               };
>>       };
>> +
>> +     sound {
>> +             compatible = "ti,omap-twl4030";
>> +             ti,model = "gta04";
>> +
>> +             ti,mcbsp = <&mcbsp2>;
>> +             ti,codec = <&twl_audio>;
>> +     };
>>  };
>>
>>  &omap3_pmx_core {
>> @@ -79,6 +87,13 @@
>>               reg = <0x48>;
>>               interrupts = <7>; /* SYS_NIRQ cascaded to intc */
>>               interrupt-parent = <&intc>;
>> +
>> +             twl_audio: audio {
>> +                     compatible = "ti,twl4030-audio";
>> +                     codec {
>> +                     };
>> +             };
>> +
>>               vaux4: regulator-vaux4 {
>>                       compatible = "ti,twl4030-vaux4";
>>                       regulator-min-microvolt = <2800000>;
>> --
>> 1.8.3.2
>>

BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 5/9] ARM: dts: omap3-gta04: Add basic sound support.
  2014-02-28 22:40     ` Belisko Marek
@ 2014-02-28 22:46       ` Tony Lindgren
  0 siblings, 0 replies; 15+ messages in thread
From: Tony Lindgren @ 2014-02-28 22:46 UTC (permalink / raw)
  To: Belisko Marek
  Cc: Benoit Cousson, Rob Herring, Pawel Moll, Mark Rutland,
	ijc+devicetree, Kumar Gala, Russell King - ARM Linux, linux-omap,
	devicetree, linux-arm-kernel, LKML, NeilBrown,
	Dr. H. Nikolaus Schaller

* Belisko Marek <marek.belisko@gmail.com> [140228 14:42]:
> Sure . Thanks for notice ;). It there possibility that missing patches
> go to 3.15?

Sure if you update them over next few days.

Regards,

Tony

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-02-28 22:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-25 21:28 [PATCH 0/9] ARM: dts: omap3-gta04: Various devicetree updates Marek Belisko
2014-01-25 21:28 ` [PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags Marek Belisko
2014-02-13 23:08   ` Tony Lindgren
2014-01-25 21:28 ` [PATCH 2/9] ARM: dts: omap3-gta04: Add bma180 accelerometer Marek Belisko
2014-01-25 21:28 ` [PATCH 3/9] ARM: dts: omap3-gta04: Fix mmc1 properties Marek Belisko
2014-02-13 23:08   ` Tony Lindgren
2014-01-25 21:28 ` [PATCH 4/9] ARM: dts: omap3-gta04: Enable mmc2 for wifi Marek Belisko
2014-01-25 21:28 ` [PATCH 5/9] ARM: dts: omap3-gta04: Add basic sound support Marek Belisko
2014-02-28 22:25   ` Tony Lindgren
2014-02-28 22:40     ` Belisko Marek
2014-02-28 22:46       ` Tony Lindgren
2014-01-25 21:29 ` [PATCH 6/9] ARM: dts: omap3-gta04: Add twl4030 charger Marek Belisko
2014-01-25 21:29 ` [PATCH 7/9] ARM: dts: omap3-gta04: Add touchscreen properties Marek Belisko
2014-01-25 21:29 ` [PATCH 8/9] ARM: dts: omap3-gta04: Add support for magnetometer Marek Belisko
2014-01-25 21:29 ` [PATCH 9/9] ARM: dts: omap3-gta04: Add ti,omap36xx to compatible property to avoid problems with booting Marek Belisko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).