Skip to contentSkip to conversation

pinctrl: tigerlake: Add Alder Lake-P documentation

PATCH In review Raag Jadav 4 participants 5 messages Jan 20

Subsystems (4)
lore
Share & tools
lore

Raag Jadav

author
#0 lore raw

PATCH 1/1 pinctrl: tigerlake: Add Alder Lake-P documentation

Intel Alder Lake-P PCH reuses pinctrl IP from Tiger Lake-LP. Add user friendly documentation for it.

Fixes 0e793a4e2834 ("pinctrl: tigerlake: Add Alder Lake-P ACPI ID")
---
 drivers/pinctrl/intel/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/pinctrl/intel/Kconfig +3 -1
index e4dc9ba899bd..045651fde31f 100644
@@ -160,7 +160,9 @@ config PINCTRL_TIGERLAKE
 	select PINCTRL_INTEL
 	help
 	  This pinctrl driver provides an interface that allows configuring
-	  of Intel Tiger Lake PCH pins and using them as GPIOs.
+	  PCH pins of the following platforms and using them as GPIOs.
+	  - Tiger Lake
+	  - Alder Lake-P
 
 source "drivers/pinctrl/intel/Kconfig.tng"
 endmenu
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#2 lore raw
In reply to Raag Jadav

Someone erroneously marked the bug as CLOSED INVALID, while only the proposed resolution was INVALID and not the bug itself.

This patch solves the issue because it informs the user on the correct driver to choose for Alder Lake-P.

Quoted 30 lines · Raag Jadav

Intel Alder Lake-P PCH reuses pinctrl IP from Tiger Lake-LP. Add user friendly documentation for it.

Fixes 0e793a4e2834 ("pinctrl: tigerlake: Add Alder Lake-P ACPI ID")
---
 drivers/pinctrl/intel/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/pinctrl/intel/Kconfig +0 -0
index e4dc9ba899bd..045651fde31f 100644
@@ -160,7 +160,9 @@ config PINCTRL_TIGERLAKE
 	select PINCTRL_INTEL
 	help
 	  This pinctrl driver provides an interface that allows

configuring

drivers/pinctrl/intel/Kconfig +1 -1
-	  of Intel Tiger Lake PCH pins and using them as GPIOs.
+	  PCH pins of the following platforms and using them as

GPIOs.

drivers/pinctrl/intel/Kconfig +2 -0
+	  - Tiger Lake
+	  - Alder Lake-P
 
 source "drivers/pinctrl/intel/Kconfig.tng"
 endmenu
#3 lore raw
Quoted 5 lines · Guido Trentalancia

Someone erroneously marked the bug as CLOSED INVALID, while only the proposed resolution was INVALID and not the bug itself.

This patch solves the issue because it informs the user on the correct driver to choose for Alder Lake-P.

Yes, I was that person and I asked Raag to help with it. Thanks, Raag!

Now we can close it again with PATCH_AVAILABLE.

Quoted 1 line

Thanks for confirming!

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#4 lore raw
In reply to Raag Jadav
Quoted 2 lines · Raag Jadav

Intel Alder Lake-P PCH reuses pinctrl IP from Tiger Lake-LP. Add user friendly documentation for it.

Thanks for doing this!

Side note, though: this is not the only driver suffering of the similar issue. Can you address them all?

...

drivers/pinctrl/intel/Kconfig config PINCTRL_TIGERLAKE · line 164

Quoted 6 lines
drivers/pinctrl/intel/Kconfig +2 -1
 	select PINCTRL_INTEL
 	help
 	  This pinctrl driver provides an interface that allows configuring
-	  of Intel Tiger Lake PCH pins and using them as GPIOs.
+	  PCH pins of the following platforms and using them as GPIOs.
+	  - Tiger Lake

We also have letter suffix for the above. Does this driver covers _all_ Tiger Lake modifications?

If so, I would do

- Tiger Lake (all modifications)

drivers/pinctrl/intel/Kconfig config PINCTRL_TIGERLAKE · line 165

Quoted 1 line
drivers/pinctrl/intel/Kconfig +1 -0
+	  - Alder Lake-P

I can tweak this when applying if confirmed, otherwise we would need a revisit v2.

Signature · 2 lines
With Best Regards,
Andy Shevchenko