Hi Sean,
thanks for doing this. I never got around to because time.
On Mon, Mar 6, 2023 at 8:16 PM Sean Anderson [off-list ref] wrote:
This is a generic binding for simple MMIO GPIO controllers. Although we
have a single driver for these controllers, they were previously spread
over several files. Consolidate them. The register descriptions are
adapted from the comments in the source. There is no set order for the
registers, so I have not specified one.
Signed-off-by: Sean Anderson <redacted>
(...)
+ compatible:
+ enum:
+ - brcm,bcm6345-gpio # Broadcom BCM6345 GPIO controller
+ - wd,mbl-gpio # Western Digital MyBook Live memory-mapped GPIO controller
+ - ni,169445-nand-gpio # National Instruments 169445 GPIO NAND controller
I think you can inline description: statements in the enum instead of
the # hash comments, however IIRC you have to use oneOf and
const: to do it, like I do in
Documentation/devicetree/bindings/input/touchscreen/cypress,cy8ctma340.yaml
but don't overinvest in this if it is cumbersome.
Either way:
Reviewed-by: Linus Walleij <redacted>
Yours,
Linus Walleij