Skip to contentSkip to conversation

ARM: dts: enable pinctrl for Broadcom NSP

PATCH Applied Yendapally Reddy Dhananjaya Reddy 5 participants 6 messages Nov 20, 2015 – Dec 1, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 ARM: dts: enable pinctrl for Broadcom NSP

This enables the pinctrl support for Broadcom NSP SoC

---
 arch/arm/boot/dts/bcm-nsp.dtsi   | 7 +++++++
 arch/arm/boot/dts/bcm958625k.dts | 9 +++++++++
 2 files changed, 16 insertions(+)
arch/arm/boot/dts/bcm-nsp.dtsi +7 -0
index b74438c..a16d743 100644
@@ -226,5 +226,12 @@
 			interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
 			clock-frequency = <100000>;
 		};
+
+		pinctrl: pinctrl at 3f1c0 {
+			compatible = "brcm,nsp-pinmux";
+			reg = <0x3f1c0 0x04>,
+			      <0x30028 0x04>,
+			      <0x3f408 0x04>;
+		};
 	};
 };
arch/arm/boot/dts/bcm958625k.dts +9 -0
index b966955..e298450 100644
@@ -105,3 +105,12 @@
 		};
 	};
 };
+
+&pinctrl {
+	pinctrl-names = "default";
+	pinctrl-0 = <&nand_sel>;
+	nand_sel: nand_sel {
+		function = "nand";
+		groups = "nand_grp";
+	};
+};
Signature · 1 line
2.1.0
#1 lore raw
Quoted 3 lines · Yendapally Reddy Dhananjaya Reddy

This enables the pinctrl support for Broadcom NSP SoC

Looks like a sane pinctrl node here, unless there are objections, I would like to go ahead and apply this for v4.5, thanks!

Quoted 40 lines
---
 arch/arm/boot/dts/bcm-nsp.dtsi   | 7 +++++++
 arch/arm/boot/dts/bcm958625k.dts | 9 +++++++++
 2 files changed, 16 insertions(+)
arch/arm/boot/dts/bcm-nsp.dtsi +7 -0
index b74438c..a16d743 100644
@@ -226,5 +226,12 @@
 			interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
 			clock-frequency = <100000>;
 		};
+
+		pinctrl: pinctrl at 3f1c0 {
+			compatible = "brcm,nsp-pinmux";
+			reg = <0x3f1c0 0x04>,
+			      <0x30028 0x04>,
+			      <0x3f408 0x04>;
+		};
 	};
 };
arch/arm/boot/dts/bcm958625k.dts +9 -0
index b966955..e298450 100644
@@ -105,3 +105,12 @@
 		};
 	};
 };
+
+&pinctrl {
+	pinctrl-names = "default";
+	pinctrl-0 = <&nand_sel>;
+	nand_sel: nand_sel {
+		function = "nand";
+		groups = "nand_grp";
+	};
+};
Signature · 1 line
Florian
#2 lore raw
Quoted 7 lines · Florian Fainelli
Quoted 3 lines · Yendapally Reddy Dhananjaya Reddy

This enables the pinctrl support for Broadcom NSP SoC

Looks like a sane pinctrl node here, unless there are objections, I would like to go ahead and apply this for v4.5, thanks!

I'm waiting for an indication from the other BCM pinctrl maintainers to tell whether this SoC is unique enough to deserve its own driver.

Yours,
Linus Walleij

maintainer
#3 lore raw

Hi Linus,

Quoted 4 lines · Linus Walleij
Quoted 3 lines · Florian Fainelli
Quoted 2 lines · Yendapally Reddy Dhananjaya Reddy

This enables the pinctrl support for Broadcom NSP SoC

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Looks like a sane pinctrl node here, unless there are objections, I would like to go ahead and apply this for v4.5, thanks!

I'm waiting for an indication from the other BCM pinctrl maintainers to tell whether this SoC is unique enough to deserve its own driver.

If Stephen Warren is the other maintainer you are talking about he does not work at Broadcom. I don't think he is familiar with the variety of pinctrl implementations present. But yes, the pinctrl implementations have been rather unique in these Socs. As Ray indicated we're trying to get the silicon designers to standardize more going forward so we don't have to create unique drivers for these SoCs.

Quoted 4 lines

Yours,
Linus Walleij

Regards,
Scott

maintainer
#4 lore raw
Quoted 17 lines · Scott Branden

Hi Linus,

Quoted 8 lines · Linus Walleij
Quoted 6 lines · Florian Fainelli
Quoted 4 lines · Yendapally Reddy Dhananjaya Reddy

This enables the pinctrl support for Broadcom NSP SoC

Signed-off-by: Yendapally Reddy Dhananjaya Reddy
<[email protected]>

Quoted 6 lines
Quoted 2 lines

Looks like a sane pinctrl node here, unless there are objections, I would like to go ahead and apply this for v4.5, thanks!

I'm waiting for an indication from the other BCM pinctrl maintainers to tell whether this SoC is unique enough to deserve its own driver.

Quoted 6 lines

If Stephen Warren is the other maintainer you are talking about he does not work at Broadcom. I don't think he is familiar with the variety of pinctrl implementations present. But yes, the pinctrl implementations have been rather unique in these Socs. As Ray indicated we're trying to get the silicon designers to standardize more going forward so we don't have to create unique drivers for these SoCs.

Yes. Hopefully NSP and NS2 will be the last iProc based SoCs that require unique pinmux driver.

Quoted 8 lines
Quoted 4 lines

Yours,
Linus Walleij

Regards,
Scott

Thanks,

Ray