diff options
author | Daniel Palmer <daniel@0x0f.com> | 2020-11-29 20:07:58 +0900 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-12-09 22:21:11 +0100 |
commit | 2bf39ddd77937ab2123bbf186e44f484610536d9 (patch) | |
tree | f9317e5a49328a3cb58971d85748cc98e27630b3 /MAINTAINERS | |
parent | a05c51e04d2ea9309ee3da0eeaa41852cfb4676f (diff) | |
download | linux-next-2bf39ddd77937ab2123bbf186e44f484610536d9.tar.gz |
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>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index ae78b54d4a4f..8805b484e436 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> |