Changes V3: * fix property name to enable twl6040 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(-)
Will be needed for iio based drivers.
Signed-off-by: H. Nikolaus Schaller hns@goldelico.com --- arch/arm/boot/dts/omap5-board-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index 7500283..b04adee 100644 --- a/arch/arm/boot/dts/omap5-board-common.dtsi +++ b/arch/arm/boot/dts/omap5-board-common.dtsi @@ -415,7 +415,7 @@ ti,backup-battery-charge-high-current; };
- gpadc { + gpadc: gpadc { compatible = "ti,palmas-gpadc"; interrupts = <18 0 16 0
Signed-off-by: H. Nikolaus Schaller hns@goldelico.com --- arch/arm/boot/dts/omap5-board-common.dtsi | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index b04adee..91456b4 100644 --- a/arch/arm/boot/dts/omap5-board-common.dtsi +++ b/arch/arm/boot/dts/omap5-board-common.dtsi @@ -124,6 +124,7 @@ compatible = "ti,abe-twl6040"; ti,model = "omap5-uevm";
+ ti,jack_detection; ti,mclk-freq = <19200000>;
ti,mcpdm = <&mcpdm>;
Am 25.10.2016 um 19:29 schrieb H. Nikolaus Schaller hns@goldelico.com:
Signed-off-by: H. Nikolaus Schaller hns@goldelico.com
arch/arm/boot/dts/omap5-board-common.dtsi | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index b04adee..91456b4 100644 --- a/arch/arm/boot/dts/omap5-board-common.dtsi +++ b/arch/arm/boot/dts/omap5-board-common.dtsi @@ -124,6 +124,7 @@ compatible = "ti,abe-twl6040"; ti,model = "omap5-uevm";
ti,jack_detection;
Sorry, change got lost during commit editing.
ti,mclk-freq = <19200000>; ti,mcpdm = <&mcpdm>;
-- 2.7.3
Signed-off-by: H. Nikolaus Schaller hns@goldelico.com --- Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt b/Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt index fd40c85..462b04e8 100644 --- a/Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt +++ b/Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt @@ -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: