Re: [PATCH V3 1/4] gpio: mxc: Support module build
From: Linus Walleij
Date: Tue Sep 29 2020 - 09:05:29 EST
On Thu, Sep 17, 2020 at 7:40 AM Anson Huang <Anson.Huang@xxxxxxx> 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@xxxxxxx>
This patch (1) applied to the GPIO tree.
Please apply the rest through the ARM SoC tree!
Yours,
Linus Walleij