[PATCH] pinctrl: imx25: fix numbering for pins

Fabio Estevam festevam at gmail.com
Tue Jan 27 16:39:40 PST 2015


On Tue, Jan 27, 2015 at 9:45 PM, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
> The pin id for a given tuple listed in a fsl,pins property is calculated
> by dividing the first entry (which is also a register offset) by 4.
> As the first available register is at offset 0x8 and configures the pad
> MX25_PAD_A10 the right id for this pin is 2. All other pins are off by
> one, too.
>
> This patch drops the definition MX25_PAD_RESERVE1 (together with its
> only use) and decrements all following values by 1.
>
> Fixes: b4a87c9b966f ("pinctrl: pinctrl-imx: add imx25 pinctrl driver")
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Tested-by: Fabio Estevam <fabio.estevam at freescale.com>

Thanks



More information about the linux-arm-kernel mailing list