[PATCH 0/3] Add pin control driver for Sunplus SP7021 SoC

Wells Lu
2021-10-27T08:55:38Z

This is a patch series for pinctrl driver for Sunplus SP7021 SoC.

Sunplus SP7021 is an ARM Cortex A7 (4 cores) based SoC. It integrates
many peripherals (ex: UART, I2C, SPI, SDIO, eMMC, USB, SD card and
etc.) into a single chip. It is designed for industrial control.

Refer to:
https://sunplus-tibbo.atlassian.net/wiki/spaces/doc/overview
https://tibbo.com/store/plus1.html

Wells Lu (3):
pinctrl: Add driver for Sunplus SP7021
dt-bindings: pinctrl: Add dt-bindings for Sunplus SP7021
devicetree: bindings: pinctrl: Add bindings doc for Sunplus SP7021.

.../bindings/pinctrl/sunplus,sp7021-pinctrl.yaml | 277 ++++++++++
MAINTAINERS | 10 +
drivers/pinctrl/Kconfig | 1 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/sunplus/Kconfig | 32 ++
drivers/pinctrl/sunplus/Makefile | 11 +
drivers/pinctrl/sunplus/gpio_inf_sp7021.c | 48 ++
drivers/pinctrl/sunplus/pinctrl_inf_sp7021.c | 501 +++++++++++++++++
drivers/pinctrl/sunplus/sppctl.c | 359 +++++++++++++
drivers/pinctrl/sunplus/sppctl.h | 181 +++++++
drivers/pinctrl/sunplus/sppctl_gpio.c | 136 +++++
drivers/pinctrl/sunplus/sppctl_gpio.h | 73 +++
drivers/pinctrl/sunplus/sppctl_gpio_ops.c | 288 ++++++++++
drivers/pinctrl/sunplus/sppctl_gpio_ops.h | 75 +++
drivers/pinctrl/sunplus/sppctl_pinctrl.c | 593 +++++++++++++++++++++
drivers/pinctrl/sunplus/sppctl_pinctrl.h | 33 ++
drivers/pinctrl/sunplus/sppctl_sysfs.c | 385 +++++++++++++
drivers/pinctrl/sunplus/sppctl_sysfs.h | 33 ++
include/dt-bindings/pinctrl/sppctl-sp7021.h | 136 +++++
include/dt-bindings/pinctrl/sppctl.h | 40 ++
20 files changed, 3213 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/sunplus,sp7021-pinctrl.yaml
create mode 100644 drivers/pinctrl/sunplus/Kconfig
create mode 100644 drivers/pinctrl/sunplus/Makefile
create mode 100644 drivers/pinctrl/sunplus/gpio_inf_sp7021.c
create mode 100644 drivers/pinctrl/sunplus/pinctrl_inf_sp7021.c
create mode 100644 drivers/pinctrl/sunplus/sppctl.c
create mode 100644 drivers/pinctrl/sunplus/sppctl.h
create mode 100644 drivers/pinctrl/sunplus/sppctl_gpio.c
create mode 100644 drivers/pinctrl/sunplus/sppctl_gpio.h
create mode 100644 drivers/pinctrl/sunplus/sppctl_gpio_ops.c
create mode 100644 drivers/pinctrl/sunplus/sppctl_gpio_ops.h
create mode 100644 drivers/pinctrl/sunplus/sppctl_pinctrl.c
create mode 100644 drivers/pinctrl/sunplus/sppctl_pinctrl.h
create mode 100644 drivers/pinctrl/sunplus/sppctl_sysfs.c
create mode 100644 drivers/pinctrl/sunplus/sppctl_sysfs.h
create mode 100644 include/dt-bindings/pinctrl/sppctl-sp7021.h
create mode 100644 include/dt-bindings/pinctrl/sppctl.h

--
2.7.4