Skip to contentSkip to conversation

pinctrl: intel: Add code name documentation

PATCH In review Raag Jadav 3 participants 4 messages Jan 24 – Jan 26

Subsystems (4)
lore
Share & tools
lore

Raag Jadav

author
#0 lore raw

PATCH v2 1/1 pinctrl: intel: Add code name documentation

Intel pinctrl drivers support large set of platforms and the IPs are often reused by their different variants, but it's currently not possible to figure out the exact driver that supports specific variant. Add user friendly documentation for them.

---

v2: Also document for other similar drivers (Andy)

 drivers/pinctrl/intel/Kconfig | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)
drivers/pinctrl/intel/Kconfig +15 -6
index e4dc9ba899bd..488344f53d45 100644
@@ -53,7 +53,10 @@ config PINCTRL_ALDERLAKE
 	select PINCTRL_INTEL
 	help
 	  This pinctrl driver provides an interface that allows configuring
-	  of Intel Alder Lake PCH pins and using them as GPIOs.
+	  PCH pins of the following platforms and using them as GPIOs:
+	  - Alder Lake HX, N and S
+	  - Raptor Lake HX, E and S
+	  - Twin Lake
 
 config PINCTRL_BROXTON
 	tristate "Intel Broxton pinctrl and GPIO driver"
@@ -137,15 +140,17 @@ config PINCTRL_METEORLAKE
 	select PINCTRL_INTEL
 	help
 	  This pinctrl driver provides an interface that allows configuring
-	  of Intel Meteor Lake pins and using them as GPIOs.
+	  SoC pins of the following platforms and using them as GPIOs:
+	  - Arrow Lake (all variants)
+	  - Meteor Lake (all variants)
 
 config PINCTRL_METEORPOINT
 	tristate "Intel Meteor Point pinctrl and GPIO driver"
 	select PINCTRL_INTEL
 	help
-	  Meteor Point is the PCH of Intel Meteor Lake. This pinctrl driver
-	  provides an interface that allows configuring of PCH pins and
-	  using them as GPIOs.
+	  This pinctrl driver provides an interface that allows configuring
+	  PCH pins of the following platforms and using them as GPIOs:
+	  - Arrow Lake HX and S
 
 config PINCTRL_SUNRISEPOINT
 	tristate "Intel Sunrisepoint pinctrl and GPIO driver"
@@ -160,7 +165,11 @@ 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:
+	  - Alder Lake H, P, PS and U
+	  - Raptor Lake H, P, PS, PX and U
+	  - Rocket Lake S
+	  - Tiger Lake (all variants)
 
 source "drivers/pinctrl/intel/Kconfig.tng"
 endmenu
Signature · 1 line
2.43.0
#1 lore raw
Quoted 4 lines · Raag Jadav

Intel pinctrl drivers support large set of platforms and the IPs are often reused by their different variants, but it's currently not possible to figure out the exact driver that supports specific variant. Add user friendly documentation for them.

Pushed to my review and testing queue, thanks!

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

Intel pinctrl drivers support large set of platforms and the IPs are often reused by their different variants, but it's currently not possible
to figure out the exact driver that supports specific variant. Add user
friendly documentation for them.

---

v2: Also document for other similar drivers (Andy)

 drivers/pinctrl/intel/Kconfig | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)
drivers/pinctrl/intel/Kconfig +0 -0
index e4dc9ba899bd..488344f53d45 100644
@@ -53,7 +53,10 @@ config PINCTRL_ALDERLAKE
 	select PINCTRL_INTEL
 	help
 	  This pinctrl driver provides an interface that allows

configuring

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

GPIOs:

drivers/pinctrl/intel/Kconfig +3 -0
+	  - Alder Lake HX, N and S
+	  - Raptor Lake HX, E and S
+	  - Twin Lake
 
 config PINCTRL_BROXTON
 	tristate "Intel Broxton pinctrl and GPIO driver"
@@ -137,15 +140,17 @@ config PINCTRL_METEORLAKE
 	select PINCTRL_INTEL
 	help
 	  This pinctrl driver provides an interface that allows

configuring

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

GPIOs:

drivers/pinctrl/intel/Kconfig config PINCTRL_METEORLAKE · line 144

Quoted 1 line
drivers/pinctrl/intel/Kconfig +1 -0
+	  - Arrow Lake (all variants)

If the next entry refers to Arrow Lake HX and S platforms, this one (METEORLAKE) cannot include "all variants" for Arrow Lake, I suppose.

Quoted 27 lines
drivers/pinctrl/intel/Kconfig +1 -1
+	  - Meteor Lake (all variants)
 
 config PINCTRL_METEORPOINT
 	tristate "Intel Meteor Point pinctrl and GPIO driver"
 	select PINCTRL_INTEL
 	help
-	  Meteor Point is the PCH of Intel Meteor Lake. This pinctrl

driver

drivers/pinctrl/intel/Kconfig +0 -1
-	  provides an interface that allows configuring of PCH pins

and

drivers/pinctrl/intel/Kconfig +1 -1
-	  using them as GPIOs.
+	  This pinctrl driver provides an interface that allows

configuring

drivers/pinctrl/intel/Kconfig +1 -0
+	  PCH pins of the following platforms and using them as

GPIOs:

drivers/pinctrl/intel/Kconfig +1 -0
+	  - Arrow Lake HX and S
 
 config PINCTRL_SUNRISEPOINT
 	tristate "Intel Sunrisepoint pinctrl and GPIO driver"
@@ -160,7 +165,11 @@ 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 config PINCTRL_TIGERLAKE · line 175

Quoted 7 lines
drivers/pinctrl/intel/Kconfig +4 -0
+	  - Alder Lake H, P, PS and U
+	  - Raptor Lake H, P, PS, PX and U
+	  - Rocket Lake S
+	  - Tiger Lake (all variants)
 
 source "drivers/pinctrl/intel/Kconfig.tng"
 endmenu

Thanks,

Guido

author
#3 lore raw
Quoted 38 lines · Guido Trentalancia
Quoted 37 lines · Raag Jadav

Intel pinctrl drivers support large set of platforms and the IPs are often reused by their different variants, but it's currently not possible
to figure out the exact driver that supports specific variant. Add user
friendly documentation for them.

---

v2: Also document for other similar drivers (Andy)

 drivers/pinctrl/intel/Kconfig | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)
drivers/pinctrl/intel/Kconfig +0 -0
index e4dc9ba899bd..488344f53d45 100644
@@ -53,7 +53,10 @@ config PINCTRL_ALDERLAKE
 	select PINCTRL_INTEL
 	help
 	  This pinctrl driver provides an interface that allows

configuring

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

GPIOs:

drivers/pinctrl/intel/Kconfig +3 -0
+	  - Alder Lake HX, N and S
+	  - Raptor Lake HX, E and S
+	  - Twin Lake
Quoted 14 lines

drivers/pinctrl/intel/Kconfig config PINCTRL_METEORLAKE · line 144

Quoted 11 lines

config PINCTRL_BROXTON

drivers/pinctrl/intel/Kconfig +0 -0
 	tristate "Intel Broxton pinctrl and GPIO driver"
@@ -137,15 +140,17 @@ config PINCTRL_METEORLAKE
 	select PINCTRL_INTEL
 	help
 	  This pinctrl driver provides an interface that allows

configuring

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

GPIOs:

drivers/pinctrl/intel/Kconfig +1 -0
+	  - Arrow Lake (all variants)

If the next entry refers to Arrow Lake HX and S platforms, this one (METEORLAKE) cannot include "all variants" for Arrow Lake, I suppose.

And hence the updated description :)
It's SoC vs PCH.

Raag

Quoted 34 lines
Quoted 34 lines
drivers/pinctrl/intel/Kconfig +1 -1
+	  - Meteor Lake (all variants)
 
 config PINCTRL_METEORPOINT
 	tristate "Intel Meteor Point pinctrl and GPIO driver"
 	select PINCTRL_INTEL
 	help
-	  Meteor Point is the PCH of Intel Meteor Lake. This pinctrl

driver

drivers/pinctrl/intel/Kconfig +0 -1
-	  provides an interface that allows configuring of PCH pins

and

drivers/pinctrl/intel/Kconfig +1 -1
-	  using them as GPIOs.
+	  This pinctrl driver provides an interface that allows

configuring

drivers/pinctrl/intel/Kconfig +1 -0
+	  PCH pins of the following platforms and using them as

GPIOs:

drivers/pinctrl/intel/Kconfig +1 -0
+	  - Arrow Lake HX and S
 
 config PINCTRL_SUNRISEPOINT
 	tristate "Intel Sunrisepoint pinctrl and GPIO driver"
@@ -160,7 +165,11 @@ 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 +4 -0
+	  - Alder Lake H, P, PS and U
+	  - Raptor Lake H, P, PS, PX and U
+	  - Rocket Lake S
+	  - Tiger Lake (all variants)
 
 source "drivers/pinctrl/intel/Kconfig.tng"
 endmenu