diff options
author | Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> | 2018-02-13 22:01:55 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-15 23:17:49 +0900 |
commit | 5aad7e2d270ccfbeeadc6bd8d89cd2d7d5c34117 (patch) | |
tree | 40141b9a8295ab765edcedeb5cce0fea28b57657 /arch/arm64/boot/dts/socionext | |
parent | fb21a0acaa2b7f6ac76d4b3b33aa6b0312a09a49 (diff) |
arm64: dts: uniphier: add speaker out for LD11/LD20 boards
This patch adds codec node for TI TAS571x on UniPhier LD11/20
global boards. And adds settings of AIO for speaker out.
Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm64/boot/dts/socionext')
-rw-r--r-- | arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts | 22 | ||||
-rw-r--r-- | arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts index 264aae10734b..eca2143cd72d 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts @@ -9,6 +9,7 @@ */ /dts-v1/; +#include <dt-bindings/gpio/uniphier-gpio.h> #include "uniphier-ld11.dtsi" / { @@ -43,6 +44,7 @@ label = "UniPhier LD11"; widgets = "Headphone", "Headphone Jack"; dais = <&i2s_port2 + &i2s_port3 &i2s_port4 &spdif_port0>; }; @@ -67,6 +69,11 @@ status = "okay"; }; +&i2s_hpcmout1 { + dai-format = "i2s"; + remote-endpoint = <&tas_speaker>; +}; + &spdif_hiecout1 { remote-endpoint = <&spdif_tx>; }; @@ -74,6 +81,21 @@ &i2c0 { status = "okay"; + tas5707a@1d { + compatible = "ti,tas5711"; + reg = <0x1d>; + reset-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 4) GPIO_ACTIVE_LOW>; + pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 5) GPIO_ACTIVE_LOW>; + #sound-dai-cells = <0>; + + port@0 { + tas_speaker: endpoint { + dai-format = "i2s"; + remote-endpoint = <&i2s_hpcmout1>; + }; + }; + }; + eeprom@50 { compatible = "st,24c64", "atmel,24c64"; reg = <0x50>; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts index 93ae4c909783..8c64307294bc 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts @@ -9,6 +9,7 @@ */ /dts-v1/; +#include <dt-bindings/gpio/uniphier-gpio.h> #include "uniphier-ld20.dtsi" / { @@ -43,6 +44,7 @@ label = "UniPhier LD20"; widgets = "Headphone", "Headphone Jack"; dais = <&i2s_port2 + &i2s_port3 &i2s_port4 &spdif_port0>; }; @@ -67,12 +69,32 @@ status = "okay"; }; +&i2s_hpcmout1 { + dai-format = "i2s"; + remote-endpoint = <&tas_speaker>; +}; + &spdif_hiecout1 { remote-endpoint = <&spdif_tx>; }; &i2c0 { status = "okay"; + + tas5707@1b { + compatible = "ti,tas5711"; + reg = <0x1b>; + reset-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 0) GPIO_ACTIVE_LOW>; + pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 1) GPIO_ACTIVE_LOW>; + #sound-dai-cells = <0>; + + port@0 { + tas_speaker: endpoint { + dai-format = "i2s"; + remote-endpoint = <&i2s_hpcmout1>; + }; + }; + }; }; &nand { |