Re: [PATCH v6 03/15] pinctrl: bcm: add bcm63xx base code
From: Linus Walleij
Date: Wed Mar 10 2021 - 20:10:21 EST
On Wed, Mar 10, 2021 at 6:51 PM Rob Herring <robh+dt@xxxxxxxxxx> wrote:
> > +static const struct of_device_id bcm63xx_gpio_of_match[] = {
> > + { .compatible = "brcm,bcm6318-gpio", },
> > + { .compatible = "brcm,bcm6328-gpio", },
> > + { .compatible = "brcm,bcm6358-gpio", },
> > + { .compatible = "brcm,bcm6362-gpio", },
> > + { .compatible = "brcm,bcm6368-gpio", },
> > + { .compatible = "brcm,bcm63268-gpio", },
>
> All these would be moved to gpio-mmio.c (or maybe that can have a
> fallback compatible?).
This is gpio-regmap.c and it can only be used as a library
by a certain driver. gpio-mmio.c can be used stand-alone
for certain really simple hardware (though most use that
as a library as well).
Yours,
Linus Walleij