Skip to contentSkip to conversation

DT Fixes for OMAP5 boards

PATCH In review H. Nikolaus Schaller 4 participants 9 messages Oct 25, 2016 – Nov 7, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover DT Fixes for OMAP5 boards

2016-10-25 19:29:49: Changes V3:

* fix property name to enable twl6040 jack-detection and not jack_detection (Peter Ujfalusi)
* fix typo on bindings documentation
* fix typos in commit messages (Tony Lindgren)

2016-10-25 18:48:28: 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 (3):
dts: omap5: board-common: add phandle to reference Palmas gpadc
dts: omap5: board-common: enable twl6040 headset jack detection
ASoC: omap-abe-twl6040: fix typo in bindings documentation

 Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt | 2 +-
 arch/arm/boot/dts/omap5-board-common.dtsi                    | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.7.3
#1 lore raw

PATCH v3 1/3 dts: omap5: board-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
index 7500283..b04adee 100644
@@ -415,7 +415,7 @@
 			ti,backup-battery-charge-high-current;
 		};
 
-		gpadc {
+		gpadc: gpadc {
 			compatible = "ti,palmas-gpadc";
 			interrupts = <18 0
 				      16 0
Signature · 6 lines
2.7.3

--
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
#2 lore raw

PATCH v3 2/3 dts: omap5: board-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
index b04adee..ab60a8e 100644
@@ -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
Reviewed-by on v3 2/3
#3 lore raw

Re: [PATCH resent v3 2/3] dts: omap5: board-common: enable twl6040 headset jack detection

Quoted 1 line · H. Nikolaus Schaller

I'm not sure if this is valid for igep0500 as I have not seen the schematics. It might be safer to enable the jack detection only for omap5-uevm?

In any case:

Quoted 17 lines
---
 arch/arm/boot/dts/omap5-board-common.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/omap5-board-common.dtsi +1 -0
index b04adee..ab60a8e 100644
@@ -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
Péter
#4 lore raw

Re: [PATCH resent v3 2/3] dts: omap5: board-common: enable twl6040 headset jack detection

Quoted 5 lines · Peter Ujfalusi
Quoted 1 line · H. Nikolaus Schaller

I'm not sure if this is valid for igep0500 as I have not seen the schematics. It might be safer to enable the jack detection only for omap5-uevm?

FYI it's pretty much the same design and audio worked fine on igepv5 the last time I tested it. I guess a good reason to drill a new hole to my pi-top case for the audio jack :)

Tony

#5 lore raw

PATCH v3 3/3 ASoC: omap-abe-twl6040: fix typo in bindings documentation

In reply to H. Nikolaus Schaller
---
 Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt +1 -1
index fd40c85..462b04e8 100644
@@ -12,7 +12,7 @@ Required properties:
 
 Optional properties:
 - ti,dmic: phandle for the OMAP dmic node if the machine have it connected
-- ti,jack_detection: Need to be present if the board capable to detect jack
+- ti,jack-detection: Need to be present if the board capable to detect jack
   insertion, removal.
 
 Available audio endpoints for the audio-routing table:
Signature · 1 line
2.7.3
Acked-by on v3 3/3
#6 lore raw

Re: [PATCH resent v3 3/3] ASoC: omap-abe-twl6040: fix typo in bindings documentation

Quoted 1 line · H. Nikolaus Schaller
Quoted 18 lines
---
 Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt +1 -1
index fd40c85..462b04e8 100644
@@ -12,7 +12,7 @@ Required properties:
 
 Optional properties:
 - ti,dmic: phandle for the OMAP dmic node if the machine have it connected
-- ti,jack_detection: Need to be present if the board capable to detect jack
+- ti,jack-detection: Need to be present if the board capable to detect jack
   insertion, removal.
 
 Available audio endpoints for the audio-routing table:
Signature · 5 lines
Péter
--
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
#8 lore raw

Re: [PATCH resent v3 3/3] ASoC: omap-abe-twl6040: fix typo in bindings documentation

Quoted 7 lines · Rob Herring
Quoted 4 lines · H. Nikolaus Schaller
---
 Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applying all three into omap-for-v4.9/fixes so we can avoid the typo getting used somewhere.

Regards,

Tony