Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1697780 > unrolled thread
| Started by | Sugar Zhang <sugar.zhang@rock-chips.com> |
|---|---|
| First post | 2017-07-27 09:50 +0200 |
| Last post | 2017-07-29 23:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] arm64: dts: rockchip: add rk3368 spdif node Sugar Zhang <sugar.zhang@rock-chips.com> - 2017-07-27 09:50 +0200
Re: [PATCH] arm64: dts: rockchip: add rk3368 spdif node Heiko Stuebner <heiko@sntech.de> - 2017-07-29 23:10 +0200
| From | Sugar Zhang <sugar.zhang@rock-chips.com> |
|---|---|
| Date | 2017-07-27 09:50 +0200 |
| Subject | [PATCH] arm64: dts: rockchip: add rk3368 spdif node |
| Message-ID | <u7LIu-3gV-15@gated-at.bofh.it> |
This patch add the spdif dt node for rk3368 soc.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3368.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
index 6d5dc05..59c4158 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
@@ -700,6 +700,19 @@
interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
};
+ spdif: spdif@ff880000 {
+ compatible = "rockchip,rk3368-spdif";
+ reg = <0x0 0xff880000 0x0 0x1000>;
+ interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru SCLK_SPDIF_8CH>, <&cru HCLK_SPDIF>;
+ clock-names = "mclk", "hclk";
+ dmas = <&dmac_bus 3>;
+ dma-names = "tx";
+ pinctrl-names = "default";
+ pinctrl-0 = <&spdif_tx>;
+ status = "disabled";
+ };
+
i2s_2ch: i2s-2ch@ff890000 {
compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
reg = <0x0 0xff890000 0x0 0x1000>;
@@ -1024,6 +1037,12 @@
};
};
+ spdif {
+ spdif_tx: spdif-tx {
+ rockchip,pins = <2 23 RK_FUNC_1 &pcfg_pull_none>;
+ };
+ };
+
spi0 {
spi0_clk: spi0-clk {
rockchip,pins = <1 29 RK_FUNC_2 &pcfg_pull_up>;
--
2.7.4
[toc] | [next] | [standalone]
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Date | 2017-07-29 23:10 +0200 |
| Message-ID | <u8H9L-7Sg-13@gated-at.bofh.it> |
| In reply to | #1697780 |
Am Donnerstag, 27. Juli 2017, 15:46:38 CEST schrieb Sugar Zhang: > This patch add the spdif dt node for rk3368 soc. > > Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> applied for 4.14 after replacing the pin number (23) with its constand equivalent RK_PC7. Heiko
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web