Re: [PATCH v6 03/15] pinctrl: bcm: add bcm63xx base code
From: Linus Walleij <hidden>
Date: 2021-03-11 01:10:22
Also in:
linux-arm-kernel, linux-devicetree, lkml
From: Linus Walleij <hidden>
Date: 2021-03-11 01:10:22
Also in:
linux-arm-kernel, linux-devicetree, lkml
On Wed, Mar 10, 2021 at 6:51 PM Rob Herring [off-list ref] wrote:
quoted
+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