pinctrl: intel: Add Intel Tiger Lake pin controller support
Subsystems (3)
PATCH 1/1 pinctrl: intel: Add Intel Tiger Lake pin controller support
This driver adds pinctrl/GPIO support for Intel Tiger Lake SoC. The GPIO controller is based on the next generation GPIO hardware but still compatible with the one supported by the Intel core pinctrl/GPIO driver.
Signed-off-by Mika Westerberg <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/pinctrl/intel/Kconfig | 7 + drivers/pinctrl/intel/Makefile | 1 + drivers/pinctrl/intel/pinctrl-tigerlake.c | 502 ++++++++++++++++++++++ 3 files changed, 510 insertions(+) create mode 100644 drivers/pinctrl/intel/pinctrl-tigerlake.c
drivers/pinctrl/intel/Kconfig +7 -0
@@ -115,4 +115,11 @@ config PINCTRL_SUNRISEPOINT provides an interface that allows configuring of PCH pins and using them as GPIOs. +config PINCTRL_TIGERLAKE + tristate "Intel Tiger Lake pinctrl and GPIO driver" + depends on ACPI + select PINCTRL_INTEL + help + This pinctrl driver provides an interface that allows configuring + of Intel Tiger Lake PCH pins and using them as GPIOs. endif
drivers/pinctrl/intel/Makefile +1 -0
@@ -13,3 +13,4 @@ obj-$(CONFIG_PINCTRL_GEMINILAKE) += pinctrl-geminilake.o obj-$(CONFIG_PINCTRL_ICELAKE) += pinctrl-icelake.o obj-$(CONFIG_PINCTRL_LEWISBURG) += pinctrl-lewisburg.o obj-$(CONFIG_PINCTRL_SUNRISEPOINT) += pinctrl-sunrisepoint.o +obj-$(CONFIG_PINCTRL_TIGERLAKE) += pinctrl-tigerlake.o
drivers/pinctrl/intel/pinctrl-tigerlake.c new file +502 -0
502 lines not on this page · raw message
Signature · 1 line
2.23.0
Mika Westerberg
maintainerdrivers/pinctrl/intel/pinctrl-tigerlake.c line 134
Quoted 7 lines · Andy Shevchenko
drivers/pinctrl/intel/pinctrl-tigerlake.c new file +7
-0+static const struct intel_pingroup tgllp_community0_groups[] = { +/* PLACE HOLDER */ +}; + +static const struct intel_function tgllp_community0_functions[] = { +/* PLACE HOLDER */ +};
Can you please drop all these?
Quoted 10 lines · Mika Westerberg
drivers/pinctrl/intel/pinctrl-tigerlake.c line 134
Quoted 7 lines · Andy Shevchenko
drivers/pinctrl/intel/pinctrl-tigerlake.c new file +7
-0+static const struct intel_pingroup tgllp_community0_groups[] = { +/* PLACE HOLDER */ +}; + +static const struct intel_function tgllp_community0_functions[] = { +/* PLACE HOLDER */ +};Can you please drop all these?
Done!
Signature · 2 lines
With Best Regards, Andy Shevchenko