diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2021-06-13 23:52:34 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2021-06-19 10:43:57 +0200 |
commit | ba2401ab87bc2049a49d45f75013f6faebd120f1 (patch) | |
tree | d0229abe83eedc52636a50ef772954e1db90daa3 /arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | |
parent | arm64: dts: rockchip: Add Rotation Property for OGA Panel (diff) | |
download | linux-ba2401ab87bc2049a49d45f75013f6faebd120f1.tar.xz linux-ba2401ab87bc2049a49d45f75013f6faebd120f1.zip |
arm64: dts: rockchip: add SPDIF node for rk3399-firefly
This patch adds the SPDIF sound node and related settings
for rk3399-firefly.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Link: https://lore.kernel.org/r/20210613215237.830160-1-pbrobinson@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-firefly.dts')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts index 45254be1350d..6bbf79a370df 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts @@ -151,6 +151,23 @@ reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; }; + sound-dit { + compatible = "audio-graph-card"; + label = "SPDIF"; + dais = <&spdif_p0>; + }; + + spdif-dit { + compatible = "linux,spdif-dit"; + #sound-dai-cells = <0>; + + port { + dit_p0_0: endpoint { + remote-endpoint = <&spdif_p0_0>; + }; + }; + }; + /* switched by pmic_sleep */ vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { compatible = "regulator-fixed"; @@ -710,6 +727,17 @@ status = "okay"; }; +&spdif { + pinctrl-0 = <&spdif_bus_1>; + status = "okay"; + + spdif_p0: port { + spdif_p0_0: endpoint { + remote-endpoint = <&dit_p0_0>; + }; + }; +}; + &tcphy0 { status = "okay"; }; |