* [PATCH 00/11] ARM: STi: STiH407: Pinctrl updates
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree
Hi Maxime / Patrice / Srini,
This series makes a series of updates to the stih407 pinctrl groups
and makes the upstream kernel more closely aligned in terms of pin
configuration to the vendor kernel.
A number of new periphs are added such as spi fsm, nand, cec0, and
for others such as SPI the various alternate function pin muxings have
been added. Finally for SPI the controller nodes have been updated
to have the default pin assignment in the controller node.
kind regards,
Peter.
Peter Griffin (11):
ARM: STi: DT: STiH407: Add a cec0 pin definition
ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
ARM: DT: STiH407: Add serial3 pinctrl configuration
ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
ARM: DT: STiH407: Add NAND flash controller pin configuration
ARM: DT: STiH407: Add systrace pin configuration
ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX
ARM: DT: STiH407: Add RMII pinctrl support
ARM: STi: STiH407: Add spi default pinctrl groups.
arch/arm/boot/dts/stih407-family.dtsi | 14 ++
arch/arm/boot/dts/stih407-pinctrl.dtsi | 378 ++++++++++++++++++++++++++++++++-
2 files changed, 387 insertions(+), 5 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 00/11] ARM: STi: STiH407: Pinctrl updates
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
Hi Maxime / Patrice / Srini,
This series makes a series of updates to the stih407 pinctrl groups
and makes the upstream kernel more closely aligned in terms of pin
configuration to the vendor kernel.
A number of new periphs are added such as spi fsm, nand, cec0, and
for others such as SPI the various alternate function pin muxings have
been added. Finally for SPI the controller nodes have been updated
to have the default pin assignment in the controller node.
kind regards,
Peter.
Peter Griffin (11):
ARM: STi: DT: STiH407: Add a cec0 pin definition
ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
ARM: DT: STiH407: Add serial3 pinctrl configuration
ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
ARM: DT: STiH407: Add NAND flash controller pin configuration
ARM: DT: STiH407: Add systrace pin configuration
ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX
ARM: DT: STiH407: Add RMII pinctrl support
ARM: STi: STiH407: Add spi default pinctrl groups.
arch/arm/boot/dts/stih407-family.dtsi | 14 ++
arch/arm/boot/dts/stih407-pinctrl.dtsi | 378 ++++++++++++++++++++++++++++++++-
2 files changed, 387 insertions(+), 5 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 01/11] ARM: STi: DT: STiH407: Add a cec0 pin definition
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 17:06 ` Peter Griffin
-1 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree, Erwan Le Ray,
Nicolas Vanhaelewyn
This pin setup provides the correct configuration in order to
interact with the CEC HW.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Nicolas Vanhaelewyn <nicolas.vanhaelewyn@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 0a754f2..d86ccc8 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -107,6 +107,14 @@
st,retime-pin-mask = <0x3f>;
};
+ cec0 {
+ pinctrl_cec0_default: cec0-default {
+ st,pins {
+ hdmi_cec = <&pio2 4 ALT1 BIDIR>;
+ };
+ };
+ };
+
rc {
pinctrl_ir: ir0 {
st,pins {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 01/11] ARM: STi: DT: STiH407: Add a cec0 pin definition
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
This pin setup provides the correct configuration in order to
interact with the CEC HW.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Nicolas Vanhaelewyn <nicolas.vanhaelewyn@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 0a754f2..d86ccc8 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -107,6 +107,14 @@
st,retime-pin-mask = <0x3f>;
};
+ cec0 {
+ pinctrl_cec0_default: cec0-default {
+ st,pins {
+ hdmi_cec = <&pio2 4 ALT1 BIDIR>;
+ };
+ };
+ };
+
rc {
pinctrl_ir: ir0 {
st,pins {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 02/11] ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 17:06 ` Peter Griffin
-1 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree, Seraphin Bonnaffe
i2c3 controller can use several sets of pins depending
on board design. This patch adds the missing alternate
pinconfigs.
Signed-off-by: Seraphin Bonnaffe <seraphin.bonnaffe@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index d86ccc8..ce219a1 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -430,12 +430,24 @@
};
i2c3 {
- pinctrl_i2c3_default: i2c3-default {
+ pinctrl_i2c3_default: i2c3-alt1-0 {
st,pins {
sda = <&pio18 6 ALT1 BIDIR>;
scl = <&pio18 5 ALT1 BIDIR>;
};
};
+ pinctrl_i2c3_alt1_1: i2c3-alt1-1 {
+ st,pins {
+ sda = <&pio17 7 ALT1 BIDIR>;
+ scl = <&pio17 6 ALT1 BIDIR>;
+ };
+ };
+ pinctrl_i2c3_alt3_0: i2c3-alt3-0 {
+ st,pins {
+ sda = <&pio13 6 ALT3 BIDIR>;
+ scl = <&pio13 5 ALT3 BIDIR>;
+ };
+ };
};
spi0 {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 02/11] ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
i2c3 controller can use several sets of pins depending
on board design. This patch adds the missing alternate
pinconfigs.
Signed-off-by: Seraphin Bonnaffe <seraphin.bonnaffe@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index d86ccc8..ce219a1 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -430,12 +430,24 @@
};
i2c3 {
- pinctrl_i2c3_default: i2c3-default {
+ pinctrl_i2c3_default: i2c3-alt1-0 {
st,pins {
sda = <&pio18 6 ALT1 BIDIR>;
scl = <&pio18 5 ALT1 BIDIR>;
};
};
+ pinctrl_i2c3_alt1_1: i2c3-alt1-1 {
+ st,pins {
+ sda = <&pio17 7 ALT1 BIDIR>;
+ scl = <&pio17 6 ALT1 BIDIR>;
+ };
+ };
+ pinctrl_i2c3_alt3_0: i2c3-alt3-0 {
+ st,pins {
+ sda = <&pio13 6 ALT3 BIDIR>;
+ scl = <&pio13 5 ALT3 BIDIR>;
+ };
+ };
};
spi0 {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 03/11] ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
2015-09-11 17:06 ` Peter Griffin
(?)
@ 2015-09-11 17:06 ` Peter Griffin
-1 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree, Christophe Kerello
This patch adds the spi pinctrl configurations for all SPI
controllers, and also the alternate muxings which
can be used depending on board design.
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 239 ++++++++++++++++++++++++++++++++-
1 file changed, 235 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index ce219a1..bb3b0c7 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -262,6 +262,57 @@
};
};
};
+
+ spi10 {
+ pinctrl_spi10_default: spi10-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio4 6 ALT1 OUT>;
+ mrst = <&pio4 7 ALT1 IN>;
+ scl = <&pio4 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi10_3w_alt1_0: spi10-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio4 6 ALT1 BIDIR_PU>;
+ scl = <&pio4 5 ALT1 OUT>;
+ };
+ };
+ };
+
+ spi11 {
+ pinctrl_spi11_default: spi11-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 1 ALT2 OUT>;
+ mrst = <&pio3 0 ALT2 IN>;
+ scl = <&pio3 2 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi11_3w_alt2_0: spi11-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 1 ALT2 BIDIR_PU>;
+ scl = <&pio3 2 ALT2 OUT>;
+ };
+ };
+ };
+
+ spi12 {
+ pinctrl_spi12_default: spi12-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 6 ALT2 OUT>;
+ mrst = <&pio3 4 ALT2 IN>;
+ scl = <&pio3 7 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi12_3w_alt2_0: spi12-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 6 ALT2 BIDIR_PU>;
+ scl = <&pio3 7 ALT2 OUT>;
+ };
+ };
+ };
};
pin-controller-front0 {
@@ -451,11 +502,159 @@
};
spi0 {
- pinctrl_spi0_default: spi0-default {
+ pinctrl_spi0_default: spi0-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio10 6 ALT2 OUT>;
+ mrst = <&pio10 7 ALT2 IN>;
+ scl = <&pio10 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi0_3w_alt2_0: spi0-3w-alt2-0 {
st,pins {
- mtsr = <&pio12 6 ALT2 BIDIR>;
- mrst = <&pio12 7 ALT2 BIDIR>;
- scl = <&pio12 5 ALT2 BIDIR>;
+ mtsr = <&pio10 6 ALT2 BIDIR_PU>;
+ scl = <&pio10 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi0_4w_alt1_0: spi0-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio19 7 ALT1 OUT>;
+ mrst = <&pio19 5 ALT1 IN>;
+ scl = <&pio19 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi0_3w_alt1_0: spi0-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio19 7 ALT1 BIDIR_PU>;
+ scl = <&pio19 6 ALT1 OUT>;
+ };
+ };
+ };
+
+ spi1 {
+ pinctrl_spi1_default: spi1-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio11 1 ALT2 OUT>;
+ mrst = <&pio11 2 ALT2 IN>;
+ scl = <&pio11 0 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi1_3w_alt2_0: spi1-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio11 1 ALT2 BIDIR_PU>;
+ scl = <&pio11 0 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi1_4w_alt1_0: spi1-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 3 ALT1 OUT>;
+ mrst = <&pio14 4 ALT1 IN>;
+ scl = <&pio14 2 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi1_3w_alt1_0: spi1-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 3 ALT1 BIDIR_PU>;
+ scl = <&pio14 2 ALT1 OUT>;
+ };
+ };
+ };
+
+ spi2 {
+ pinctrl_spi2_default: spi2-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio12 6 ALT2 OUT>;
+ mrst = <&pio12 7 ALT2 IN>;
+ scl = <&pio12 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi2_3w_alt2_0: spi2-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio12 6 ALT2 BIDIR_PU>;
+ scl = <&pio12 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi2_4w_alt1_0: spi2-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 6 ALT1 OUT>;
+ mrst = <&pio14 7 ALT1 IN>;
+ scl = <&pio14 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi2_3w_alt1_0: spi2-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 6 ALT1 BIDIR_PU>;
+ scl = <&pio14 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi2_4w_alt2_1: spi2-4w-alt2-1 {
+ st,pins {
+ mtsr = <&pio15 6 ALT2 OUT>;
+ mrst = <&pio15 7 ALT2 IN>;
+ scl = <&pio15 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi2_3w_alt2_1: spi2-3w-alt2-1 {
+ st,pins {
+ mtsr = <&pio15 6 ALT2 BIDIR_PU>;
+ scl = <&pio15 5 ALT2 OUT>;
+ };
+ };
+ };
+
+ spi3 {
+ pinctrl_spi3_default: spi3-4w-alt3-0 {
+ st,pins {
+ mtsr = <&pio13 6 ALT3 OUT>;
+ mrst = <&pio13 7 ALT3 IN>;
+ scl = <&pio13 5 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_spi3_3w_alt3_0: spi3-3w-alt3-0 {
+ st,pins {
+ mtsr = <&pio13 6 ALT3 BIDIR_PU>;
+ scl = <&pio13 5 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_spi3_4w_alt1_0: spi3-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio17 7 ALT1 OUT>;
+ mrst = <&pio17 5 ALT1 IN>;
+ scl = <&pio17 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi3_3w_alt1_0: spi3-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio17 7 ALT1 BIDIR_PU>;
+ scl = <&pio17 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi3_4w_alt1_1: spi3-4w-alt1-1 {
+ st,pins {
+ mtsr = <&pio18 6 ALT1 OUT>;
+ mrst = <&pio18 7 ALT1 IN>;
+ scl = <&pio18 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi3_3w_alt1_1: spi3-3w-alt1-1 {
+ st,pins {
+ mtsr = <&pio18 6 ALT1 BIDIR_PU>;
+ scl = <&pio18 5 ALT1 OUT>;
};
};
};
@@ -578,6 +777,38 @@
};
};
};
+
+ spi4 {
+ pinctrl_spi4_default: spi4-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio30 1 ALT1 OUT>;
+ mrst = <&pio30 2 ALT1 IN>;
+ scl = <&pio30 0 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi4_3w_alt1_0: spi4-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio30 1 ALT1 BIDIR_PU>;
+ scl = <&pio30 0 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi4_4w_alt3_0: spi4-4w-alt3-0 {
+ st,pins {
+ mtsr = <&pio34 1 ALT3 OUT>;
+ mrst = <&pio34 2 ALT3 IN>;
+ scl = <&pio34 0 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_spi4_3w_alt3_0: spi4-3w-alt3-0 {
+ st,pins {
+ mtsr = <&pio34 1 ALT3 BIDIR_PU>;
+ scl = <&pio34 0 ALT3 OUT>;
+ };
+ };
+ };
};
pin-controller-flash {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 03/11] ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, devicetree, Christophe Kerello, lee.jones
This patch adds the spi pinctrl configurations for all SPI
controllers, and also the alternate muxings which
can be used depending on board design.
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 239 ++++++++++++++++++++++++++++++++-
1 file changed, 235 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index ce219a1..bb3b0c7 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -262,6 +262,57 @@
};
};
};
+
+ spi10 {
+ pinctrl_spi10_default: spi10-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio4 6 ALT1 OUT>;
+ mrst = <&pio4 7 ALT1 IN>;
+ scl = <&pio4 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi10_3w_alt1_0: spi10-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio4 6 ALT1 BIDIR_PU>;
+ scl = <&pio4 5 ALT1 OUT>;
+ };
+ };
+ };
+
+ spi11 {
+ pinctrl_spi11_default: spi11-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 1 ALT2 OUT>;
+ mrst = <&pio3 0 ALT2 IN>;
+ scl = <&pio3 2 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi11_3w_alt2_0: spi11-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 1 ALT2 BIDIR_PU>;
+ scl = <&pio3 2 ALT2 OUT>;
+ };
+ };
+ };
+
+ spi12 {
+ pinctrl_spi12_default: spi12-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 6 ALT2 OUT>;
+ mrst = <&pio3 4 ALT2 IN>;
+ scl = <&pio3 7 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi12_3w_alt2_0: spi12-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 6 ALT2 BIDIR_PU>;
+ scl = <&pio3 7 ALT2 OUT>;
+ };
+ };
+ };
};
pin-controller-front0 {
@@ -451,11 +502,159 @@
};
spi0 {
- pinctrl_spi0_default: spi0-default {
+ pinctrl_spi0_default: spi0-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio10 6 ALT2 OUT>;
+ mrst = <&pio10 7 ALT2 IN>;
+ scl = <&pio10 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi0_3w_alt2_0: spi0-3w-alt2-0 {
st,pins {
- mtsr = <&pio12 6 ALT2 BIDIR>;
- mrst = <&pio12 7 ALT2 BIDIR>;
- scl = <&pio12 5 ALT2 BIDIR>;
+ mtsr = <&pio10 6 ALT2 BIDIR_PU>;
+ scl = <&pio10 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi0_4w_alt1_0: spi0-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio19 7 ALT1 OUT>;
+ mrst = <&pio19 5 ALT1 IN>;
+ scl = <&pio19 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi0_3w_alt1_0: spi0-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio19 7 ALT1 BIDIR_PU>;
+ scl = <&pio19 6 ALT1 OUT>;
+ };
+ };
+ };
+
+ spi1 {
+ pinctrl_spi1_default: spi1-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio11 1 ALT2 OUT>;
+ mrst = <&pio11 2 ALT2 IN>;
+ scl = <&pio11 0 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi1_3w_alt2_0: spi1-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio11 1 ALT2 BIDIR_PU>;
+ scl = <&pio11 0 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi1_4w_alt1_0: spi1-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 3 ALT1 OUT>;
+ mrst = <&pio14 4 ALT1 IN>;
+ scl = <&pio14 2 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi1_3w_alt1_0: spi1-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 3 ALT1 BIDIR_PU>;
+ scl = <&pio14 2 ALT1 OUT>;
+ };
+ };
+ };
+
+ spi2 {
+ pinctrl_spi2_default: spi2-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio12 6 ALT2 OUT>;
+ mrst = <&pio12 7 ALT2 IN>;
+ scl = <&pio12 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi2_3w_alt2_0: spi2-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio12 6 ALT2 BIDIR_PU>;
+ scl = <&pio12 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi2_4w_alt1_0: spi2-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 6 ALT1 OUT>;
+ mrst = <&pio14 7 ALT1 IN>;
+ scl = <&pio14 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi2_3w_alt1_0: spi2-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 6 ALT1 BIDIR_PU>;
+ scl = <&pio14 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi2_4w_alt2_1: spi2-4w-alt2-1 {
+ st,pins {
+ mtsr = <&pio15 6 ALT2 OUT>;
+ mrst = <&pio15 7 ALT2 IN>;
+ scl = <&pio15 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi2_3w_alt2_1: spi2-3w-alt2-1 {
+ st,pins {
+ mtsr = <&pio15 6 ALT2 BIDIR_PU>;
+ scl = <&pio15 5 ALT2 OUT>;
+ };
+ };
+ };
+
+ spi3 {
+ pinctrl_spi3_default: spi3-4w-alt3-0 {
+ st,pins {
+ mtsr = <&pio13 6 ALT3 OUT>;
+ mrst = <&pio13 7 ALT3 IN>;
+ scl = <&pio13 5 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_spi3_3w_alt3_0: spi3-3w-alt3-0 {
+ st,pins {
+ mtsr = <&pio13 6 ALT3 BIDIR_PU>;
+ scl = <&pio13 5 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_spi3_4w_alt1_0: spi3-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio17 7 ALT1 OUT>;
+ mrst = <&pio17 5 ALT1 IN>;
+ scl = <&pio17 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi3_3w_alt1_0: spi3-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio17 7 ALT1 BIDIR_PU>;
+ scl = <&pio17 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi3_4w_alt1_1: spi3-4w-alt1-1 {
+ st,pins {
+ mtsr = <&pio18 6 ALT1 OUT>;
+ mrst = <&pio18 7 ALT1 IN>;
+ scl = <&pio18 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi3_3w_alt1_1: spi3-3w-alt1-1 {
+ st,pins {
+ mtsr = <&pio18 6 ALT1 BIDIR_PU>;
+ scl = <&pio18 5 ALT1 OUT>;
};
};
};
@@ -578,6 +777,38 @@
};
};
};
+
+ spi4 {
+ pinctrl_spi4_default: spi4-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio30 1 ALT1 OUT>;
+ mrst = <&pio30 2 ALT1 IN>;
+ scl = <&pio30 0 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi4_3w_alt1_0: spi4-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio30 1 ALT1 BIDIR_PU>;
+ scl = <&pio30 0 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi4_4w_alt3_0: spi4-4w-alt3-0 {
+ st,pins {
+ mtsr = <&pio34 1 ALT3 OUT>;
+ mrst = <&pio34 2 ALT3 IN>;
+ scl = <&pio34 0 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_spi4_3w_alt3_0: spi4-3w-alt3-0 {
+ st,pins {
+ mtsr = <&pio34 1 ALT3 BIDIR_PU>;
+ scl = <&pio34 0 ALT3 OUT>;
+ };
+ };
+ };
};
pin-controller-flash {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 03/11] ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the spi pinctrl configurations for all SPI
controllers, and also the alternate muxings which
can be used depending on board design.
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 239 ++++++++++++++++++++++++++++++++-
1 file changed, 235 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index ce219a1..bb3b0c7 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -262,6 +262,57 @@
};
};
};
+
+ spi10 {
+ pinctrl_spi10_default: spi10-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio4 6 ALT1 OUT>;
+ mrst = <&pio4 7 ALT1 IN>;
+ scl = <&pio4 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi10_3w_alt1_0: spi10-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio4 6 ALT1 BIDIR_PU>;
+ scl = <&pio4 5 ALT1 OUT>;
+ };
+ };
+ };
+
+ spi11 {
+ pinctrl_spi11_default: spi11-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 1 ALT2 OUT>;
+ mrst = <&pio3 0 ALT2 IN>;
+ scl = <&pio3 2 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi11_3w_alt2_0: spi11-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 1 ALT2 BIDIR_PU>;
+ scl = <&pio3 2 ALT2 OUT>;
+ };
+ };
+ };
+
+ spi12 {
+ pinctrl_spi12_default: spi12-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 6 ALT2 OUT>;
+ mrst = <&pio3 4 ALT2 IN>;
+ scl = <&pio3 7 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi12_3w_alt2_0: spi12-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio3 6 ALT2 BIDIR_PU>;
+ scl = <&pio3 7 ALT2 OUT>;
+ };
+ };
+ };
};
pin-controller-front0 {
@@ -451,11 +502,159 @@
};
spi0 {
- pinctrl_spi0_default: spi0-default {
+ pinctrl_spi0_default: spi0-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio10 6 ALT2 OUT>;
+ mrst = <&pio10 7 ALT2 IN>;
+ scl = <&pio10 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi0_3w_alt2_0: spi0-3w-alt2-0 {
st,pins {
- mtsr = <&pio12 6 ALT2 BIDIR>;
- mrst = <&pio12 7 ALT2 BIDIR>;
- scl = <&pio12 5 ALT2 BIDIR>;
+ mtsr = <&pio10 6 ALT2 BIDIR_PU>;
+ scl = <&pio10 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi0_4w_alt1_0: spi0-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio19 7 ALT1 OUT>;
+ mrst = <&pio19 5 ALT1 IN>;
+ scl = <&pio19 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi0_3w_alt1_0: spi0-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio19 7 ALT1 BIDIR_PU>;
+ scl = <&pio19 6 ALT1 OUT>;
+ };
+ };
+ };
+
+ spi1 {
+ pinctrl_spi1_default: spi1-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio11 1 ALT2 OUT>;
+ mrst = <&pio11 2 ALT2 IN>;
+ scl = <&pio11 0 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi1_3w_alt2_0: spi1-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio11 1 ALT2 BIDIR_PU>;
+ scl = <&pio11 0 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi1_4w_alt1_0: spi1-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 3 ALT1 OUT>;
+ mrst = <&pio14 4 ALT1 IN>;
+ scl = <&pio14 2 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi1_3w_alt1_0: spi1-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 3 ALT1 BIDIR_PU>;
+ scl = <&pio14 2 ALT1 OUT>;
+ };
+ };
+ };
+
+ spi2 {
+ pinctrl_spi2_default: spi2-4w-alt2-0 {
+ st,pins {
+ mtsr = <&pio12 6 ALT2 OUT>;
+ mrst = <&pio12 7 ALT2 IN>;
+ scl = <&pio12 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi2_3w_alt2_0: spi2-3w-alt2-0 {
+ st,pins {
+ mtsr = <&pio12 6 ALT2 BIDIR_PU>;
+ scl = <&pio12 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi2_4w_alt1_0: spi2-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 6 ALT1 OUT>;
+ mrst = <&pio14 7 ALT1 IN>;
+ scl = <&pio14 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi2_3w_alt1_0: spi2-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio14 6 ALT1 BIDIR_PU>;
+ scl = <&pio14 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi2_4w_alt2_1: spi2-4w-alt2-1 {
+ st,pins {
+ mtsr = <&pio15 6 ALT2 OUT>;
+ mrst = <&pio15 7 ALT2 IN>;
+ scl = <&pio15 5 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_spi2_3w_alt2_1: spi2-3w-alt2-1 {
+ st,pins {
+ mtsr = <&pio15 6 ALT2 BIDIR_PU>;
+ scl = <&pio15 5 ALT2 OUT>;
+ };
+ };
+ };
+
+ spi3 {
+ pinctrl_spi3_default: spi3-4w-alt3-0 {
+ st,pins {
+ mtsr = <&pio13 6 ALT3 OUT>;
+ mrst = <&pio13 7 ALT3 IN>;
+ scl = <&pio13 5 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_spi3_3w_alt3_0: spi3-3w-alt3-0 {
+ st,pins {
+ mtsr = <&pio13 6 ALT3 BIDIR_PU>;
+ scl = <&pio13 5 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_spi3_4w_alt1_0: spi3-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio17 7 ALT1 OUT>;
+ mrst = <&pio17 5 ALT1 IN>;
+ scl = <&pio17 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi3_3w_alt1_0: spi3-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio17 7 ALT1 BIDIR_PU>;
+ scl = <&pio17 6 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi3_4w_alt1_1: spi3-4w-alt1-1 {
+ st,pins {
+ mtsr = <&pio18 6 ALT1 OUT>;
+ mrst = <&pio18 7 ALT1 IN>;
+ scl = <&pio18 5 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi3_3w_alt1_1: spi3-3w-alt1-1 {
+ st,pins {
+ mtsr = <&pio18 6 ALT1 BIDIR_PU>;
+ scl = <&pio18 5 ALT1 OUT>;
};
};
};
@@ -578,6 +777,38 @@
};
};
};
+
+ spi4 {
+ pinctrl_spi4_default: spi4-4w-alt1-0 {
+ st,pins {
+ mtsr = <&pio30 1 ALT1 OUT>;
+ mrst = <&pio30 2 ALT1 IN>;
+ scl = <&pio30 0 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi4_3w_alt1_0: spi4-3w-alt1-0 {
+ st,pins {
+ mtsr = <&pio30 1 ALT1 BIDIR_PU>;
+ scl = <&pio30 0 ALT1 OUT>;
+ };
+ };
+
+ pinctrl_spi4_4w_alt3_0: spi4-4w-alt3-0 {
+ st,pins {
+ mtsr = <&pio34 1 ALT3 OUT>;
+ mrst = <&pio34 2 ALT3 IN>;
+ scl = <&pio34 0 ALT3 OUT>;
+ };
+ };
+
+ pinctrl_spi4_3w_alt3_0: spi4-3w-alt3-0 {
+ st,pins {
+ mtsr = <&pio34 1 ALT3 BIDIR_PU>;
+ scl = <&pio34 0 ALT3 OUT>;
+ };
+ };
+ };
};
pin-controller-flash {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 04/11] ARM: DT: STiH407: Add serial3 pinctrl configuration
2015-09-11 17:06 ` Peter Griffin
(?)
@ 2015-09-11 17:06 ` Peter Griffin
-1 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree, Erwan Le Ray,
Fabrice Gasnier
Add missing serial 3 pinctrl config. This can be used
on b2206 HVK, where it defaults to PIO31[3] & PIO31[4],
alternate 1.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index bb3b0c7..6c81f35 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -809,6 +809,15 @@
};
};
};
+
+ serial3 {
+ pinctrl_serial3: serial3-0 {
+ st,pins {
+ tx = <&pio31 3 ALT1 OUT>;
+ rx = <&pio31 4 ALT1 IN>;
+ };
+ };
+ };
};
pin-controller-flash {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 04/11] ARM: DT: STiH407: Add serial3 pinctrl configuration
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, devicetree, Fabrice Gasnier, lee.jones,
Erwan Le Ray
Add missing serial 3 pinctrl config. This can be used
on b2206 HVK, where it defaults to PIO31[3] & PIO31[4],
alternate 1.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index bb3b0c7..6c81f35 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -809,6 +809,15 @@
};
};
};
+
+ serial3 {
+ pinctrl_serial3: serial3-0 {
+ st,pins {
+ tx = <&pio31 3 ALT1 OUT>;
+ rx = <&pio31 4 ALT1 IN>;
+ };
+ };
+ };
};
pin-controller-flash {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 04/11] ARM: DT: STiH407: Add serial3 pinctrl configuration
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
Add missing serial 3 pinctrl config. This can be used
on b2206 HVK, where it defaults to PIO31[3] & PIO31[4],
alternate 1.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index bb3b0c7..6c81f35 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -809,6 +809,15 @@
};
};
};
+
+ serial3 {
+ pinctrl_serial3: serial3-0 {
+ st,pins {
+ tx = <&pio31 3 ALT1 OUT>;
+ rx = <&pio31 4 ALT1 IN>;
+ };
+ };
+ };
};
pin-controller-flash {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 05/11] ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
2015-09-11 17:06 ` Peter Griffin
(?)
@ 2015-09-11 17:06 ` Peter Griffin
-1 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree, Christophe Kerello
This patch adds the pin configuration for the NOR flash controller.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 6c81f35..d0f5fdd 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -872,6 +872,19 @@
};
};
};
+
+ fsm {
+ pinctrl_fsm: fsm {
+ st,pins {
+ spi-fsm-clk = <&pio40 1 ALT1 OUT>;
+ spi-fsm-cs = <&pio40 0 ALT1 OUT>;
+ spi-fsm-mosi = <&pio40 2 ALT1 OUT>;
+ spi-fsm-miso = <&pio40 3 ALT1 IN>;
+ spi-fsm-hol = <&pio40 5 ALT1 OUT>;
+ spi-fsm-wp = <&pio40 4 ALT1 OUT>;
+ };
+ };
+ };
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 05/11] ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, devicetree, Christophe Kerello, lee.jones
This patch adds the pin configuration for the NOR flash controller.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 6c81f35..d0f5fdd 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -872,6 +872,19 @@
};
};
};
+
+ fsm {
+ pinctrl_fsm: fsm {
+ st,pins {
+ spi-fsm-clk = <&pio40 1 ALT1 OUT>;
+ spi-fsm-cs = <&pio40 0 ALT1 OUT>;
+ spi-fsm-mosi = <&pio40 2 ALT1 OUT>;
+ spi-fsm-miso = <&pio40 3 ALT1 IN>;
+ spi-fsm-hol = <&pio40 5 ALT1 OUT>;
+ spi-fsm-wp = <&pio40 4 ALT1 OUT>;
+ };
+ };
+ };
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 05/11] ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the pin configuration for the NOR flash controller.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 6c81f35..d0f5fdd 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -872,6 +872,19 @@
};
};
};
+
+ fsm {
+ pinctrl_fsm: fsm {
+ st,pins {
+ spi-fsm-clk = <&pio40 1 ALT1 OUT>;
+ spi-fsm-cs = <&pio40 0 ALT1 OUT>;
+ spi-fsm-mosi = <&pio40 2 ALT1 OUT>;
+ spi-fsm-miso = <&pio40 3 ALT1 IN>;
+ spi-fsm-hol = <&pio40 5 ALT1 OUT>;
+ spi-fsm-wp = <&pio40 4 ALT1 OUT>;
+ };
+ };
+ };
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 06/11] ARM: DT: STiH407: Add NAND flash controller pin configuration
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 17:06 ` Peter Griffin
-1 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree, Christophe Kerello
This patch adds NAND flash support controller pin configuration
for STiH407 family silicon.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index d0f5fdd..cde776b 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -885,6 +885,29 @@
};
};
};
+
+ nand {
+ pinctrl_nand: nand {
+ st,pins {
+ nand_cs1 = <&pio40 6 ALT3 OUT>;
+ nand_cs0 = <&pio40 7 ALT3 OUT>;
+ nand_d0 = <&pio41 0 ALT3 BIDIR>;
+ nand_d1 = <&pio41 1 ALT3 BIDIR>;
+ nand_d2 = <&pio41 2 ALT3 BIDIR>;
+ nand_d3 = <&pio41 3 ALT3 BIDIR>;
+ nand_d4 = <&pio41 4 ALT3 BIDIR>;
+ nand_d5 = <&pio41 5 ALT3 BIDIR>;
+ nand_d6 = <&pio41 6 ALT3 BIDIR>;
+ nand_d7 = <&pio41 7 ALT3 BIDIR>;
+ nand_we = <&pio42 0 ALT3 OUT>;
+ nand_dqs = <&pio42 1 ALT3 OUT>;
+ nand_ale = <&pio42 2 ALT3 OUT>;
+ nand_cle = <&pio42 3 ALT3 OUT>;
+ nand_rnb = <&pio42 4 ALT3 IN>;
+ nand_oe = <&pio42 5 ALT3 OUT>;
+ };
+ };
+ };
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 06/11] ARM: DT: STiH407: Add NAND flash controller pin configuration
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds NAND flash support controller pin configuration
for STiH407 family silicon.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index d0f5fdd..cde776b 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -885,6 +885,29 @@
};
};
};
+
+ nand {
+ pinctrl_nand: nand {
+ st,pins {
+ nand_cs1 = <&pio40 6 ALT3 OUT>;
+ nand_cs0 = <&pio40 7 ALT3 OUT>;
+ nand_d0 = <&pio41 0 ALT3 BIDIR>;
+ nand_d1 = <&pio41 1 ALT3 BIDIR>;
+ nand_d2 = <&pio41 2 ALT3 BIDIR>;
+ nand_d3 = <&pio41 3 ALT3 BIDIR>;
+ nand_d4 = <&pio41 4 ALT3 BIDIR>;
+ nand_d5 = <&pio41 5 ALT3 BIDIR>;
+ nand_d6 = <&pio41 6 ALT3 BIDIR>;
+ nand_d7 = <&pio41 7 ALT3 BIDIR>;
+ nand_we = <&pio42 0 ALT3 OUT>;
+ nand_dqs = <&pio42 1 ALT3 OUT>;
+ nand_ale = <&pio42 2 ALT3 OUT>;
+ nand_cle = <&pio42 3 ALT3 OUT>;
+ nand_rnb = <&pio42 4 ALT3 IN>;
+ nand_oe = <&pio42 5 ALT3 OUT>;
+ };
+ };
+ };
};
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 07/11] ARM: DT: STiH407: Add systrace pin configuration
2015-09-11 17:06 ` Peter Griffin
(?)
@ 2015-09-11 17:06 ` Peter Griffin
-1 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree, Fabrice Gasnier
This patch adds the pin config for systrace for
STiH407 family silicon.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index cde776b..798d901 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -658,6 +658,18 @@
};
};
};
+
+ systrace {
+ pinctrl_systrace_default: systrace-default {
+ st,pins {
+ trc_data0 = <&pio11 3 ALT5 OUT>;
+ trc_data1 = <&pio11 4 ALT5 OUT>;
+ trc_data2 = <&pio11 5 ALT5 OUT>;
+ trc_data3 = <&pio11 6 ALT5 OUT>;
+ trc_clk = <&pio11 7 ALT5 OUT>;
+ };
+ };
+ };
};
pin-controller-front1 {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 07/11] ARM: DT: STiH407: Add systrace pin configuration
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, devicetree, Fabrice Gasnier, lee.jones
This patch adds the pin config for systrace for
STiH407 family silicon.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index cde776b..798d901 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -658,6 +658,18 @@
};
};
};
+
+ systrace {
+ pinctrl_systrace_default: systrace-default {
+ st,pins {
+ trc_data0 = <&pio11 3 ALT5 OUT>;
+ trc_data1 = <&pio11 4 ALT5 OUT>;
+ trc_data2 = <&pio11 5 ALT5 OUT>;
+ trc_data3 = <&pio11 6 ALT5 OUT>;
+ trc_clk = <&pio11 7 ALT5 OUT>;
+ };
+ };
+ };
};
pin-controller-front1 {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 07/11] ARM: DT: STiH407: Add systrace pin configuration
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the pin config for systrace for
STiH407 family silicon.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index cde776b..798d901 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -658,6 +658,18 @@
};
};
};
+
+ systrace {
+ pinctrl_systrace_default: systrace-default {
+ st,pins {
+ trc_data0 = <&pio11 3 ALT5 OUT>;
+ trc_data1 = <&pio11 4 ALT5 OUT>;
+ trc_data2 = <&pio11 5 ALT5 OUT>;
+ trc_data3 = <&pio11 6 ALT5 OUT>;
+ trc_clk = <&pio11 7 ALT5 OUT>;
+ };
+ };
+ };
};
pin-controller-front1 {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 17:06 ` Peter Griffin
-1 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree, Nebil BEN MEFTEH
This patch adds the missing SD pinctrl config
for mmc/sd controller 0. This is required to enable the
B2144A daughter board that exposes this controller as a sd
slot.
Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 798d901..3cd7e2a 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -883,6 +883,21 @@
emmc_d7 = <&pio41 7 ALT1 BIDIR_PU>;
};
};
+ pinctrl_sd0: sd0-0 {
+ st,pins {
+ sd_clk = <&pio40 6 ALT1 BIDIR>;
+ sd_cmd = <&pio40 7 ALT1 BIDIR_PU>;
+ sd_dat0 = <&pio41 0 ALT1 BIDIR_PU>;
+ sd_dat1 = <&pio41 1 ALT1 BIDIR_PU>;
+ sd_dat2 = <&pio41 2 ALT1 BIDIR_PU>;
+ sd_dat3 = <&pio41 3 ALT1 BIDIR_PU>;
+ sd_led = <&pio42 0 ALT2 OUT>;
+ sd_pwren = <&pio42 2 ALT2 OUT>;
+ sd_vsel = <&pio42 3 ALT2 OUT>;
+ sd_cd = <&pio42 4 ALT2 IN>;
+ sd_wp = <&pio42 5 ALT2 IN>;
+ };
+ };
};
fsm {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the missing SD pinctrl config
for mmc/sd controller 0. This is required to enable the
B2144A daughter board that exposes this controller as a sd
slot.
Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 798d901..3cd7e2a 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -883,6 +883,21 @@
emmc_d7 = <&pio41 7 ALT1 BIDIR_PU>;
};
};
+ pinctrl_sd0: sd0-0 {
+ st,pins {
+ sd_clk = <&pio40 6 ALT1 BIDIR>;
+ sd_cmd = <&pio40 7 ALT1 BIDIR_PU>;
+ sd_dat0 = <&pio41 0 ALT1 BIDIR_PU>;
+ sd_dat1 = <&pio41 1 ALT1 BIDIR_PU>;
+ sd_dat2 = <&pio41 2 ALT1 BIDIR_PU>;
+ sd_dat3 = <&pio41 3 ALT1 BIDIR_PU>;
+ sd_led = <&pio42 0 ALT2 OUT>;
+ sd_pwren = <&pio42 2 ALT2 OUT>;
+ sd_vsel = <&pio42 3 ALT2 OUT>;
+ sd_cd = <&pio42 4 ALT2 IN>;
+ sd_wp = <&pio42 5 ALT2 IN>;
+ };
+ };
};
fsm {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 09/11] ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 17:06 ` Peter Griffin
-1 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree,
M'boumba Cedric Madianga
This patch adds the pinconfig for IRB TX and IRB UHF.
Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 3cd7e2a..473f2ea 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -121,6 +121,24 @@
ir = <&pio4 0 ALT2 IN>;
};
};
+
+ pinctrl_uhf: uhf0 {
+ st,pins {
+ ir = <&pio4 1 ALT2 IN>;
+ };
+ };
+
+ pinctrl_tx: tx0 {
+ st,pins {
+ tx = <&pio4 2 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_tx_od: tx_od0 {
+ st,pins {
+ tx_od = <&pio4 3 ALT2 OUT>;
+ };
+ };
};
/* SBC_ASC0 - UART10 */
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 09/11] ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the pinconfig for IRB TX and IRB UHF.
Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 3cd7e2a..473f2ea 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -121,6 +121,24 @@
ir = <&pio4 0 ALT2 IN>;
};
};
+
+ pinctrl_uhf: uhf0 {
+ st,pins {
+ ir = <&pio4 1 ALT2 IN>;
+ };
+ };
+
+ pinctrl_tx: tx0 {
+ st,pins {
+ tx = <&pio4 2 ALT2 OUT>;
+ };
+ };
+
+ pinctrl_tx_od: tx_od0 {
+ st,pins {
+ tx_od = <&pio4 3 ALT2 OUT>;
+ };
+ };
};
/* SBC_ASC0 - UART10 */
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 10/11] ARM: DT: STiH407: Add RMII pinctrl support
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree, Giuseppe Cavallaro
This patch adds the RMII pinctrl support for the Synopsys
MAC on STiH407 SoCs.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 473f2ea..e80cac5 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -256,6 +256,33 @@
phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
};
};
+
+ pinctrl_rmii1: rmii1-0 {
+ st,pins {
+ txd0 = <&pio0 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
+ txd1 = <&pio0 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
+ txen = <&pio0 5 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
+ mdio = <&pio1 0 ALT1 OUT BYPASS 0>;
+ mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>;
+ mdint = <&pio1 3 ALT1 IN BYPASS 0>;
+ rxd0 = <&pio1 4 ALT1 IN SE_NICLK_IO 0 CLK_B>;
+ rxd1 = <&pio1 5 ALT1 IN SE_NICLK_IO 0 CLK_B>;
+ rxdv = <&pio2 0 ALT1 IN SE_NICLK_IO 0 CLK_B>;
+ rx_er = <&pio2 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ };
+ };
+
+ pinctrl_rmii1_phyclk: rmii1_phyclk {
+ st,pins {
+ phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
+ };
+ };
+
+ pinctrl_rmii1_phyclk_ext: rmii1_phyclk_ext {
+ st,pins {
+ phyclk = <&pio2 3 ALT2 IN NICLK 0 CLK_A>;
+ };
+ };
};
pwm1 {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 10/11] ARM: DT: STiH407: Add RMII pinctrl support
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w,
maxime.coquelin-qxv4g6HH51o, patrice.chotard-qxv4g6HH51o
Cc: peter.griffin-QSEj5FYQhm4dnm+yROfE0A,
lee.jones-QSEj5FYQhm4dnm+yROfE0A,
devicetree-u79uwXL29TY76Z2rM5mHXA, Giuseppe Cavallaro
This patch adds the RMII pinctrl support for the Synopsys
MAC on STiH407 SoCs.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro-qxv4g6HH51o@public.gmane.org>
Signed-off-by: Peter Griffin <peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 473f2ea..e80cac5 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -256,6 +256,33 @@
phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
};
};
+
+ pinctrl_rmii1: rmii1-0 {
+ st,pins {
+ txd0 = <&pio0 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
+ txd1 = <&pio0 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
+ txen = <&pio0 5 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
+ mdio = <&pio1 0 ALT1 OUT BYPASS 0>;
+ mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>;
+ mdint = <&pio1 3 ALT1 IN BYPASS 0>;
+ rxd0 = <&pio1 4 ALT1 IN SE_NICLK_IO 0 CLK_B>;
+ rxd1 = <&pio1 5 ALT1 IN SE_NICLK_IO 0 CLK_B>;
+ rxdv = <&pio2 0 ALT1 IN SE_NICLK_IO 0 CLK_B>;
+ rx_er = <&pio2 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ };
+ };
+
+ pinctrl_rmii1_phyclk: rmii1_phyclk {
+ st,pins {
+ phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
+ };
+ };
+
+ pinctrl_rmii1_phyclk_ext: rmii1_phyclk_ext {
+ st,pins {
+ phyclk = <&pio2 3 ALT2 IN NICLK 0 CLK_A>;
+ };
+ };
};
pwm1 {
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 10/11] ARM: DT: STiH407: Add RMII pinctrl support
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the RMII pinctrl support for the Synopsys
MAC on STiH407 SoCs.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 473f2ea..e80cac5 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -256,6 +256,33 @@
phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
};
};
+
+ pinctrl_rmii1: rmii1-0 {
+ st,pins {
+ txd0 = <&pio0 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
+ txd1 = <&pio0 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
+ txen = <&pio0 5 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
+ mdio = <&pio1 0 ALT1 OUT BYPASS 0>;
+ mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>;
+ mdint = <&pio1 3 ALT1 IN BYPASS 0>;
+ rxd0 = <&pio1 4 ALT1 IN SE_NICLK_IO 0 CLK_B>;
+ rxd1 = <&pio1 5 ALT1 IN SE_NICLK_IO 0 CLK_B>;
+ rxdv = <&pio2 0 ALT1 IN SE_NICLK_IO 0 CLK_B>;
+ rx_er = <&pio2 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
+ };
+ };
+
+ pinctrl_rmii1_phyclk: rmii1_phyclk {
+ st,pins {
+ phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
+ };
+ };
+
+ pinctrl_rmii1_phyclk_ext: rmii1_phyclk_ext {
+ st,pins {
+ phyclk = <&pio2 3 ALT2 IN NICLK 0 CLK_A>;
+ };
+ };
};
pwm1 {
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 11/11] ARM: STi: STiH407: Add spi default pinctrl groups.
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard
Cc: peter.griffin, lee.jones, devicetree
Now we have default pinconfig groups for each SPI
controller ensure it is used by the SPI controller
node.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-family.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 838b812..94a2fec 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -381,6 +381,8 @@
interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi1_default>;
status = "disabled";
};
@@ -391,6 +393,8 @@
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi2_default>;
status = "disabled";
};
@@ -401,6 +405,8 @@
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi3_default>;
status = "disabled";
};
@@ -411,6 +417,8 @@
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi4_default>;
status = "disabled";
};
@@ -422,6 +430,8 @@
interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_sysin>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi10_default>;
status = "disabled";
};
@@ -432,6 +442,8 @@
interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_sysin>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi11_default>;
status = "disabled";
};
@@ -442,6 +454,8 @@
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_sysin>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi12_default>;
status = "disabled";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 11/11] ARM: STi: STiH407: Add spi default pinctrl groups.
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w,
maxime.coquelin-qxv4g6HH51o, patrice.chotard-qxv4g6HH51o
Cc: peter.griffin-QSEj5FYQhm4dnm+yROfE0A,
lee.jones-QSEj5FYQhm4dnm+yROfE0A,
devicetree-u79uwXL29TY76Z2rM5mHXA
Now we have default pinconfig groups for each SPI
controller ensure it is used by the SPI controller
node.
Signed-off-by: Peter Griffin <peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
arch/arm/boot/dts/stih407-family.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 838b812..94a2fec 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -381,6 +381,8 @@
interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi1_default>;
status = "disabled";
};
@@ -391,6 +393,8 @@
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi2_default>;
status = "disabled";
};
@@ -401,6 +405,8 @@
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi3_default>;
status = "disabled";
};
@@ -411,6 +417,8 @@
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi4_default>;
status = "disabled";
};
@@ -422,6 +430,8 @@
interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_sysin>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi10_default>;
status = "disabled";
};
@@ -432,6 +442,8 @@
interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_sysin>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi11_default>;
status = "disabled";
};
@@ -442,6 +454,8 @@
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_sysin>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi12_default>;
status = "disabled";
};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [PATCH 11/11] ARM: STi: STiH407: Add spi default pinctrl groups.
@ 2015-09-11 17:06 ` Peter Griffin
0 siblings, 0 replies; 58+ messages in thread
From: Peter Griffin @ 2015-09-11 17:06 UTC (permalink / raw)
To: linux-arm-kernel
Now we have default pinconfig groups for each SPI
controller ensure it is used by the SPI controller
node.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
arch/arm/boot/dts/stih407-family.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 838b812..94a2fec 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -381,6 +381,8 @@
interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi1_default>;
status = "disabled";
};
@@ -391,6 +393,8 @@
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi2_default>;
status = "disabled";
};
@@ -401,6 +405,8 @@
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi3_default>;
status = "disabled";
};
@@ -411,6 +417,8 @@
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi4_default>;
status = "disabled";
};
@@ -422,6 +430,8 @@
interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_sysin>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi10_default>;
status = "disabled";
};
@@ -432,6 +442,8 @@
interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_sysin>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi11_default>;
status = "disabled";
};
@@ -442,6 +454,8 @@
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_sysin>;
clock-names = "ssc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi12_default>;
status = "disabled";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 58+ messages in thread
* Re: [PATCH 11/11] ARM: STi: STiH407: Add spi default pinctrl groups.
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 17:56 ` Lee Jones
-1 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 17:56 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree
On Fri, 11 Sep 2015, Peter Griffin wrote:
> Now we have default pinconfig groups for each SPI
> controller ensure it is used by the SPI controller
> node.
>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-family.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
> index 838b812..94a2fec 100644
> --- a/arch/arm/boot/dts/stih407-family.dtsi
> +++ b/arch/arm/boot/dts/stih407-family.dtsi
> @@ -381,6 +381,8 @@
> interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi1_default>;
>
> status = "disabled";
> };
> @@ -391,6 +393,8 @@
> interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi2_default>;
>
> status = "disabled";
> };
> @@ -401,6 +405,8 @@
> interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi3_default>;
>
> status = "disabled";
> };
> @@ -411,6 +417,8 @@
> interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi4_default>;
>
> status = "disabled";
> };
> @@ -422,6 +430,8 @@
> interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_sysin>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi10_default>;
>
> status = "disabled";
> };
> @@ -432,6 +442,8 @@
> interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_sysin>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi11_default>;
>
> status = "disabled";
> };
> @@ -442,6 +454,8 @@
> interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_sysin>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi12_default>;
>
> status = "disabled";
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 11/11] ARM: STi: STiH407: Add spi default pinctrl groups.
@ 2015-09-11 17:56 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 17:56 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> Now we have default pinconfig groups for each SPI
> controller ensure it is used by the SPI controller
> node.
>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-family.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
> index 838b812..94a2fec 100644
> --- a/arch/arm/boot/dts/stih407-family.dtsi
> +++ b/arch/arm/boot/dts/stih407-family.dtsi
> @@ -381,6 +381,8 @@
> interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi1_default>;
>
> status = "disabled";
> };
> @@ -391,6 +393,8 @@
> interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi2_default>;
>
> status = "disabled";
> };
> @@ -401,6 +405,8 @@
> interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi3_default>;
>
> status = "disabled";
> };
> @@ -411,6 +417,8 @@
> interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi4_default>;
>
> status = "disabled";
> };
> @@ -422,6 +430,8 @@
> interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_sysin>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi10_default>;
>
> status = "disabled";
> };
> @@ -432,6 +442,8 @@
> interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_sysin>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi11_default>;
>
> status = "disabled";
> };
> @@ -442,6 +454,8 @@
> interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clk_sysin>;
> clock-names = "ssc";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spi12_default>;
>
> status = "disabled";
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 10/11] ARM: DT: STiH407: Add RMII pinctrl support
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 17:57 ` Lee Jones
-1 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 17:57 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree, Giuseppe Cavallaro
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the RMII pinctrl support for the Synopsys
> MAC on STiH407 SoCs.
>
> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 473f2ea..e80cac5 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -256,6 +256,33 @@
> phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
> };
> };
> +
> + pinctrl_rmii1: rmii1-0 {
> + st,pins {
> + txd0 = <&pio0 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
> + txd1 = <&pio0 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
> + txen = <&pio0 5 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
> + mdio = <&pio1 0 ALT1 OUT BYPASS 0>;
> + mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>;
> + mdint = <&pio1 3 ALT1 IN BYPASS 0>;
> + rxd0 = <&pio1 4 ALT1 IN SE_NICLK_IO 0 CLK_B>;
> + rxd1 = <&pio1 5 ALT1 IN SE_NICLK_IO 0 CLK_B>;
> + rxdv = <&pio2 0 ALT1 IN SE_NICLK_IO 0 CLK_B>;
> + rx_er = <&pio2 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
> + };
> + };
> +
> + pinctrl_rmii1_phyclk: rmii1_phyclk {
> + st,pins {
> + phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
> + };
> + };
> +
> + pinctrl_rmii1_phyclk_ext: rmii1_phyclk_ext {
> + st,pins {
> + phyclk = <&pio2 3 ALT2 IN NICLK 0 CLK_A>;
> + };
> + };
> };
>
> pwm1 {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 10/11] ARM: DT: STiH407: Add RMII pinctrl support
@ 2015-09-11 17:57 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 17:57 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the RMII pinctrl support for the Synopsys
> MAC on STiH407 SoCs.
>
> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 473f2ea..e80cac5 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -256,6 +256,33 @@
> phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
> };
> };
> +
> + pinctrl_rmii1: rmii1-0 {
> + st,pins {
> + txd0 = <&pio0 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
> + txd1 = <&pio0 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
> + txen = <&pio0 5 ALT1 OUT SE_NICLK_IO 0 CLK_A>;
> + mdio = <&pio1 0 ALT1 OUT BYPASS 0>;
> + mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>;
> + mdint = <&pio1 3 ALT1 IN BYPASS 0>;
> + rxd0 = <&pio1 4 ALT1 IN SE_NICLK_IO 0 CLK_B>;
> + rxd1 = <&pio1 5 ALT1 IN SE_NICLK_IO 0 CLK_B>;
> + rxdv = <&pio2 0 ALT1 IN SE_NICLK_IO 0 CLK_B>;
> + rx_er = <&pio2 1 ALT1 IN SE_NICLK_IO 0 CLK_A>;
> + };
> + };
> +
> + pinctrl_rmii1_phyclk: rmii1_phyclk {
> + st,pins {
> + phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>;
> + };
> + };
> +
> + pinctrl_rmii1_phyclk_ext: rmii1_phyclk_ext {
> + st,pins {
> + phyclk = <&pio2 3 ALT2 IN NICLK 0 CLK_A>;
> + };
> + };
> };
>
> pwm1 {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 09/11] ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 17:57 ` Lee Jones
-1 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 17:57 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree,
M'boumba Cedric Madianga
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the pinconfig for IRB TX and IRB UHF.
>
> Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@st.com>
> Acked-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
I'd take out the Ack here.
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 3cd7e2a..473f2ea 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -121,6 +121,24 @@
> ir = <&pio4 0 ALT2 IN>;
> };
> };
> +
> + pinctrl_uhf: uhf0 {
> + st,pins {
> + ir = <&pio4 1 ALT2 IN>;
> + };
> + };
> +
> + pinctrl_tx: tx0 {
> + st,pins {
> + tx = <&pio4 2 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_tx_od: tx_od0 {
> + st,pins {
> + tx_od = <&pio4 3 ALT2 OUT>;
> + };
> + };
> };
>
> /* SBC_ASC0 - UART10 */
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 09/11] ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX
@ 2015-09-11 17:57 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 17:57 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the pinconfig for IRB TX and IRB UHF.
>
> Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@st.com>
> Acked-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
I'd take out the Ack here.
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 3cd7e2a..473f2ea 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -121,6 +121,24 @@
> ir = <&pio4 0 ALT2 IN>;
> };
> };
> +
> + pinctrl_uhf: uhf0 {
> + st,pins {
> + ir = <&pio4 1 ALT2 IN>;
> + };
> + };
> +
> + pinctrl_tx: tx0 {
> + st,pins {
> + tx = <&pio4 2 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_tx_od: tx_od0 {
> + st,pins {
> + tx_od = <&pio4 3 ALT2 OUT>;
> + };
> + };
> };
>
> /* SBC_ASC0 - UART10 */
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 18:00 ` Lee Jones
-1 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:00 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree, Nebil BEN MEFTEH
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the missing SD pinctrl config
> for mmc/sd controller 0. This is required to enable the
> B2144A daughter board that exposes this controller as a sd
> slot.
>
> Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
> Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
Duplicate.
> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
> Acked-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Same as before -- and for all the other patches.
Contrary to what I said before, the Ack is probably more correct here,
as I would _guess_ that Nebil wrote the patch, so his SoB should stay,
the Patrice added it to the internal tree. Convert this to an Ack
now, as he's not in the upstream delivery path.
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 798d901..3cd7e2a 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -883,6 +883,21 @@
> emmc_d7 = <&pio41 7 ALT1 BIDIR_PU>;
> };
> };
> + pinctrl_sd0: sd0-0 {
> + st,pins {
> + sd_clk = <&pio40 6 ALT1 BIDIR>;
> + sd_cmd = <&pio40 7 ALT1 BIDIR_PU>;
> + sd_dat0 = <&pio41 0 ALT1 BIDIR_PU>;
> + sd_dat1 = <&pio41 1 ALT1 BIDIR_PU>;
> + sd_dat2 = <&pio41 2 ALT1 BIDIR_PU>;
> + sd_dat3 = <&pio41 3 ALT1 BIDIR_PU>;
> + sd_led = <&pio42 0 ALT2 OUT>;
> + sd_pwren = <&pio42 2 ALT2 OUT>;
> + sd_vsel = <&pio42 3 ALT2 OUT>;
> + sd_cd = <&pio42 4 ALT2 IN>;
> + sd_wp = <&pio42 5 ALT2 IN>;
> + };
> + };
> };
>
> fsm {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
@ 2015-09-11 18:00 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:00 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the missing SD pinctrl config
> for mmc/sd controller 0. This is required to enable the
> B2144A daughter board that exposes this controller as a sd
> slot.
>
> Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
> Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
Duplicate.
> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
> Acked-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Same as before -- and for all the other patches.
Contrary to what I said before, the Ack is probably more correct here,
as I would _guess_ that Nebil wrote the patch, so his SoB should stay,
the Patrice added it to the internal tree. Convert this to an Ack
now, as he's not in the upstream delivery path.
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 798d901..3cd7e2a 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -883,6 +883,21 @@
> emmc_d7 = <&pio41 7 ALT1 BIDIR_PU>;
> };
> };
> + pinctrl_sd0: sd0-0 {
> + st,pins {
> + sd_clk = <&pio40 6 ALT1 BIDIR>;
> + sd_cmd = <&pio40 7 ALT1 BIDIR_PU>;
> + sd_dat0 = <&pio41 0 ALT1 BIDIR_PU>;
> + sd_dat1 = <&pio41 1 ALT1 BIDIR_PU>;
> + sd_dat2 = <&pio41 2 ALT1 BIDIR_PU>;
> + sd_dat3 = <&pio41 3 ALT1 BIDIR_PU>;
> + sd_led = <&pio42 0 ALT2 OUT>;
> + sd_pwren = <&pio42 2 ALT2 OUT>;
> + sd_vsel = <&pio42 3 ALT2 OUT>;
> + sd_cd = <&pio42 4 ALT2 IN>;
> + sd_wp = <&pio42 5 ALT2 IN>;
> + };
> + };
> };
>
> fsm {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 07/11] ARM: DT: STiH407: Add systrace pin configuration
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 18:00 ` Lee Jones
-1 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:00 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree, Fabrice Gasnier
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the pin config for systrace for
> STiH407 family silicon.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Besides the SoBs, which are a little confusing:
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index cde776b..798d901 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -658,6 +658,18 @@
> };
> };
> };
> +
> + systrace {
> + pinctrl_systrace_default: systrace-default {
> + st,pins {
> + trc_data0 = <&pio11 3 ALT5 OUT>;
> + trc_data1 = <&pio11 4 ALT5 OUT>;
> + trc_data2 = <&pio11 5 ALT5 OUT>;
> + trc_data3 = <&pio11 6 ALT5 OUT>;
> + trc_clk = <&pio11 7 ALT5 OUT>;
> + };
> + };
> + };
> };
>
> pin-controller-front1 {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 07/11] ARM: DT: STiH407: Add systrace pin configuration
@ 2015-09-11 18:00 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:00 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the pin config for systrace for
> STiH407 family silicon.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Besides the SoBs, which are a little confusing:
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index cde776b..798d901 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -658,6 +658,18 @@
> };
> };
> };
> +
> + systrace {
> + pinctrl_systrace_default: systrace-default {
> + st,pins {
> + trc_data0 = <&pio11 3 ALT5 OUT>;
> + trc_data1 = <&pio11 4 ALT5 OUT>;
> + trc_data2 = <&pio11 5 ALT5 OUT>;
> + trc_data3 = <&pio11 6 ALT5 OUT>;
> + trc_clk = <&pio11 7 ALT5 OUT>;
> + };
> + };
> + };
> };
>
> pin-controller-front1 {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 06/11] ARM: DT: STiH407: Add NAND flash controller pin configuration
@ 2015-09-11 18:01 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:01 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree, Christophe Kerello
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds NAND flash support controller pin configuration
> for STiH407 family silicon.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index d0f5fdd..cde776b 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -885,6 +885,29 @@
> };
> };
> };
> +
> + nand {
> + pinctrl_nand: nand {
> + st,pins {
> + nand_cs1 = <&pio40 6 ALT3 OUT>;
> + nand_cs0 = <&pio40 7 ALT3 OUT>;
> + nand_d0 = <&pio41 0 ALT3 BIDIR>;
> + nand_d1 = <&pio41 1 ALT3 BIDIR>;
> + nand_d2 = <&pio41 2 ALT3 BIDIR>;
> + nand_d3 = <&pio41 3 ALT3 BIDIR>;
> + nand_d4 = <&pio41 4 ALT3 BIDIR>;
> + nand_d5 = <&pio41 5 ALT3 BIDIR>;
> + nand_d6 = <&pio41 6 ALT3 BIDIR>;
> + nand_d7 = <&pio41 7 ALT3 BIDIR>;
> + nand_we = <&pio42 0 ALT3 OUT>;
> + nand_dqs = <&pio42 1 ALT3 OUT>;
> + nand_ale = <&pio42 2 ALT3 OUT>;
> + nand_cle = <&pio42 3 ALT3 OUT>;
> + nand_rnb = <&pio42 4 ALT3 IN>;
> + nand_oe = <&pio42 5 ALT3 OUT>;
> + };
> + };
> + };
> };
> };
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 06/11] ARM: DT: STiH407: Add NAND flash controller pin configuration
@ 2015-09-11 18:01 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:01 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w,
maxime.coquelin-qxv4g6HH51o, patrice.chotard-qxv4g6HH51o,
devicetree-u79uwXL29TY76Z2rM5mHXA, Christophe Kerello
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds NAND flash support controller pin configuration
> for STiH407 family silicon.
>
> Signed-off-by: Patrice Chotard <patrice.chotard-qxv4g6HH51o@public.gmane.org>
> Signed-off-by: Christophe Kerello <christophe.kerello-qxv4g6HH51o@public.gmane.org>
> Signed-off-by: Peter Griffin <peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
Acked-by: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index d0f5fdd..cde776b 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -885,6 +885,29 @@
> };
> };
> };
> +
> + nand {
> + pinctrl_nand: nand {
> + st,pins {
> + nand_cs1 = <&pio40 6 ALT3 OUT>;
> + nand_cs0 = <&pio40 7 ALT3 OUT>;
> + nand_d0 = <&pio41 0 ALT3 BIDIR>;
> + nand_d1 = <&pio41 1 ALT3 BIDIR>;
> + nand_d2 = <&pio41 2 ALT3 BIDIR>;
> + nand_d3 = <&pio41 3 ALT3 BIDIR>;
> + nand_d4 = <&pio41 4 ALT3 BIDIR>;
> + nand_d5 = <&pio41 5 ALT3 BIDIR>;
> + nand_d6 = <&pio41 6 ALT3 BIDIR>;
> + nand_d7 = <&pio41 7 ALT3 BIDIR>;
> + nand_we = <&pio42 0 ALT3 OUT>;
> + nand_dqs = <&pio42 1 ALT3 OUT>;
> + nand_ale = <&pio42 2 ALT3 OUT>;
> + nand_cle = <&pio42 3 ALT3 OUT>;
> + nand_rnb = <&pio42 4 ALT3 IN>;
> + nand_oe = <&pio42 5 ALT3 OUT>;
> + };
> + };
> + };
> };
> };
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 06/11] ARM: DT: STiH407: Add NAND flash controller pin configuration
@ 2015-09-11 18:01 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:01 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds NAND flash support controller pin configuration
> for STiH407 family silicon.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index d0f5fdd..cde776b 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -885,6 +885,29 @@
> };
> };
> };
> +
> + nand {
> + pinctrl_nand: nand {
> + st,pins {
> + nand_cs1 = <&pio40 6 ALT3 OUT>;
> + nand_cs0 = <&pio40 7 ALT3 OUT>;
> + nand_d0 = <&pio41 0 ALT3 BIDIR>;
> + nand_d1 = <&pio41 1 ALT3 BIDIR>;
> + nand_d2 = <&pio41 2 ALT3 BIDIR>;
> + nand_d3 = <&pio41 3 ALT3 BIDIR>;
> + nand_d4 = <&pio41 4 ALT3 BIDIR>;
> + nand_d5 = <&pio41 5 ALT3 BIDIR>;
> + nand_d6 = <&pio41 6 ALT3 BIDIR>;
> + nand_d7 = <&pio41 7 ALT3 BIDIR>;
> + nand_we = <&pio42 0 ALT3 OUT>;
> + nand_dqs = <&pio42 1 ALT3 OUT>;
> + nand_ale = <&pio42 2 ALT3 OUT>;
> + nand_cle = <&pio42 3 ALT3 OUT>;
> + nand_rnb = <&pio42 4 ALT3 IN>;
> + nand_oe = <&pio42 5 ALT3 OUT>;
> + };
> + };
> + };
> };
> };
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 05/11] ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 18:01 ` Lee Jones
-1 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:01 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree, Christophe Kerello
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the pin configuration for the NOR flash controller.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 6c81f35..d0f5fdd 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -872,6 +872,19 @@
> };
> };
> };
> +
> + fsm {
> + pinctrl_fsm: fsm {
> + st,pins {
> + spi-fsm-clk = <&pio40 1 ALT1 OUT>;
> + spi-fsm-cs = <&pio40 0 ALT1 OUT>;
> + spi-fsm-mosi = <&pio40 2 ALT1 OUT>;
> + spi-fsm-miso = <&pio40 3 ALT1 IN>;
> + spi-fsm-hol = <&pio40 5 ALT1 OUT>;
> + spi-fsm-wp = <&pio40 4 ALT1 OUT>;
> + };
> + };
> + };
> };
> };
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 05/11] ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
@ 2015-09-11 18:01 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:01 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the pin configuration for the NOR flash controller.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 6c81f35..d0f5fdd 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -872,6 +872,19 @@
> };
> };
> };
> +
> + fsm {
> + pinctrl_fsm: fsm {
> + st,pins {
> + spi-fsm-clk = <&pio40 1 ALT1 OUT>;
> + spi-fsm-cs = <&pio40 0 ALT1 OUT>;
> + spi-fsm-mosi = <&pio40 2 ALT1 OUT>;
> + spi-fsm-miso = <&pio40 3 ALT1 IN>;
> + spi-fsm-hol = <&pio40 5 ALT1 OUT>;
> + spi-fsm-wp = <&pio40 4 ALT1 OUT>;
> + };
> + };
> + };
> };
> };
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 04/11] ARM: DT: STiH407: Add serial3 pinctrl configuration
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 18:01 ` Lee Jones
-1 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:01 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree, Erwan Le Ray,
Fabrice Gasnier
On Fri, 11 Sep 2015, Peter Griffin wrote:
> Add missing serial 3 pinctrl config. This can be used
> on b2206 HVK, where it defaults to PIO31[3] & PIO31[4],
> alternate 1.
>
> Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
> Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
> Acked-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Eek!
For the patch: Acked-by: Lee Jones <lee.jones@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index bb3b0c7..6c81f35 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -809,6 +809,15 @@
> };
> };
> };
> +
> + serial3 {
> + pinctrl_serial3: serial3-0 {
> + st,pins {
> + tx = <&pio31 3 ALT1 OUT>;
> + rx = <&pio31 4 ALT1 IN>;
> + };
> + };
> + };
> };
>
> pin-controller-flash {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 04/11] ARM: DT: STiH407: Add serial3 pinctrl configuration
@ 2015-09-11 18:01 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:01 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> Add missing serial 3 pinctrl config. This can be used
> on b2206 HVK, where it defaults to PIO31[3] & PIO31[4],
> alternate 1.
>
> Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
> Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
> Acked-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Eek!
For the patch: Acked-by: Lee Jones <lee.jones@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index bb3b0c7..6c81f35 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -809,6 +809,15 @@
> };
> };
> };
> +
> + serial3 {
> + pinctrl_serial3: serial3-0 {
> + st,pins {
> + tx = <&pio31 3 ALT1 OUT>;
> + rx = <&pio31 4 ALT1 IN>;
> + };
> + };
> + };
> };
>
> pin-controller-flash {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 03/11] ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
2015-09-11 17:06 ` Peter Griffin
@ 2015-09-11 18:02 ` Lee Jones
-1 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:02 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree, Christophe Kerello
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the spi pinctrl configurations for all SPI
> controllers, and also the alternate muxings which
> can be used depending on board design.
>
> Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 239 ++++++++++++++++++++++++++++++++-
> 1 file changed, 235 insertions(+), 4 deletions(-)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index ce219a1..bb3b0c7 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -262,6 +262,57 @@
> };
> };
> };
> +
> + spi10 {
> + pinctrl_spi10_default: spi10-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio4 6 ALT1 OUT>;
> + mrst = <&pio4 7 ALT1 IN>;
> + scl = <&pio4 5 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi10_3w_alt1_0: spi10-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio4 6 ALT1 BIDIR_PU>;
> + scl = <&pio4 5 ALT1 OUT>;
> + };
> + };
> + };
> +
> + spi11 {
> + pinctrl_spi11_default: spi11-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio3 1 ALT2 OUT>;
> + mrst = <&pio3 0 ALT2 IN>;
> + scl = <&pio3 2 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi11_3w_alt2_0: spi11-3w-alt2-0 {
> + st,pins {
> + mtsr = <&pio3 1 ALT2 BIDIR_PU>;
> + scl = <&pio3 2 ALT2 OUT>;
> + };
> + };
> + };
> +
> + spi12 {
> + pinctrl_spi12_default: spi12-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio3 6 ALT2 OUT>;
> + mrst = <&pio3 4 ALT2 IN>;
> + scl = <&pio3 7 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi12_3w_alt2_0: spi12-3w-alt2-0 {
> + st,pins {
> + mtsr = <&pio3 6 ALT2 BIDIR_PU>;
> + scl = <&pio3 7 ALT2 OUT>;
> + };
> + };
> + };
> };
>
> pin-controller-front0 {
> @@ -451,11 +502,159 @@
> };
>
> spi0 {
> - pinctrl_spi0_default: spi0-default {
> + pinctrl_spi0_default: spi0-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio10 6 ALT2 OUT>;
> + mrst = <&pio10 7 ALT2 IN>;
> + scl = <&pio10 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi0_3w_alt2_0: spi0-3w-alt2-0 {
> st,pins {
> - mtsr = <&pio12 6 ALT2 BIDIR>;
> - mrst = <&pio12 7 ALT2 BIDIR>;
> - scl = <&pio12 5 ALT2 BIDIR>;
> + mtsr = <&pio10 6 ALT2 BIDIR_PU>;
> + scl = <&pio10 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi0_4w_alt1_0: spi0-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio19 7 ALT1 OUT>;
> + mrst = <&pio19 5 ALT1 IN>;
> + scl = <&pio19 6 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi0_3w_alt1_0: spi0-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio19 7 ALT1 BIDIR_PU>;
> + scl = <&pio19 6 ALT1 OUT>;
> + };
> + };
> + };
> +
> + spi1 {
> + pinctrl_spi1_default: spi1-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio11 1 ALT2 OUT>;
> + mrst = <&pio11 2 ALT2 IN>;
> + scl = <&pio11 0 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi1_3w_alt2_0: spi1-3w-alt2-0 {
> + st,pins {
> + mtsr = <&pio11 1 ALT2 BIDIR_PU>;
> + scl = <&pio11 0 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi1_4w_alt1_0: spi1-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio14 3 ALT1 OUT>;
> + mrst = <&pio14 4 ALT1 IN>;
> + scl = <&pio14 2 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi1_3w_alt1_0: spi1-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio14 3 ALT1 BIDIR_PU>;
> + scl = <&pio14 2 ALT1 OUT>;
> + };
> + };
> + };
> +
> + spi2 {
> + pinctrl_spi2_default: spi2-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio12 6 ALT2 OUT>;
> + mrst = <&pio12 7 ALT2 IN>;
> + scl = <&pio12 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_3w_alt2_0: spi2-3w-alt2-0 {
> + st,pins {
> + mtsr = <&pio12 6 ALT2 BIDIR_PU>;
> + scl = <&pio12 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_4w_alt1_0: spi2-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio14 6 ALT1 OUT>;
> + mrst = <&pio14 7 ALT1 IN>;
> + scl = <&pio14 5 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_3w_alt1_0: spi2-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio14 6 ALT1 BIDIR_PU>;
> + scl = <&pio14 5 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_4w_alt2_1: spi2-4w-alt2-1 {
> + st,pins {
> + mtsr = <&pio15 6 ALT2 OUT>;
> + mrst = <&pio15 7 ALT2 IN>;
> + scl = <&pio15 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_3w_alt2_1: spi2-3w-alt2-1 {
> + st,pins {
> + mtsr = <&pio15 6 ALT2 BIDIR_PU>;
> + scl = <&pio15 5 ALT2 OUT>;
> + };
> + };
> + };
> +
> + spi3 {
> + pinctrl_spi3_default: spi3-4w-alt3-0 {
> + st,pins {
> + mtsr = <&pio13 6 ALT3 OUT>;
> + mrst = <&pio13 7 ALT3 IN>;
> + scl = <&pio13 5 ALT3 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_3w_alt3_0: spi3-3w-alt3-0 {
> + st,pins {
> + mtsr = <&pio13 6 ALT3 BIDIR_PU>;
> + scl = <&pio13 5 ALT3 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_4w_alt1_0: spi3-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio17 7 ALT1 OUT>;
> + mrst = <&pio17 5 ALT1 IN>;
> + scl = <&pio17 6 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_3w_alt1_0: spi3-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio17 7 ALT1 BIDIR_PU>;
> + scl = <&pio17 6 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_4w_alt1_1: spi3-4w-alt1-1 {
> + st,pins {
> + mtsr = <&pio18 6 ALT1 OUT>;
> + mrst = <&pio18 7 ALT1 IN>;
> + scl = <&pio18 5 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_3w_alt1_1: spi3-3w-alt1-1 {
> + st,pins {
> + mtsr = <&pio18 6 ALT1 BIDIR_PU>;
> + scl = <&pio18 5 ALT1 OUT>;
> };
> };
> };
> @@ -578,6 +777,38 @@
> };
> };
> };
> +
> + spi4 {
> + pinctrl_spi4_default: spi4-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio30 1 ALT1 OUT>;
> + mrst = <&pio30 2 ALT1 IN>;
> + scl = <&pio30 0 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi4_3w_alt1_0: spi4-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio30 1 ALT1 BIDIR_PU>;
> + scl = <&pio30 0 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi4_4w_alt3_0: spi4-4w-alt3-0 {
> + st,pins {
> + mtsr = <&pio34 1 ALT3 OUT>;
> + mrst = <&pio34 2 ALT3 IN>;
> + scl = <&pio34 0 ALT3 OUT>;
> + };
> + };
> +
> + pinctrl_spi4_3w_alt3_0: spi4-3w-alt3-0 {
> + st,pins {
> + mtsr = <&pio34 1 ALT3 BIDIR_PU>;
> + scl = <&pio34 0 ALT3 OUT>;
> + };
> + };
> + };
> };
>
> pin-controller-flash {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 03/11] ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
@ 2015-09-11 18:02 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:02 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This patch adds the spi pinctrl configurations for all SPI
> controllers, and also the alternate muxings which
> can be used depending on board design.
>
> Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 239 ++++++++++++++++++++++++++++++++-
> 1 file changed, 235 insertions(+), 4 deletions(-)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index ce219a1..bb3b0c7 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -262,6 +262,57 @@
> };
> };
> };
> +
> + spi10 {
> + pinctrl_spi10_default: spi10-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio4 6 ALT1 OUT>;
> + mrst = <&pio4 7 ALT1 IN>;
> + scl = <&pio4 5 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi10_3w_alt1_0: spi10-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio4 6 ALT1 BIDIR_PU>;
> + scl = <&pio4 5 ALT1 OUT>;
> + };
> + };
> + };
> +
> + spi11 {
> + pinctrl_spi11_default: spi11-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio3 1 ALT2 OUT>;
> + mrst = <&pio3 0 ALT2 IN>;
> + scl = <&pio3 2 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi11_3w_alt2_0: spi11-3w-alt2-0 {
> + st,pins {
> + mtsr = <&pio3 1 ALT2 BIDIR_PU>;
> + scl = <&pio3 2 ALT2 OUT>;
> + };
> + };
> + };
> +
> + spi12 {
> + pinctrl_spi12_default: spi12-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio3 6 ALT2 OUT>;
> + mrst = <&pio3 4 ALT2 IN>;
> + scl = <&pio3 7 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi12_3w_alt2_0: spi12-3w-alt2-0 {
> + st,pins {
> + mtsr = <&pio3 6 ALT2 BIDIR_PU>;
> + scl = <&pio3 7 ALT2 OUT>;
> + };
> + };
> + };
> };
>
> pin-controller-front0 {
> @@ -451,11 +502,159 @@
> };
>
> spi0 {
> - pinctrl_spi0_default: spi0-default {
> + pinctrl_spi0_default: spi0-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio10 6 ALT2 OUT>;
> + mrst = <&pio10 7 ALT2 IN>;
> + scl = <&pio10 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi0_3w_alt2_0: spi0-3w-alt2-0 {
> st,pins {
> - mtsr = <&pio12 6 ALT2 BIDIR>;
> - mrst = <&pio12 7 ALT2 BIDIR>;
> - scl = <&pio12 5 ALT2 BIDIR>;
> + mtsr = <&pio10 6 ALT2 BIDIR_PU>;
> + scl = <&pio10 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi0_4w_alt1_0: spi0-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio19 7 ALT1 OUT>;
> + mrst = <&pio19 5 ALT1 IN>;
> + scl = <&pio19 6 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi0_3w_alt1_0: spi0-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio19 7 ALT1 BIDIR_PU>;
> + scl = <&pio19 6 ALT1 OUT>;
> + };
> + };
> + };
> +
> + spi1 {
> + pinctrl_spi1_default: spi1-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio11 1 ALT2 OUT>;
> + mrst = <&pio11 2 ALT2 IN>;
> + scl = <&pio11 0 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi1_3w_alt2_0: spi1-3w-alt2-0 {
> + st,pins {
> + mtsr = <&pio11 1 ALT2 BIDIR_PU>;
> + scl = <&pio11 0 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi1_4w_alt1_0: spi1-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio14 3 ALT1 OUT>;
> + mrst = <&pio14 4 ALT1 IN>;
> + scl = <&pio14 2 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi1_3w_alt1_0: spi1-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio14 3 ALT1 BIDIR_PU>;
> + scl = <&pio14 2 ALT1 OUT>;
> + };
> + };
> + };
> +
> + spi2 {
> + pinctrl_spi2_default: spi2-4w-alt2-0 {
> + st,pins {
> + mtsr = <&pio12 6 ALT2 OUT>;
> + mrst = <&pio12 7 ALT2 IN>;
> + scl = <&pio12 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_3w_alt2_0: spi2-3w-alt2-0 {
> + st,pins {
> + mtsr = <&pio12 6 ALT2 BIDIR_PU>;
> + scl = <&pio12 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_4w_alt1_0: spi2-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio14 6 ALT1 OUT>;
> + mrst = <&pio14 7 ALT1 IN>;
> + scl = <&pio14 5 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_3w_alt1_0: spi2-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio14 6 ALT1 BIDIR_PU>;
> + scl = <&pio14 5 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_4w_alt2_1: spi2-4w-alt2-1 {
> + st,pins {
> + mtsr = <&pio15 6 ALT2 OUT>;
> + mrst = <&pio15 7 ALT2 IN>;
> + scl = <&pio15 5 ALT2 OUT>;
> + };
> + };
> +
> + pinctrl_spi2_3w_alt2_1: spi2-3w-alt2-1 {
> + st,pins {
> + mtsr = <&pio15 6 ALT2 BIDIR_PU>;
> + scl = <&pio15 5 ALT2 OUT>;
> + };
> + };
> + };
> +
> + spi3 {
> + pinctrl_spi3_default: spi3-4w-alt3-0 {
> + st,pins {
> + mtsr = <&pio13 6 ALT3 OUT>;
> + mrst = <&pio13 7 ALT3 IN>;
> + scl = <&pio13 5 ALT3 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_3w_alt3_0: spi3-3w-alt3-0 {
> + st,pins {
> + mtsr = <&pio13 6 ALT3 BIDIR_PU>;
> + scl = <&pio13 5 ALT3 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_4w_alt1_0: spi3-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio17 7 ALT1 OUT>;
> + mrst = <&pio17 5 ALT1 IN>;
> + scl = <&pio17 6 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_3w_alt1_0: spi3-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio17 7 ALT1 BIDIR_PU>;
> + scl = <&pio17 6 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_4w_alt1_1: spi3-4w-alt1-1 {
> + st,pins {
> + mtsr = <&pio18 6 ALT1 OUT>;
> + mrst = <&pio18 7 ALT1 IN>;
> + scl = <&pio18 5 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi3_3w_alt1_1: spi3-3w-alt1-1 {
> + st,pins {
> + mtsr = <&pio18 6 ALT1 BIDIR_PU>;
> + scl = <&pio18 5 ALT1 OUT>;
> };
> };
> };
> @@ -578,6 +777,38 @@
> };
> };
> };
> +
> + spi4 {
> + pinctrl_spi4_default: spi4-4w-alt1-0 {
> + st,pins {
> + mtsr = <&pio30 1 ALT1 OUT>;
> + mrst = <&pio30 2 ALT1 IN>;
> + scl = <&pio30 0 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi4_3w_alt1_0: spi4-3w-alt1-0 {
> + st,pins {
> + mtsr = <&pio30 1 ALT1 BIDIR_PU>;
> + scl = <&pio30 0 ALT1 OUT>;
> + };
> + };
> +
> + pinctrl_spi4_4w_alt3_0: spi4-4w-alt3-0 {
> + st,pins {
> + mtsr = <&pio34 1 ALT3 OUT>;
> + mrst = <&pio34 2 ALT3 IN>;
> + scl = <&pio34 0 ALT3 OUT>;
> + };
> + };
> +
> + pinctrl_spi4_3w_alt3_0: spi4-3w-alt3-0 {
> + st,pins {
> + mtsr = <&pio34 1 ALT3 BIDIR_PU>;
> + scl = <&pio34 0 ALT3 OUT>;
> + };
> + };
> + };
> };
>
> pin-controller-flash {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 02/11] ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
@ 2015-09-11 18:02 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:02 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree, Seraphin Bonnaffe
On Fri, 11 Sep 2015, Peter Griffin wrote:
> i2c3 controller can use several sets of pins depending
> on board design. This patch adds the missing alternate
> pinconfigs.
>
> Signed-off-by: Seraphin Bonnaffe <seraphin.bonnaffe@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index d86ccc8..ce219a1 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -430,12 +430,24 @@
> };
>
> i2c3 {
> - pinctrl_i2c3_default: i2c3-default {
> + pinctrl_i2c3_default: i2c3-alt1-0 {
> st,pins {
> sda = <&pio18 6 ALT1 BIDIR>;
> scl = <&pio18 5 ALT1 BIDIR>;
> };
> };
> + pinctrl_i2c3_alt1_1: i2c3-alt1-1 {
> + st,pins {
> + sda = <&pio17 7 ALT1 BIDIR>;
> + scl = <&pio17 6 ALT1 BIDIR>;
> + };
> + };
> + pinctrl_i2c3_alt3_0: i2c3-alt3-0 {
> + st,pins {
> + sda = <&pio13 6 ALT3 BIDIR>;
> + scl = <&pio13 5 ALT3 BIDIR>;
> + };
> + };
> };
>
> spi0 {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 02/11] ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
@ 2015-09-11 18:02 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:02 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w,
maxime.coquelin-qxv4g6HH51o, patrice.chotard-qxv4g6HH51o,
devicetree-u79uwXL29TY76Z2rM5mHXA, Seraphin Bonnaffe
On Fri, 11 Sep 2015, Peter Griffin wrote:
> i2c3 controller can use several sets of pins depending
> on board design. This patch adds the missing alternate
> pinconfigs.
>
> Signed-off-by: Seraphin Bonnaffe <seraphin.bonnaffe-qxv4g6HH51o@public.gmane.org>
> Signed-off-by: Peter Griffin <peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
Acked-by: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index d86ccc8..ce219a1 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -430,12 +430,24 @@
> };
>
> i2c3 {
> - pinctrl_i2c3_default: i2c3-default {
> + pinctrl_i2c3_default: i2c3-alt1-0 {
> st,pins {
> sda = <&pio18 6 ALT1 BIDIR>;
> scl = <&pio18 5 ALT1 BIDIR>;
> };
> };
> + pinctrl_i2c3_alt1_1: i2c3-alt1-1 {
> + st,pins {
> + sda = <&pio17 7 ALT1 BIDIR>;
> + scl = <&pio17 6 ALT1 BIDIR>;
> + };
> + };
> + pinctrl_i2c3_alt3_0: i2c3-alt3-0 {
> + st,pins {
> + sda = <&pio13 6 ALT3 BIDIR>;
> + scl = <&pio13 5 ALT3 BIDIR>;
> + };
> + };
> };
>
> spi0 {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 02/11] ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
@ 2015-09-11 18:02 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:02 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> i2c3 controller can use several sets of pins depending
> on board design. This patch adds the missing alternate
> pinconfigs.
>
> Signed-off-by: Seraphin Bonnaffe <seraphin.bonnaffe@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index d86ccc8..ce219a1 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -430,12 +430,24 @@
> };
>
> i2c3 {
> - pinctrl_i2c3_default: i2c3-default {
> + pinctrl_i2c3_default: i2c3-alt1-0 {
> st,pins {
> sda = <&pio18 6 ALT1 BIDIR>;
> scl = <&pio18 5 ALT1 BIDIR>;
> };
> };
> + pinctrl_i2c3_alt1_1: i2c3-alt1-1 {
> + st,pins {
> + sda = <&pio17 7 ALT1 BIDIR>;
> + scl = <&pio17 6 ALT1 BIDIR>;
> + };
> + };
> + pinctrl_i2c3_alt3_0: i2c3-alt3-0 {
> + st,pins {
> + sda = <&pio13 6 ALT3 BIDIR>;
> + scl = <&pio13 5 ALT3 BIDIR>;
> + };
> + };
> };
>
> spi0 {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 01/11] ARM: STi: DT: STiH407: Add a cec0 pin definition
@ 2015-09-11 18:03 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:03 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel, linux-kernel, srinivas.kandagatla,
maxime.coquelin, patrice.chotard, devicetree, Erwan Le Ray,
Nicolas Vanhaelewyn
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This pin setup provides the correct configuration in order to
> interact with the CEC HW.
>
> Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
> Signed-off-by: Nicolas Vanhaelewyn <nicolas.vanhaelewyn@st.com>
> Acked-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Duplicate.
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
For the patch: Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 0a754f2..d86ccc8 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -107,6 +107,14 @@
> st,retime-pin-mask = <0x3f>;
> };
>
> + cec0 {
> + pinctrl_cec0_default: cec0-default {
> + st,pins {
> + hdmi_cec = <&pio2 4 ALT1 BIDIR>;
> + };
> + };
> + };
> +
> rc {
> pinctrl_ir: ir0 {
> st,pins {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 01/11] ARM: STi: DT: STiH407: Add a cec0 pin definition
@ 2015-09-11 18:03 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:03 UTC (permalink / raw)
To: Peter Griffin
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w,
maxime.coquelin-qxv4g6HH51o, patrice.chotard-qxv4g6HH51o,
devicetree-u79uwXL29TY76Z2rM5mHXA, Erwan Le Ray,
Nicolas Vanhaelewyn
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This pin setup provides the correct configuration in order to
> interact with the CEC HW.
>
> Signed-off-by: Erwan Le Ray <erwan.leray-qxv4g6HH51o@public.gmane.org>
> Signed-off-by: Nicolas Vanhaelewyn <nicolas.vanhaelewyn-qxv4g6HH51o@public.gmane.org>
> Acked-by: Patrice Chotard <patrice.chotard-qxv4g6HH51o@public.gmane.org>
> Signed-off-by: Patrice Chotard <patrice.chotard-qxv4g6HH51o@public.gmane.org>
Duplicate.
> Signed-off-by: Peter Griffin <peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
For the patch: Acked-by: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 0a754f2..d86ccc8 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -107,6 +107,14 @@
> st,retime-pin-mask = <0x3f>;
> };
>
> + cec0 {
> + pinctrl_cec0_default: cec0-default {
> + st,pins {
> + hdmi_cec = <&pio2 4 ALT1 BIDIR>;
> + };
> + };
> + };
> +
> rc {
> pinctrl_ir: ir0 {
> st,pins {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 01/11] ARM: STi: DT: STiH407: Add a cec0 pin definition
@ 2015-09-11 18:03 ` Lee Jones
0 siblings, 0 replies; 58+ messages in thread
From: Lee Jones @ 2015-09-11 18:03 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 11 Sep 2015, Peter Griffin wrote:
> This pin setup provides the correct configuration in order to
> interact with the CEC HW.
>
> Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
> Signed-off-by: Nicolas Vanhaelewyn <nicolas.vanhaelewyn@st.com>
> Acked-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Duplicate.
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
For the patch: Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 0a754f2..d86ccc8 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -107,6 +107,14 @@
> st,retime-pin-mask = <0x3f>;
> };
>
> + cec0 {
> + pinctrl_cec0_default: cec0-default {
> + st,pins {
> + hdmi_cec = <&pio2 4 ALT1 BIDIR>;
> + };
> + };
> + };
> +
> rc {
> pinctrl_ir: ir0 {
> st,pins {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 00/11] ARM: STi: STiH407: Pinctrl updates
@ 2015-09-14 12:32 ` Patrice Chotard
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Chotard @ 2015-09-14 12:32 UTC (permalink / raw)
To: Peter Griffin, linux-arm-kernel, linux-kernel,
srinivas.kandagatla, maxime.coquelin
Cc: lee.jones, devicetree
Hi Peter
As already pointed by Lee, my signed-off needs to be removed from
several patches
The overall series seems ok.
You can add my Acked-by
Thanks
On 09/11/2015 07:06 PM, Peter Griffin wrote:
> Hi Maxime / Patrice / Srini,
>
> This series makes a series of updates to the stih407 pinctrl groups
> and makes the upstream kernel more closely aligned in terms of pin
> configuration to the vendor kernel.
>
> A number of new periphs are added such as spi fsm, nand, cec0, and
> for others such as SPI the various alternate function pin muxings have
> been added. Finally for SPI the controller nodes have been updated
> to have the default pin assignment in the controller node.
>
> kind regards,
>
> Peter.
>
> Peter Griffin (11):
> ARM: STi: DT: STiH407: Add a cec0 pin definition
> ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
> ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
> ARM: DT: STiH407: Add serial3 pinctrl configuration
> ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
> ARM: DT: STiH407: Add NAND flash controller pin configuration
> ARM: DT: STiH407: Add systrace pin configuration
> ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
> ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX
> ARM: DT: STiH407: Add RMII pinctrl support
> ARM: STi: STiH407: Add spi default pinctrl groups.
>
> arch/arm/boot/dts/stih407-family.dtsi | 14 ++
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 378 ++++++++++++++++++++++++++++++++-
> 2 files changed, 387 insertions(+), 5 deletions(-)
>
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PATCH 00/11] ARM: STi: STiH407: Pinctrl updates
@ 2015-09-14 12:32 ` Patrice Chotard
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Chotard @ 2015-09-14 12:32 UTC (permalink / raw)
To: Peter Griffin, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w,
maxime.coquelin-qxv4g6HH51o
Cc: lee.jones-QSEj5FYQhm4dnm+yROfE0A,
devicetree-u79uwXL29TY76Z2rM5mHXA
Hi Peter
As already pointed by Lee, my signed-off needs to be removed from
several patches
The overall series seems ok.
You can add my Acked-by
Thanks
On 09/11/2015 07:06 PM, Peter Griffin wrote:
> Hi Maxime / Patrice / Srini,
>
> This series makes a series of updates to the stih407 pinctrl groups
> and makes the upstream kernel more closely aligned in terms of pin
> configuration to the vendor kernel.
>
> A number of new periphs are added such as spi fsm, nand, cec0, and
> for others such as SPI the various alternate function pin muxings have
> been added. Finally for SPI the controller nodes have been updated
> to have the default pin assignment in the controller node.
>
> kind regards,
>
> Peter.
>
> Peter Griffin (11):
> ARM: STi: DT: STiH407: Add a cec0 pin definition
> ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
> ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
> ARM: DT: STiH407: Add serial3 pinctrl configuration
> ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
> ARM: DT: STiH407: Add NAND flash controller pin configuration
> ARM: DT: STiH407: Add systrace pin configuration
> ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
> ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX
> ARM: DT: STiH407: Add RMII pinctrl support
> ARM: STi: STiH407: Add spi default pinctrl groups.
>
> arch/arm/boot/dts/stih407-family.dtsi | 14 ++
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 378 ++++++++++++++++++++++++++++++++-
> 2 files changed, 387 insertions(+), 5 deletions(-)
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 58+ messages in thread
* [PATCH 00/11] ARM: STi: STiH407: Pinctrl updates
@ 2015-09-14 12:32 ` Patrice Chotard
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Chotard @ 2015-09-14 12:32 UTC (permalink / raw)
To: linux-arm-kernel
Hi Peter
As already pointed by Lee, my signed-off needs to be removed from
several patches
The overall series seems ok.
You can add my Acked-by
Thanks
On 09/11/2015 07:06 PM, Peter Griffin wrote:
> Hi Maxime / Patrice / Srini,
>
> This series makes a series of updates to the stih407 pinctrl groups
> and makes the upstream kernel more closely aligned in terms of pin
> configuration to the vendor kernel.
>
> A number of new periphs are added such as spi fsm, nand, cec0, and
> for others such as SPI the various alternate function pin muxings have
> been added. Finally for SPI the controller nodes have been updated
> to have the default pin assignment in the controller node.
>
> kind regards,
>
> Peter.
>
> Peter Griffin (11):
> ARM: STi: DT: STiH407: Add a cec0 pin definition
> ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
> ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs
> ARM: DT: STiH407: Add serial3 pinctrl configuration
> ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
> ARM: DT: STiH407: Add NAND flash controller pin configuration
> ARM: DT: STiH407: Add systrace pin configuration
> ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
> ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX
> ARM: DT: STiH407: Add RMII pinctrl support
> ARM: STi: STiH407: Add spi default pinctrl groups.
>
> arch/arm/boot/dts/stih407-family.dtsi | 14 ++
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 378 ++++++++++++++++++++++++++++++++-
> 2 files changed, 387 insertions(+), 5 deletions(-)
>
^ permalink raw reply [flat|nested] 58+ messages in thread
end of thread, other threads:[~2015-09-14 12:33 UTC | newest]
Thread overview: 58+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-11 17:06 [PATCH 00/11] ARM: STi: STiH407: Pinctrl updates Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:06 ` [PATCH 01/11] ARM: STi: DT: STiH407: Add a cec0 pin definition Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 18:03 ` Lee Jones
2015-09-11 18:03 ` Lee Jones
2015-09-11 18:03 ` Lee Jones
2015-09-11 17:06 ` [PATCH 02/11] ARM: STi: DT: STiH407: Add i2c3 alternate pin configs Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 18:02 ` Lee Jones
2015-09-11 18:02 ` Lee Jones
2015-09-11 18:02 ` Lee Jones
2015-09-11 17:06 ` [PATCH 03/11] ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 18:02 ` Lee Jones
2015-09-11 18:02 ` Lee Jones
2015-09-11 17:06 ` [PATCH 04/11] ARM: DT: STiH407: Add serial3 pinctrl configuration Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 18:01 ` Lee Jones
2015-09-11 18:01 ` Lee Jones
2015-09-11 17:06 ` [PATCH 05/11] ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 18:01 ` Lee Jones
2015-09-11 18:01 ` Lee Jones
2015-09-11 17:06 ` [PATCH 06/11] ARM: DT: STiH407: Add NAND flash controller pin configuration Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 18:01 ` Lee Jones
2015-09-11 18:01 ` Lee Jones
2015-09-11 18:01 ` Lee Jones
2015-09-11 17:06 ` [PATCH 07/11] ARM: DT: STiH407: Add systrace " Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 18:00 ` Lee Jones
2015-09-11 18:00 ` Lee Jones
2015-09-11 17:06 ` [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 18:00 ` Lee Jones
2015-09-11 18:00 ` Lee Jones
2015-09-11 17:06 ` [PATCH 09/11] ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:57 ` Lee Jones
2015-09-11 17:57 ` Lee Jones
2015-09-11 17:06 ` [PATCH 10/11] ARM: DT: STiH407: Add RMII pinctrl support Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:57 ` Lee Jones
2015-09-11 17:57 ` Lee Jones
2015-09-11 17:06 ` [PATCH 11/11] ARM: STi: STiH407: Add spi default pinctrl groups Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:06 ` Peter Griffin
2015-09-11 17:56 ` Lee Jones
2015-09-11 17:56 ` Lee Jones
2015-09-14 12:32 ` [PATCH 00/11] ARM: STi: STiH407: Pinctrl updates Patrice Chotard
2015-09-14 12:32 ` Patrice Chotard
2015-09-14 12:32 ` Patrice Chotard
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.