pinctrl: berlin: add as370 SoC support
Subsystems (3)
v2 cover pinctrl: berlin: add as370 SoC support
This series is to add the Synaptics AS370 SoC pinctrl driver.
since v1:
- remove MODULE_DEVICE_TABLE since the driver is non-modular. Thank kbuild test robot to report this issue.
Jisheng Zhang (2):
dt-binding: pinctrl: berlin: document AS370 SoC pinctrl
pinctrl: berlin: add the as370 SoC pinctrl driver
.../bindings/pinctrl/berlin,pinctrl.txt | 3 +- drivers/pinctrl/berlin/Kconfig | 5 + drivers/pinctrl/berlin/Makefile | 1 + drivers/pinctrl/berlin/pinctrl-as370.c | 368 ++++++++++++++++++ 4 files changed, 376 insertions(+), 1 deletion(-) create mode 100644 drivers/pinctrl/berlin/pinctrl-as370.c
Signature · 1 line
2.18.0
PATCH v2 1/2 dt-binding: pinctrl: berlin: document AS370 SoC pinctrl
Add as370 to existing berlin pinctrl device tree binding.
--- Documentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt +2 -1
@@ -23,7 +23,8 @@ Required properties: "marvell,berlin2q-system-pinctrl", "marvell,berlin4ct-avio-pinctrl", "marvell,berlin4ct-soc-pinctrl", - "marvell,berlin4ct-system-pinctrl" + "marvell,berlin4ct-system-pinctrl", + "syna,as370-soc-pinctrl" Required subnode-properties: - groups: a list of strings describing the group names.
Signature · 1 line
2.18.0
Re: [PATCH v2 1/2] dt-binding: pinctrl: berlin: document AS370 SoC pinctrl
Quoted 6 lines · Jisheng Zhang
Add as370 to existing berlin pinctrl device tree binding.
Signed-off-by Jisheng Zhang <[email protected]>--- Documentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
PATCH v2 2/2 pinctrl: berlin: add the as370 SoC pinctrl driver
In reply to Jisheng ZhangAdd the pin-controller driver for Synaptics AS370 SoC, with definition of its groups and functions. This uses the core Berlin pinctrl driver.
--- drivers/pinctrl/berlin/Kconfig | 5 + drivers/pinctrl/berlin/Makefile | 1 + drivers/pinctrl/berlin/pinctrl-as370.c | 368 +++++++++++++++++++++++++ 3 files changed, 374 insertions(+) create mode 100644 drivers/pinctrl/berlin/pinctrl-as370.c
drivers/pinctrl/berlin/Kconfig +5 -0
@@ -5,6 +5,11 @@ config PINCTRL_BERLIN select PINMUX select REGMAP_MMIO +config PINCTRL_AS370 + bool "Synaptics as370 pin controller driver" + depends on OF + select PINCTRL_BERLIN + config PINCTRL_BERLIN_BG2 def_bool MACH_BERLIN_BG2 depends on OF
drivers/pinctrl/berlin/Makefile +1 -0
@@ -3,3 +3,4 @@ obj-$(CONFIG_PINCTRL_BERLIN_BG2) += berlin-bg2.o obj-$(CONFIG_PINCTRL_BERLIN_BG2CD) += berlin-bg2cd.o obj-$(CONFIG_PINCTRL_BERLIN_BG2Q) += berlin-bg2q.o obj-$(CONFIG_PINCTRL_BERLIN_BG4CT) += berlin-bg4ct.o +obj-$(CONFIG_PINCTRL_AS370) += pinctrl-as370.o
drivers/pinctrl/berlin/pinctrl-as370.c new file +368 -0
368 lines not on this page · raw message
Signature · 1 line
2.18.0
Re: [PATCH v2 2/2] pinctrl: berlin: add the as370 SoC pinctrl driver
Quoted 4 lines · Jisheng Zhang
Add the pin-controller driver for Synaptics AS370 SoC, with definition of its groups and functions. This uses the core Berlin pinctrl driver.
Signed-off-by Jisheng Zhang <[email protected]>
Patch applied.
Yours,
Linus Walleij