Discussion:
[linux-sunxi][PATCH] ARM: dts: sun7i: Add I2S0 pinctrl settings
c***@gmail.com
2017-07-22 06:43:13 UTC
Permalink
From: Marcus Cooper <***@gmail.com>

The A20 SoC has a couple of i2s blocks. This patch adds
the pinctrl settings for block i2s0.

Signed-off-by: Marcus Cooper <***@gmail.com>
---
arch/arm/boot/dts/sun7i-a20.dtsi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 96bee776e145..01f9ee329913 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -1163,6 +1163,31 @@
function = "i2c3";
};

+ i2s0_mclk: ***@0 {
+ pins = "PB5";
+ function = "i2s0";
+ };
+
+ i2s0_bclk: ***@1 {
+ pins = "PB6";
+ function = "i2s0";
+ };
+
+ i2s0_lrclk: ***@2 {
+ pins = "PB7";
+ function = "i2s0";
+ };
+
+ i2s0_sdo0: ***@3 {
+ pins = "PB8";
+ function = "i2s0";
+ };
+
+ i2s0_sdi: ***@4 {
+ pins = "PB12";
+ function = "i2s0";
+ };
+
ir0_rx_pins_a: ***@0 {
pins = "PB4";
function = "ir0";
--
2.13.3
Maxime Ripard
2017-07-24 08:20:22 UTC
Permalink
Hi Marcus,
Post by c***@gmail.com
The A20 SoC has a couple of i2s blocks. This patch adds
the pinctrl settings for block i2s0.
We're not adding pin groups that are not used by anyone. If you have a
board using them, please send the DT for that board too.

Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Code Kipper
2017-07-24 09:06:35 UTC
Permalink
No...I've only got an Olimex SOM EVB which exposes these pins on a
GPIO header (like many of the dev boards). Just thought if we included
them in the dtsi then adding overlays for i2s devices would be
simplified.
BR,
CK

On 24 July 2017 at 10:20, Maxime Ripard
Post by Maxime Ripard
Hi Marcus,
Post by c***@gmail.com
The A20 SoC has a couple of i2s blocks. This patch adds
the pinctrl settings for block i2s0.
We're not adding pin groups that are not used by anyone. If you have a
board using them, please send the DT for that board too.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Loading...