]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: rockchip: Add spdif node for RK3128
authorAlex Bee <knaerzche@gmail.com>
Mon, 6 May 2024 15:51:03 +0000 (17:51 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 23 Jun 2024 20:05:05 +0000 (22:05 +0200)
The SoC has a S/PDIF TX controller which is fully compatible with older
generation Rockchip SoCs.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Link: https://lore.kernel.org/r/20240506155103.206592-3-knaerzche@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rockchip/rk3128.dtsi

index 2c41a123c96aa6bfa68bc91813b91d6a6af34885..4ced1f1fabeab689ce6e1d21325c23664d66de0e 100644 (file)
                status = "disabled";
        };
 
+       spdif: spdif@10204000 {
+               compatible = "rockchip,rk3128-spdif", "rockchip,rk3066-spdif";
+               reg = <0x10204000 0x1000>;
+               interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF>;
+               clock-names = "mclk", "hclk";
+               dmas = <&pdma 13>;
+               dma-names = "tx";
+               pinctrl-names = "default";
+               pinctrl-0 = <&spdif_tx>;
+               #sound-dai-cells = <0>;
+               status = "disabled";
+       };
+
        sdmmc: mmc@10214000 {
                compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
                reg = <0x10214000 0x4000>;