pinctrl: tigerlake: Document supported platforms in Kconfig help
Subsystems (3)
PATCH 1/1 pinctrl: tigerlake: Document supported platforms in Kconfig help
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
--- drivers/pinctrl/intel/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/pinctrl/intel/Kconfig +9 -0
@@ -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
Signature · 1 line
2.49.0
On Wed, Apr 30, 2025 at 6:32 PM Ariel Simulevski <[email protected]> wrote:
Technically this is a v2 of the previous patch, but it has been changed a lot, so for _this_ time it's okay to have it still v1. Also note when v2 or any new version of patch is required the changelog must be provided (after the cutter '---' line below).
Quoted 7 lines
The Tiger Lake pinctrl driver is also used by some Alder Lake platforms that reuse the same GPIO IP blocks.
Update the
Kconfighelp texts for both drivers to document supported platformsand clarify when
CONFIG_PINCTRL_TIGERLAKEmay be required.
This should be done in the same way....
Quoted 2 lines
Supported platforms:
- Tiger Lake (all variants)
Have you checked this (that's all versions of Tiger Lake are in this driver)?
drivers/pinctrl/intel/Kconfig config PINCTRL_ALDERLAKE · line 58
Quoted 4 lines
- Alder Lake-P
drivers/pinctrl/intel/Kconfig +2
-0+ Some platforms may reuse GPIO IP blocks from earlier generations + and require CONFIG_PINCTRL_TIGERLAKE instead.
Just list the supported platforms:
- Alder Lake-N
- Alder Lake-S
And I believe some of Raptor Lake:s are also require this driver.
Quoted 1 line
+ Also used on some Alder Lake platforms that share compatible GPIO IP.
No need to have this text, it's obvious from the below list.
drivers/pinctrl/intel/Kconfig config PINCTRL_TIGERLAKE · line 171
Quoted 3 lines
drivers/pinctrl/intel/Kconfig +3
-0+ Supported platforms: + - Tiger Lake (all variants) + - Alder Lake-P
...
With that, waiting for v2.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 6 lines · Andy Shevchenko
On Wed, Apr 30, 2025 at 6:32 PM Ariel Simulevski <[email protected]> wrote:
Technically this is a v2 of the previous patch, but it has been changed a lot, so for _this_ time it's okay to have it still v1. Also note when v2 or any new version of patch is required the changelog must be provided (after the cutter '---' line below).
On top of that, you forgot to include (all) maintainers of the respective code. I recommend using my "smart" script [1] for sending patches to the Linux kernel subsystems.
...
Quoted 1 line
With that, waiting for v2.
[1]: https://github.com/andy-shev/home-bin-tools/blob/master/ge2maintainer.sh
Signature · 2 lines
With Best Regards, Andy Shevchenko
A message that is not in the archive (sent off-list or not yet received): CAMz-Jg-nNqUyzWpayBhPqhsGWOAKJPEa7uRWpOX0HWJDzqiQsg@mail.gmail.com
First of all, please do not top-post! In the (Linux kernel related) mailing lists we do answer after the respective context.
Quoted 3 lines · Ariel Simulevski
Thanks for the feedback.
Just to confirm: for the
Kconfighelp 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?
Yes.
Quoted 1 line
And only
PINCTRL_TIGERLAKEbecause I think that the note onPINCTRL_ALDERLAKEis actually quite helpful.
The similar List should be added to all of them, but after good research done. The note about the certain touchpad or any consumer is not okay. This driver is not about a particular platform or configuration. That note gives actually an opposite, i.e. confusion.
Quoted 1 line
I want to make sure the v2 follows your expectations exactly.
Sure!
Quoted 14 lines · Andy Shevchenko
Quoted 13 lines
Quoted 6 lines · Andy Shevchenko
On Wed, Apr 30, 2025 at 6:32 PM Ariel Simulevski <[email protected]> wrote:
Technically this is a v2 of the previous patch, but it has been changed a lot, so for _this_ time it's okay to have it still v1. Also note when v2 or any new version of patch is required the changelog must be provided (after the cutter '---' line below).
On top of that, you forgot to include (all) maintainers of the respective code. I recommend using my "smart" script [1] for sending patches to the Linux kernel subsystems.
...
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
With that, waiting for v2.
[1]: https://github.com/andy-shev/home-bin-tools/blob/master/ge2maintainer.sh
Signature · 2 lines
With Best Regards, Andy Shevchenko