Skip to contentSkip to conversation

arm64: dts: qcom: ipq8074: Remove unused gpio from QPIC pins

PATCH Applied Paweł Owoc 3 participants 3 messages Mar 13, 2024 – Apr 4, 2024

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

PATCH 1/1 arm64: dts: qcom: ipq8074: Remove unused gpio from QPIC pins

gpio16 will only be used for LCD support, as its NAND/LCDC data[8] so its bit 9 of the parallel QPIC interface, and ONFI NAND is only 8 or 16-bit with only 8-bit one being supported in our case so that pin is unused.

It should be dropped from the default NAND pinctrl configuration as its unused and only needed for LCD.

---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +1 -1
index e5b89753aa5c..8bed34174460 100644
@@ -349,7 +349,7 @@ qpic_pins: qpic-state {
 				       "gpio5", "gpio6", "gpio7",
 				       "gpio8", "gpio10", "gpio11",
 				       "gpio12", "gpio13", "gpio14",
-				       "gpio15", "gpio16", "gpio17";
+				       "gpio15", "gpio17";
 				function = "qpic";
 				drive-strength = <8>;
 				bias-disable;
Signature · 1 line
2.44.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Paweł Owoc

gpio16 will only be used for LCD support, as its NAND/LCDC data[8] so its bit 9 of the parallel QPIC interface, and ONFI NAND is only 8 or 16-bit with only 8-bit one being supported in our case so that pin is unused.

It should be dropped from the default NAND pinctrl configuration as its unused and only needed for LCD.

Matches with downstream.

Quoted 19 lines
---
  arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +1 -1
index e5b89753aa5c..8bed34174460 100644
@@ -349,7 +349,7 @@ qpic_pins: qpic-state {
  				       "gpio5", "gpio6", "gpio7",
  				       "gpio8", "gpio10", "gpio11",
  				       "gpio12", "gpio13", "gpio14",
-				       "gpio15", "gpio16", "gpio17";
+				       "gpio15", "gpio17";
  				function = "qpic";
  				drive-strength = <8>;
  				bias-disable;
maintainer Applied
#2 lore raw
In reply to Paweł Owoc
Quoted 9 lines · Paweł Owoc

gpio16 will only be used for LCD support, as its NAND/LCDC data[8] so its bit 9 of the parallel QPIC interface, and ONFI NAND is only 8 or 16-bit with only 8-bit one being supported in our case so that pin is unused.

It should be dropped from the default NAND pinctrl configuration as its unused and only needed for LCD.

[...]

Applied, thanks!

[1/1] arm64: dts: qcom: ipq8074: Remove unused gpio from QPIC pins

      commit: 5f78d9213ae753e2242b0f6a5d4a5e98e55ddc76

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>