DT Fixes for OMAP5 boards
v2 cover DT Fixes for OMAP5 boards
This patch series adds DT nodes for:
* twl6040 enable jack_detection (e.g. OMAP5EVM)
* twl6037 gpadc for omap5 based boards (e.g. OMAP5EVM)
H. Nikolaus Schaller (2):
dts: omap5: baord-common: add phandle to reference Palmas gpadc
dts: omap5: baord-common: enable twl6040 headset jack detection
arch/arm/boot/dts/omap5-board-common.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.3
PATCH v2 1/2 dts: omap5: baord-common: add phandle to reference Palmas gpadc
Will be needed for iio based drivers.
--- arch/arm/boot/dts/omap5-board-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/omap5-board-common.dtsi +1 -1
@@ -415,7 +415,7 @@ ti,backup-battery-charge-high-current; }; - gpadc { + gpadc: gpadc { compatible = "ti,palmas-gpadc"; interrupts = <18 0 16 0
Signature · 1 line
2.7.3
PATCH v2 2/2 dts: omap5: baord-common: enable twl6040 headset jack detection
In reply to H. Nikolaus Schaller--- arch/arm/boot/dts/omap5-board-common.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/omap5-board-common.dtsi +1 -0
@@ -124,6 +124,7 @@ compatible = "ti,abe-twl6040"; ti,model = "omap5-uevm"; + ti,jack_detection; ti,mclk-freq = <19200000>; ti,mcpdm = <&mcpdm>;
Signature · 1 line
2.7.3
Re: [PATCH v2 2/2] dts: omap5: baord-common: enable twl6040 headset jack detection
Quoted 10 lines · H. Nikolaus Schaller
Signed-off-by H. Nikolaus Schaller <[email protected]>--- arch/arm/boot/dts/omap5-board-common.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/omap5-board-common.dtsi +0
-0
arch/arm/boot/dts/omap5-board-common.dtsi line 127
Quoted 4 lines
arch/arm/boot/dts/omap5-board-common.dtsi +1
-0@@ -124,6 +124,7 @@ compatible = "ti,abe-twl6040"; ti,model = "omap5-uevm"; + ti,jack_detection;
ti,jack-detection
Quoted 4 lines
arch/arm/boot/dts/omap5-board-common.dtsi +0
-0ti,mclk-freq = <19200000>; ti,mcpdm = <&mcpdm>;
Signature · 1 line
Péter
Re: [PATCH v2 2/2] dts: omap5: baord-common: enable twl6040 headset jack detection
Quoted 14 lines · Peter Ujfalusi
Quoted 13 lines · H. Nikolaus Schaller
Signed-off-by H. Nikolaus Schaller <[email protected]>--- arch/arm/boot/dts/omap5-board-common.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/omap5-board-common.dtsi +0
-0@@ -124,6 +124,7 @@ compatible = "ti,abe-twl6040"; ti,model = "omap5-uevm";
Quoted 3 lines
arch/arm/boot/dts/omap5-board-common.dtsi line 127
Quoted 1 line
arch/arm/boot/dts/omap5-board-common.dtsi +1
-0+ ti,jack_detection;ti,jack-detection
Also subject has baord-common for both :)
Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 2/2] dts: omap5: baord-common: enable twl6040 headset jack detection
In reply to Peter UjfalusiQuoted 17 lines
Am 25.10.2016 um 18:51 schrieb Peter Ujfalusi <[email protected]>:
Quoted 13 lines · H. Nikolaus Schaller
Signed-off-by H. Nikolaus Schaller <[email protected]>---
arch/arm/boot/dts/omap5-board-common.dtsi| 1 +1 file changed, 1 insertion(+)arch/arm/boot/dts/omap5-board-common.dtsi +0
-0@@ -124,6 +124,7 @@ compatible = "ti,abe-twl6040"; ti,model = "omap5-uevm";
Quoted 3 lines
arch/arm/boot/dts/omap5-board-common.dtsi line 127
Quoted 1 line
arch/arm/boot/dts/omap5-board-common.dtsi +1
-0+ ti,jack_detection;ti,jack-detection
Hm. Looks as if we have found another bug:
which one is correct?
Should I add another patch?
Quoted 9 lines
Quoted 5 lines
arch/arm/boot/dts/omap5-board-common.dtsi +0
-0ti,mclk-freq = <19200000>; ti,mcpdm = <&mcpdm>;Signature · 1 line
Péter
Re: [PATCH v2 2/2] dts: omap5: baord-common: enable twl6040 headset jack detection
Quoted 21 lines · H. Nikolaus Schaller
Quoted 17 lines
Am 25.10.2016 um 18:51 schrieb Peter Ujfalusi <[email protected]>:
Quoted 13 lines · H. Nikolaus Schaller
Signed-off-by H. Nikolaus Schaller <[email protected]>---
arch/arm/boot/dts/omap5-board-common.dtsi| 1 +1 file changed, 1 insertion(+)arch/arm/boot/dts/omap5-board-common.dtsi +0
-0@@ -124,6 +124,7 @@ compatible = "ti,abe-twl6040"; ti,model = "omap5-uevm";Quoted 3 lines
arch/arm/boot/dts/omap5-board-common.dtsi line 127
Quoted 1 line
arch/arm/boot/dts/omap5-board-common.dtsi +1
-0+ ti,jack_detection;ti,jack-detection
Quoted 8 lines
Hm. Looks as if we have found another bug:
which one is correct?Should I add another patch?
We have parts of omap-abe-twl6040.txt, the driver and omap4-sdp.dts all using ti,jack-detection. So omap-abe-twl6040.txt is wrong for the use of ti,jack_detection.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html