public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] pinctrl: tigerlake: Document supported platforms in Kconfig help
@ 2025-05-05 18:07 Ariel Simulevski
  2025-05-07 16:05 ` Andy Shevchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Ariel Simulevski @ 2025-05-05 18:07 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: andy, Ariel Simulevski, Guido Trentalancia, linux-gpio,
	linux-kernel

Hi Andy,

Thanks for the feedback.

Just to confirm: for the Kconfig help text, would you prefer keeping
it strictly to a plain list of supported platforms (e.g. "Supported
platforms: Tiger Lake, Alder Lake-N, Alder Lake-S") with no additional
explanation or context? And only PINCTRL_TIGERLAKE because I think
that the note on PINCTRL_ALDERLAKE is actually quite helpful.

I want to make sure the v2 follows your expectations exactly.

Best,
Ariel

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH] pinctrl: tigerlake: Document supported platforms in Kconfig help
@ 2025-04-30 15:32 Ariel Simulevski
  2025-04-30 18:14 ` Andy Shevchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Ariel Simulevski @ 2025-04-30 15:32 UTC (permalink / raw)
  To: andy; +Cc: linux-gpio, linux-kernel, Ariel Simulevski, Guido Trentalancia

The Tiger Lake pinctrl driver is also used by some Alder Lake platforms
that reuse the same GPIO IP blocks.

Update the Kconfig help texts for both drivers to document supported
platforms and clarify when CONFIG_PINCTRL_TIGERLAKE may be required.

Supported platforms:
  - Tiger Lake (all variants)
  - Alder Lake-P

Reported-by: Guido Trentalancia <guido2022@trentalancia.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=220056
Signed-off-by: Ariel Simulevski <ariel@simulevski.at>
---
 drivers/pinctrl/intel/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/pinctrl/intel/Kconfig b/drivers/pinctrl/intel/Kconfig
index 248c2e558ff3..f1114828457d 100644
--- a/drivers/pinctrl/intel/Kconfig
+++ b/drivers/pinctrl/intel/Kconfig
@@ -54,6 +54,9 @@ config PINCTRL_ALDERLAKE
 	  This pinctrl driver provides an interface that allows configuring
 	  of Intel Alder Lake PCH pins and using them as GPIOs.
 
+	  Some platforms may reuse GPIO IP blocks from earlier generations
+	  and require CONFIG_PINCTRL_TIGERLAKE instead.
+
 config PINCTRL_BROXTON
 	tristate "Intel Broxton pinctrl and GPIO driver"
 	select PINCTRL_INTEL
@@ -161,5 +164,11 @@ config PINCTRL_TIGERLAKE
 	  This pinctrl driver provides an interface that allows configuring
 	  of Intel Tiger Lake PCH pins and using them as GPIOs.
 
+	  Also used on some Alder Lake platforms that share compatible GPIO IP.
+
+	  Supported platforms:
+	    - Tiger Lake (all variants)
+	    - Alder Lake-P
+
 source "drivers/pinctrl/intel/Kconfig.tng"
 endmenu
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-05-07 16:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-05 18:07 [PATCH] pinctrl: tigerlake: Document supported platforms in Kconfig help Ariel Simulevski
2025-05-07 16:05 ` Andy Shevchenko
  -- strict thread matches above, loose matches on Subject: below --
2025-04-30 15:32 Ariel Simulevski
2025-04-30 18:14 ` Andy Shevchenko
2025-04-30 18:16   ` Andy Shevchenko
     [not found]     ` <CAMz-Jg-nNqUyzWpayBhPqhsGWOAKJPEa7uRWpOX0HWJDzqiQsg@mail.gmail.com>
2025-05-05 18:10       ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox