[PATCH V3 1/4] gpio: mxc: Support module build

Linus Walleij linus.walleij at linaro.org
Tue Sep 29 09:05:14 EDT 2020


On Thu, Sep 17, 2020 at 7:40 AM Anson Huang <Anson.Huang at nxp.com> wrote:

> Change config to tristate, add module device table, module author,
> description and license to support module build for i.MX GPIO driver.
>
> As this is a SoC GPIO module, it provides common functions for most
> of the peripheral devices, such as GPIO pins control, secondary
> interrupt controller for GPIO pins IRQ etc., without GPIO driver, most
> of the peripheral devices will NOT work properly, so GPIO module is
> similar with clock, pinctrl driver that should be loaded ONCE and
> never unloaded.
>
> Since MXC GPIO driver needs to have init function to register syscore
> ops once, here still use subsys_initcall(), NOT module_platform_driver().
>
> Signed-off-by: Anson Huang <Anson.Huang at nxp.com>

This patch (1) applied to the GPIO tree.
Please apply the rest through the ARM SoC tree!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list