diff options
author | Daniel Palmer <daniel@0x0f.com> | 2020-11-29 20:08:00 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-12-05 22:41:22 +0100 |
commit | 93224edf0b9fd7f643e7ead5b683bdac87f20aa2 (patch) | |
tree | 0b4715a08b763211f5e8b563f772eee7ca80e08c /MAINTAINERS | |
parent | 493c7e03f837b46c64ebf941d0084e3e25909b7e (diff) | |
download | linux-93224edf0b9fd7f643e7ead5b683bdac87f20aa2.tar.gz linux-93224edf0b9fd7f643e7ead5b683bdac87f20aa2.tar.bz2 linux-93224edf0b9fd7f643e7ead5b683bdac87f20aa2.zip |
gpio: msc313: MStar MSC313 GPIO driver
This adds a driver that supports the GPIO block found in
MStar/SigmaStar ARMv7 SoCs.
The controller seems to have enough register for 128 lines
but where they are wired up differs between chips and
no currently known chip uses anywhere near 128 lines so there
needs to be some per-chip data to collect together what lines
actually have physical pins attached and map the right names to them.
The core peripherals seem to use the same lines on the
currently known chips but the lines used for the sensor
interface, lcd controller etc pins seem to be totally
different between the infinity and mercury chips
The code tries to collect all of the re-usable names,
offsets etc together so that it's easy to build the extra
per-chip data for other chips in the future.
So far this only supports the MSC313 and MSC313E chips.
Support for the SSC8336N (mercury5) is trivial to add once
all of the lines have been mapped out.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Link: https://lore.kernel.org/r/20201129110803.2461700-4-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 6c8f2181e91a..8f18a5b33a60 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2134,6 +2134,7 @@ F: Documentation/devicetree/bindings/arm/mstar/* F: Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml F: arch/arm/boot/dts/mstar-* F: arch/arm/mach-mstar/ +F: drivers/gpio/gpio-msc313.c F: include/dt-bindings/gpio/msc313-gpio.h ARM/NEC MOBILEPRO 900/c MACHINE SUPPORT |