summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/intel/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-06 21:42:53 -0700
committerBin Meng <bmeng.cn@gmail.com>2019-12-15 11:44:25 +0800
commit74749f1e84dfec4ba521d741db461803d465948c (patch)
treee71a8c20cf6f4381598b193611c382264f23beb2 /drivers/pinctrl/intel/Kconfig
parentb84d4d0932ddbd80416368f5ccdadee34f74b968 (diff)
x86: Add a generic Intel pinctrl driver
Recent Intel SoCs share a pinctrl mechanism with many common elements. Add an implementation of this core functionality, allowing SoC-specific drivers to avoid adding common code. As well as a pinctrl driver this provides a GPIO driver based on the same code. Once other SoCs use this driver we may consider moving more properties to the device tree (e.g. the community info and pad definitions). Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pinctrl/intel/Kconfig')
-rw-r--r--drivers/pinctrl/intel/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/pinctrl/intel/Kconfig b/drivers/pinctrl/intel/Kconfig
new file mode 100644
index 0000000000..c01c6244d9
--- /dev/null
+++ b/drivers/pinctrl/intel/Kconfig
@@ -0,0 +1,16 @@
+#
+# Intel PINCTRL drivers
+#
+
+if PINCTRL_INTEL
+
+config INTEL_PINCTRL_DUAL_ROUTE_SUPPORT
+ def_bool y
+
+config INTEL_PINCTRL_PADCFG_PADTOL
+ def_bool n
+
+config INTEL_PINCTRL_IOSTANDBY
+ def_bool y
+
+endif