lkml.org 
[lkml]   [2021]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] arm64: dts: rockchip: add spdifrx support to rk3308.dtsi
Date
From: Yunhao Tian <t123yh.xyz@gmail.com>

The Rockchip RK3308 features an integrated SPDIF receiver.
This patch adds support for it to rk3308.dtsi.

Signed-off-by: Yunhao Tian <t123yh.xyz@gmail.com>
---
arch/arm64/boot/dts/rockchip/rk3308.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
index 0034312ef8f4..bbb0d2c74505 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
@@ -710,6 +710,22 @@ i2s_8ch_3: i2s@ff330000 {
status = "disabled";
};

+ spdif_rx: spdif-rx@ff3b0000 {
+ #sound-dai-cells = <0>;
+ compatible = "rockchip,rk3308-spdifrx";
+ reg = <0x0 0xff3b0000 0x0 0x1000>;
+ interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru SCLK_SPDIF_RX>, <&cru HCLK_SPDIFRX>;
+ clock-names = "mclk", "hclk";
+ dmas = <&dmac1 14>;
+ dma-names = "rx";
+ resets = <&cru SRST_SPDIFRX_M>;
+ reset-names = "spdifrx-m";
+ pinctrl-names = "default";
+ pinctrl-0 = <&spdif_in>;
+ status = "disabled";
+ };
+
spdif_tx: spdif-tx@ff3a0000 {
compatible = "rockchip,rk3308-spdif", "rockchip,rk3066-spdif";
reg = <0x0 0xff3a0000 0x0 0x1000>;
--
2.25.1
\
 
 \ /
  Last update: 2021-10-24 11:45    [W:0.057 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site