[PATCH v2] gpio: ep93xx: split device in multiple

Bartosz Golaszewski brgl at bgdev.pl
Wed Feb 1 01:12:49 PST 2023


On Wed, Feb 1, 2023 at 10:10 AM Nikita Shubin <nikita.shubin at maquefel.me> wrote:
>
> This prepares ep93xx SOC gpio to convert into device tree driver:
> - dropped banks and legacy defines
> - split AB IRQ and make it shared
>
> We are relying on IRQ number information A, B ports have single shared
> IRQ, while F port have dedicated IRQ for each line.
>
> Also we had to split single ep93xx platform_device into multiple, one
> for each port, without this we can't do a full working transition from
> legacy platform code into device tree capable. All GPIO_LOOKUP were
> change to match new chip namings.
>
> Signed-off-by: Nikita Shubin <nikita.shubin at maquefel.me>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> Bart, i've rebased on the top of gpio/for-next (there were issues
> indeed), but this patch still won't apply. That's becouse it's dependant
> on Linus patch:
> https://lore.kernel.org/linux-arm-kernel/20230111132210.134478-1-linus.walleij@linaro.org/T/
>
> Alexander can we have Linus patch somehow applied to ep93xx ?
> ---

In that case:

Acked-by: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>

And let's make it go together with its dependency.

Bart



More information about the linux-arm-kernel mailing list