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