Re: [PATCH 2/2] pinctrl: ocelot: fix pinmuxing for pins after 31

From: Linus Walleij
Date: Tue Jun 25 2019 - 09:43:21 EST


On Thu, Jun 20, 2019 at 8:30 PM Alexandre Belloni
<alexandre.belloni@xxxxxxxxxxx> wrote:

> The actual layout for OCELOT_GPIO_ALT[01] when there are more than 32 pins
> is interleaved, i.e. OCELOT_GPIO_ALT0[0], OCELOT_GPIO_ALT1[0],
> OCELOT_GPIO_ALT0[1], OCELOT_GPIO_ALT1[1]. Introduce a new REG_ALT macro to
> facilitate the register offset calculation and use it where necessary.
>
> Fixes: da801ab56ad8 pinctrl: ocelot: add MSCC Jaguar2 support
> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>

Patch applied for fixes.

Yours,
Linus Walleij