Skip to contentSkip to conversation

ARM: tegra30: tegra30 gpio is not compatible with tegra20 gpio

PATCH Applied Laxman Dewangan 2 participants 4 messages Dec 19, 2012 – Jan 2, 2013

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

PATCH 1/1 ARM: tegra30: tegra30 gpio is not compatible with tegra20 gpio

tegra30 gpio controller is not compatible with the tegra20 due to their bank stride i.e. Tegra20 bank stride is 0x80 where Tegra30 bank stride is 0x100.

---
 arch/arm/boot/dts/tegra30.dtsi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/boot/dts/tegra30.dtsi +1 -1
index 80a0edf..dfa9f57 100644
@@ -176,7 +176,7 @@
 	};
 
 	gpio: gpio {
-		compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio";
+		compatible = "nvidia,tegra30-gpio"
 		reg = <0x6000d000 0x1000>;
 		interrupts = <0 32 0x04
 			      0 33 0x04
Signature · 1 line
1.7.1.1
#1 lore raw
Quoted 3 lines · Laxman Dewangan

tegra30 gpio controller is not compatible with the tegra20 due to their bank stride i.e. Tegra20 bank stride is 0x80 where Tegra30 bank stride is 0x100.

Thanks, I've been meaning to clean this up for a while, but never got around to it. I can apply after the merge window is closed; I don't think it's important enough to warrant going into 3.8 or earlier, since it doesn't cause any active problems.

Have you checked all the other devices to make sure they're all correct to?

#2 lore raw
Quoted 10 lines · Stephen Warren
Quoted 3 lines · Laxman Dewangan

tegra30 gpio controller is not compatible with the tegra20 due to their bank stride i.e. Tegra20 bank stride is 0x80 where Tegra30 bank stride is 0x100.

Thanks, I've been meaning to clean this up for a while, but never got around to it. I can apply after the merge window is closed; I don't think it's important enough to warrant going into 3.8 or earlier, since it doesn't cause any active problems.

Have you checked all the other devices to make sure they're all correct to?

Not yet, I am going one by one for finding if anything we are missing on IO drivers or not and then came across this.

#3 lore raw
In reply to Laxman Dewangan
Quoted 3 lines · Laxman Dewangan

tegra30 gpio controller is not compatible with the tegra20 due to their bank stride i.e. Tegra20 bank stride is 0x80 where Tegra30 bank stride is 0x100.

Applied to Tegra's for-3.9/dt branch.