summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale/Kconfig
diff options
context:
space:
mode:
authorA.s. Dong <aisheng.dong@nxp.com>2018-10-30 14:10:51 +0000
committerLinus Walleij <linus.walleij@linaro.org>2018-11-05 09:33:32 +0100
commitb96eea718bf697e4a490c2fabfb89995b9193c21 (patch)
tree29b332e72b22312d8ba9656f1cb55d0dac5cd952 /drivers/pinctrl/freescale/Kconfig
parent1ccb0426d7b6a94434a7b4f8d2d7f57de3c1b653 (diff)
pinctrl: fsl: add scu based pinctrl support
Some i.MX SoCs (e.g. MX8QXP and MX8QM) contain a system controller that is responsible for controlling the pad setting of the IPs that are present. Communication between the host processor running an OS and the system controller happens through a SCU protocol. This patch classifies the pad settings into two categories: MMIO and SCU. For the original MMIO method, no functional changes except organize them into a few imx_*_mmio() functions. Besides that, we add the SCU based Pad Mux and Pinconf setting support which are implemented in pinctrl-scu.c. Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Fabio Estevam <festevam@gmail.com> Cc: Stefan Agner <stefan@agner.ch> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/Kconfig')
-rw-r--r--drivers/pinctrl/freescale/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig
index dccf64c55498..94dcdb528651 100644
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
@@ -5,6 +5,10 @@ config PINCTRL_IMX
select GENERIC_PINCONF
select REGMAP
+config PINCTRL_IMX_SCU
+ bool
+ select PINCTRL_IMX
+
config PINCTRL_IMX1_CORE
bool
select PINMUX