* [PATCH] arm64: dts: rockchip: add the i2s3_2ch node to rk356x
@ 2022-01-31 15:34 ` Michael Riesch
0 siblings, 0 replies; 6+ messages in thread
From: Michael Riesch @ 2022-01-31 15:34 UTC (permalink / raw)
To: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel
Cc: Rob Herring, Heiko Stuebner, Peter Geis, Liang Chen,
Nicolas Frattaroli, Michael Riesch
Add the two-channel I2S controller I2S3_2CH to the rk356x device tree.
Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
---
Tested the I2S input on a modified RK3568 EVB1.
arch/arm64/boot/dts/rockchip/rk356x.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
index a68033a23975..b1a43dbeeb83 100644
--- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
@@ -651,6 +651,22 @@ &i2s1m0_sdo0 &i2s1m0_sdo1
status = "disabled";
};
+ i2s3_2ch: i2s@fe430000 {
+ compatible = "rockchip,rk3568-i2s-tdm";
+ reg = <0x0 0xfe430000 0x0 0x1000>;
+ interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru MCLK_I2S3_2CH_TX>, <&cru MCLK_I2S3_2CH_RX>,
+ <&cru HCLK_I2S3_2CH>;
+ clock-names = "mclk_tx", "mclk_rx", "hclk";
+ dmas = <&dmac1 6>, <&dmac1 7>;
+ dma-names = "tx", "rx";
+ resets = <&cru SRST_M_I2S3_2CH_TX>, <&cru SRST_M_I2S3_2CH_RX>;
+ reset-names = "tx-m", "rx-m";
+ rockchip,grf = <&grf>;
+ #sound-dai-cells = <0>;
+ status = "disabled";
+ };
+
dmac0: dmac@fe530000 {
compatible = "arm,pl330", "arm,primecell";
reg = <0x0 0xfe530000 0x0 0x4000>;
--
2.30.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] arm64: dts: rockchip: add the i2s3_2ch node to rk356x
@ 2022-01-31 15:34 ` Michael Riesch
0 siblings, 0 replies; 6+ messages in thread
From: Michael Riesch @ 2022-01-31 15:34 UTC (permalink / raw)
To: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel
Cc: Rob Herring, Heiko Stuebner, Peter Geis, Liang Chen,
Nicolas Frattaroli, Michael Riesch
Add the two-channel I2S controller I2S3_2CH to the rk356x device tree.
Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
---
Tested the I2S input on a modified RK3568 EVB1.
arch/arm64/boot/dts/rockchip/rk356x.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
index a68033a23975..b1a43dbeeb83 100644
--- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
@@ -651,6 +651,22 @@ &i2s1m0_sdo0 &i2s1m0_sdo1
status = "disabled";
};
+ i2s3_2ch: i2s@fe430000 {
+ compatible = "rockchip,rk3568-i2s-tdm";
+ reg = <0x0 0xfe430000 0x0 0x1000>;
+ interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru MCLK_I2S3_2CH_TX>, <&cru MCLK_I2S3_2CH_RX>,
+ <&cru HCLK_I2S3_2CH>;
+ clock-names = "mclk_tx", "mclk_rx", "hclk";
+ dmas = <&dmac1 6>, <&dmac1 7>;
+ dma-names = "tx", "rx";
+ resets = <&cru SRST_M_I2S3_2CH_TX>, <&cru SRST_M_I2S3_2CH_RX>;
+ reset-names = "tx-m", "rx-m";
+ rockchip,grf = <&grf>;
+ #sound-dai-cells = <0>;
+ status = "disabled";
+ };
+
dmac0: dmac@fe530000 {
compatible = "arm,pl330", "arm,primecell";
reg = <0x0 0xfe530000 0x0 0x4000>;
--
2.30.2
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] arm64: dts: rockchip: add the i2s3_2ch node to rk356x
@ 2022-01-31 15:34 ` Michael Riesch
0 siblings, 0 replies; 6+ messages in thread
From: Michael Riesch @ 2022-01-31 15:34 UTC (permalink / raw)
To: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel
Cc: Rob Herring, Heiko Stuebner, Peter Geis, Liang Chen,
Nicolas Frattaroli, Michael Riesch
Add the two-channel I2S controller I2S3_2CH to the rk356x device tree.
Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
---
Tested the I2S input on a modified RK3568 EVB1.
arch/arm64/boot/dts/rockchip/rk356x.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
index a68033a23975..b1a43dbeeb83 100644
--- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
@@ -651,6 +651,22 @@ &i2s1m0_sdo0 &i2s1m0_sdo1
status = "disabled";
};
+ i2s3_2ch: i2s@fe430000 {
+ compatible = "rockchip,rk3568-i2s-tdm";
+ reg = <0x0 0xfe430000 0x0 0x1000>;
+ interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru MCLK_I2S3_2CH_TX>, <&cru MCLK_I2S3_2CH_RX>,
+ <&cru HCLK_I2S3_2CH>;
+ clock-names = "mclk_tx", "mclk_rx", "hclk";
+ dmas = <&dmac1 6>, <&dmac1 7>;
+ dma-names = "tx", "rx";
+ resets = <&cru SRST_M_I2S3_2CH_TX>, <&cru SRST_M_I2S3_2CH_RX>;
+ reset-names = "tx-m", "rx-m";
+ rockchip,grf = <&grf>;
+ #sound-dai-cells = <0>;
+ status = "disabled";
+ };
+
dmac0: dmac@fe530000 {
compatible = "arm,pl330", "arm,primecell";
reg = <0x0 0xfe530000 0x0 0x4000>;
--
2.30.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: add the i2s3_2ch node to rk356x
2022-01-31 15:34 ` Michael Riesch
(?)
@ 2022-02-08 16:59 ` Heiko Stuebner
-1 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2022-02-08 16:59 UTC (permalink / raw)
To: linux-kernel, devicetree, linux-rockchip, Michael Riesch,
linux-arm-kernel
Cc: Heiko Stuebner, Rob Herring, Peter Geis, Nicolas Frattaroli, Liang Chen
On Mon, 31 Jan 2022 16:34:57 +0100, Michael Riesch wrote:
> Add the two-channel I2S controller I2S3_2CH to the rk356x device tree.
Applied, thanks!
[1/1] arm64: dts: rockchip: add the i2s3_2ch node to rk356x
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: add the i2s3_2ch node to rk356x
@ 2022-02-08 16:59 ` Heiko Stuebner
0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2022-02-08 16:59 UTC (permalink / raw)
To: linux-kernel, devicetree, linux-rockchip, Michael Riesch,
linux-arm-kernel
Cc: Heiko Stuebner, Rob Herring, Peter Geis, Nicolas Frattaroli, Liang Chen
On Mon, 31 Jan 2022 16:34:57 +0100, Michael Riesch wrote:
> Add the two-channel I2S controller I2S3_2CH to the rk356x device tree.
Applied, thanks!
[1/1] arm64: dts: rockchip: add the i2s3_2ch node to rk356x
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: add the i2s3_2ch node to rk356x
@ 2022-02-08 16:59 ` Heiko Stuebner
0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2022-02-08 16:59 UTC (permalink / raw)
To: linux-kernel, devicetree, linux-rockchip, Michael Riesch,
linux-arm-kernel
Cc: Heiko Stuebner, Rob Herring, Peter Geis, Nicolas Frattaroli, Liang Chen
On Mon, 31 Jan 2022 16:34:57 +0100, Michael Riesch wrote:
> Add the two-channel I2S controller I2S3_2CH to the rk356x device tree.
Applied, thanks!
[1/1] arm64: dts: rockchip: add the i2s3_2ch node to rk356x
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-02-08 17:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 15:34 [PATCH] arm64: dts: rockchip: add the i2s3_2ch node to rk356x Michael Riesch
2022-01-31 15:34 ` Michael Riesch
2022-01-31 15:34 ` Michael Riesch
2022-02-08 16:59 ` Heiko Stuebner
2022-02-08 16:59 ` Heiko Stuebner
2022-02-08 16:59 ` Heiko Stuebner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.