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 Changes in v2: - Addressed all comments from Mr. Randy Dunlap. - Added more 'defines' in dt-bindings header files (forgot to add in v1). - Modified vendor name in MAINTAINERS file. 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 | 33 ++ 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 | 171 ++++++ include/dt-bindings/pinctrl/sppctl.h | 40 ++ 20 files changed, 3249 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