diff options
author | Katsuhiro Suzuki | 2018-02-13 14:01:56 +0100 |
---|---|---|
committer | Masahiro Yamada | 2018-03-15 15:17:55 +0100 |
commit | acc625de6612e74eb88ae9f97b345c4fb8af6014 (patch) | |
tree | 03a9cb2651d3a673520baa0c219d9859461ef438 /arch/arm64/boot/dts/socionext | |
parent | arm64: dts: uniphier: add speaker out for LD11/LD20 boards (diff) | |
download | kernel-qcow2-linux-acc625de6612e74eb88ae9f97b345c4fb8af6014.tar.gz kernel-qcow2-linux-acc625de6612e74eb88ae9f97b345c4fb8af6014.tar.xz kernel-qcow2-linux-acc625de6612e74eb88ae9f97b345c4fb8af6014.zip |
arm64: dts: uniphier: add compress audio out for LD11/LD20
This patch adds compress audio node for S/PDIF on UniPhier LD11/20
global boards. And adds settings of AIO for it.
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 | 18 | ||||
-rw-r--r-- | arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts | 18 |
2 files changed, 34 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts index eca2143cd72d..238a9469125a 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts @@ -46,7 +46,8 @@ dais = <&i2s_port2 &i2s_port3 &i2s_port4 - &spdif_port0>; + &spdif_port0 + &comp_spdif_port0>; }; spdif-out { @@ -59,6 +60,17 @@ }; }; }; + + comp-spdif-out { + compatible = "linux,spdif-dit"; + #sound-dai-cells = <0>; + + port@0 { + comp_spdif_tx: endpoint { + remote-endpoint = <&comp_spdif_hiecout1>; + }; + }; + }; }; &serial0 { @@ -78,6 +90,10 @@ remote-endpoint = <&spdif_tx>; }; +&comp_spdif_hiecout1 { + remote-endpoint = <&comp_spdif_tx>; +}; + &i2c0 { status = "okay"; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts index 8c64307294bc..6e498e1a2413 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts @@ -46,7 +46,8 @@ dais = <&i2s_port2 &i2s_port3 &i2s_port4 - &spdif_port0>; + &spdif_port0 + &comp_spdif_port0>; }; spdif-out { @@ -59,6 +60,17 @@ }; }; }; + + comp-spdif-out { + compatible = "linux,spdif-dit"; + #sound-dai-cells = <0>; + + port@0 { + comp_spdif_tx: endpoint { + remote-endpoint = <&comp_spdif_hiecout1>; + }; + }; + }; }; &serial0 { @@ -78,6 +90,10 @@ remote-endpoint = <&spdif_tx>; }; +&comp_spdif_hiecout1 { + remote-endpoint = <&comp_spdif_tx>; +}; + &i2c0 { status = "okay"; |