[PATCH 2/2] ARM: dts: imx6q: Invert the GPIO controller order

Shawn Guo shawn.guo at linaro.org
Mon Jul 30 05:01:35 EDT 2012


On Mon, Jul 30, 2012 at 09:28:21AM +0200, Thomae Matthias (CM-AI/PJ-CF31) wrote:
> I care about the global number because it is used to access GPIOs
> from userspace via the Sysfs interface (see Documentation/gpio.txt).
> 
Understood.  But proposed the solution does not look right.

I think we can define alias for gpio ports in device tree and have
gpio driver identify the port via alias, and then we specify the
numbers rather than having them dynamically allocated by gpio core.

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list