
24 Jan
2014
24 Jan
'14
6:46 p.m.
On 01/24/2014 08:20 AM, Thierry Reding wrote:
On Thu, Jan 23, 2014 at 05:42:54PM -0700, Stephen Warren wrote:
diff --git a/arch/arm/include/asm/arch-tegra124/gpio.h b/arch/arm/include/asm/arch-tegra124/gpio.h
[...]
+enum gpio_pin {
- GPIO_PA0 = 0, /* pin 0 */
[...]
- GPIO_PFF7, /* pin 255 */
+};
Perhaps this should be converted to something similar to what we have in the kernel? We essentially duplicate this list for every SoC generation.
I think there's quite a bit of opportunity to unify the headers and drivers for the on-SoC devices. I keep dreaming of an intern that can do a whole bunch of that. Maybe I'll manage to slowly trickle in some patches for it; we'll see.
I'll fix up the other issues you mentioned.