Skip to contentSkip to conversation

pinctrl: intel: Add Intel Tiger Lake pin controller support

PATCH Superseded Andy Shevchenko 2 participants 3 messages Oct 21, 2019

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 452a14f78707..6091947a8f51 100644
@@ -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
index cb491e655749..7e620b471ef6 100644
@@ -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
maintainer
#1 lore raw

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?

#2 lore raw
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