diff options
author | Daniel Palmer <daniel@0x0f.com> | 2020-11-29 20:07:58 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-12-05 22:40:28 +0100 |
commit | 588cc1a02633dcc9ee0923d052cd20087e1a6b0a (patch) | |
tree | 29b2401c3582cc190cda5af5df6c7b38e51e85f2 /MAINTAINERS | |
parent | 64a38367b45015de42521c4835541f43838caf39 (diff) | |
download | linux-588cc1a02633dcc9ee0923d052cd20087e1a6b0a.tar.gz linux-588cc1a02633dcc9ee0923d052cd20087e1a6b0a.tar.bz2 linux-588cc1a02633dcc9ee0923d052cd20087e1a6b0a.zip |
dt-bindings: gpio: Add a binding header for the MSC313 GPIO driver
Header adds defines for the gpio number of each pad from the driver view.
The gpio block seems to have enough registers for 128 lines but what line
is mapped to a physical pin depends on the chip. The gpio block also seems
to contain some registers that are not related to gpio but needed somewhere
to go.
Because of the above the driver itself uses the index of a pin's offset in
an array of the possible offsets for a chip as the gpio number.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201129110803.2461700-2-daniel@0x0f.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index eadfbac4fcd0..9caa53b595d4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2133,6 +2133,7 @@ W: http://linux-chenxing.org/ F: Documentation/devicetree/bindings/arm/mstar/* F: arch/arm/boot/dts/mstar-* F: arch/arm/mach-mstar/ +F: include/dt-bindings/gpio/msc313-gpio.h ARM/NEC MOBILEPRO 900/c MACHINE SUPPORT M: Michael Petchkovsky <mkpetch@internode.on.net> |