summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/freescale/Kconfig
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2017-05-19 09:05:42 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-05-22 11:03:47 +0200
commita5cadbbb081cb84a9fdb14391fb461a41f089a0a (patch)
treee9999bdde75f877b3bdf0e2ac36438851a7c78ef /drivers/pinctrl/freescale/Kconfig
parentpinctrl: imx: fix debug message for SHARE_MUX_CONF_REG case (diff)
downloadlinux-a5cadbbb081cb84a9fdb14391fb461a41f089a0a.tar.xz
linux-a5cadbbb081cb84a9fdb14391fb461a41f089a0a.zip
pinctrl: imx: add generic pin config core support
The design is based on the exist architecture that the core will provide a uniformed way to decode the generic pin config into platform config register raw data according to the imx_cfg_params_decode maps registered by platform. Two useful macros, IMX_CFG_PARAMS_DECODE and IMX_CFG_PARAMS_DECODE_INVERT, are created for platform to register decode map conveniently. In order to cope with some special case, a platform specific fixup() function is also available to use. Note that rather than fully utilizing the generic pinconf support provided by pinctrl core, IMX only adopts the device tree bindings of generic pinconf. The config used in .pin_config_get[set] are raw register data instead of generic one which makes us align the exist using. And that's also why we cannot set pinconf_ops.is_generic. Cc: Bai Ping <ping.bai@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/Kconfig')
-rw-r--r--drivers/pinctrl/freescale/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig
index cae05e76c111..0b266b2aecd4 100644
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
@@ -2,7 +2,7 @@ config PINCTRL_IMX
bool
select GENERIC_PINCTRL_GROUPS
select GENERIC_PINMUX_FUNCTIONS
- select PINCONF
+ select GENERIC_PINCONF
select REGMAP
config PINCTRL_IMX1_CORE