Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1697795 > unrolled thread

[PATCH v1 2/2] arm64: dts: rockchip: add rk3328 spdif node

Started bySugar Zhang <sugar.zhang@rock-chips.com>
First post2017-07-27 10:20 +0200
Last post2017-07-29 23:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v1 2/2] arm64: dts: rockchip: add rk3328 spdif node Sugar Zhang <sugar.zhang@rock-chips.com> - 2017-07-27 10:20 +0200
    Re: [PATCH v1 2/2] arm64: dts: rockchip: add rk3328 spdif node Heiko Stuebner <heiko@sntech.de> - 2017-07-29 23:20 +0200

#1697795 — [PATCH v1 2/2] arm64: dts: rockchip: add rk3328 spdif node

FromSugar Zhang <sugar.zhang@rock-chips.com>
Date2017-07-27 10:20 +0200
Subject[PATCH v1 2/2] arm64: dts: rockchip: add rk3328 spdif node
Message-ID<u7Mbx-3HK-27@gated-at.bofh.it>
This patch add the spdif dt node for rk3328.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>

---

 arch/arm64/boot/dts/rockchip/rk3328.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index f1a284b..d278670 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -189,6 +189,19 @@
 		status = "disabled";
 	};
 
+	spdif: spdif@ff030000 {
+		compatible = "rockchip,rk3328-spdif";
+		reg = <0x0 0xff030000 0x0 0x1000>;
+		interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
+		clock-names = "mclk", "hclk";
+		dmas = <&dmac 10>;
+		dma-names = "tx";
+		pinctrl-names = "default";
+		pinctrl-0 = <&spdifm2_tx>;
+		status = "disabled";
+	};
+
 	grf: syscon@ff100000 {
 		compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
 		reg = <0x0 0xff100000 0x0 0x1000>;
-- 
2.7.4

[toc] | [next] | [standalone]


#1699373

FromHeiko Stuebner <heiko@sntech.de>
Date2017-07-29 23:20 +0200
Message-ID<u8Hjr-7VV-5@gated-at.bofh.it>
In reply to#1697795
Am Donnerstag, 27. Juli 2017, 16:16:04 CEST schrieb Sugar Zhang:
> This patch add the spdif dt node for rk3328.
> 
> Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
> 
> ---
> 
>  arch/arm64/boot/dts/rockchip/rk3328.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> index f1a284b..d278670 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> @@ -189,6 +189,19 @@
>  		status = "disabled";
>  	};
>  

I've adapted the patch so that it can exist without the previous one
and applied it for 4.14.


Thanks
Heiko


> +	spdif: spdif@ff030000 {
> +		compatible = "rockchip,rk3328-spdif";
> +		reg = <0x0 0xff030000 0x0 0x1000>;
> +		interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
> +		clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
> +		clock-names = "mclk", "hclk";
> +		dmas = <&dmac 10>;
> +		dma-names = "tx";
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&spdifm2_tx>;
> +		status = "disabled";
> +	};
> +
>  	grf: syscon@ff100000 {
>  		compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
>  		reg = <0x0 0xff100000 0x0 0x1000>;
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web