* [PATCH v5 1/5] pinctrl: tigerlake: add ish_uart0 groups and functions for INTC1055
2026-11-30 11:25 [PATCH v5 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Gary Wang
@ 2026-11-30 11:25 ` Gary Wang
2026-11-30 11:25 ` [PATCH v5 2/5] pinctrl: alderlake: add some groups and functions for INTC1057 Gary Wang
` (4 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Gary Wang @ 2026-11-30 11:25 UTC (permalink / raw)
To: Andy Shevchenko, Linus Walleij, Thomas Richard, Andy Shevchenko
Cc: Daniele Cleri, JunYingLai, Louis Chen, BillyChou, linux-gpio,
linux-kernel, Gary Wang
Add ish_uart0 pin groups & functions in tgllp_soc_data for device id
INTC1055. The pinctrl-upboard driver set the correct pin function
corresponding to these data.
Signed-off-by: Gary Wang <is0124@gmail.com>
---
drivers/pinctrl/intel/pinctrl-tigerlake.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/pinctrl/intel/pinctrl-tigerlake.c b/drivers/pinctrl/intel/pinctrl-tigerlake.c
index 93234f4a9bd0..93479695bb22 100644
--- a/drivers/pinctrl/intel/pinctrl-tigerlake.c
+++ b/drivers/pinctrl/intel/pinctrl-tigerlake.c
@@ -333,6 +333,7 @@ static const unsigned int tgllp_i2c0_pins[] = { 5, 6 };
static const unsigned int tgllp_i2c1_pins[] = { 7, 8 };
static const unsigned int tgllp_pwm0_pins[] = { 99 };
static const unsigned int tgllp_uart1_pins[] = { 85, 86, 87, 88 };
+static const unsigned int tgllp_ish_uart0_pins[] = { 112, 113, 114, 115 };
static const unsigned int tgllp_ssp2_pins[] = { 108, 109, 110, 111 };
static const struct intel_pingroup tgllp_groups[] = {
@@ -340,6 +341,7 @@ static const struct intel_pingroup tgllp_groups[] = {
PIN_GROUP("i2c1_grp", tgllp_i2c1_pins, 2),
PIN_GROUP("pwm0_grp", tgllp_pwm0_pins, 2),
PIN_GROUP("uart1_grp", tgllp_uart1_pins, 2),
+ PIN_GROUP("ish_uart0_grp", tgllp_ish_uart0_pins, 2),
PIN_GROUP("ssp2_grp", tgllp_ssp2_pins, 7),
};
@@ -347,6 +349,7 @@ static const char * const tgllp_i2c0_groups[] = { "i2c0_grp" };
static const char * const tgllp_i2c1_groups[] = { "i2c1_grp" };
static const char * const tgllp_pwm0_groups[] = { "pwm0_grp" };
static const char * const tgllp_uart1_groups[] = { "uart1_grp" };
+static const char * const tgllp_ish_uart0_groups[] = { "ish_uart0_grp" };
static const char * const tgllp_ssp2_groups[] = { "ssp2_grp" };
static const struct intel_function tgllp_functions[] = {
@@ -354,6 +357,7 @@ static const struct intel_function tgllp_functions[] = {
FUNCTION("i2c1", tgllp_i2c1_groups),
FUNCTION("pwm0", tgllp_pwm0_groups),
FUNCTION("uart1", tgllp_uart1_groups),
+ FUNCTION("ish_uart0", tgllp_ish_uart0_groups),
FUNCTION("ssp2", tgllp_ssp2_groups),
};
--
2.43.0
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH v5 2/5] pinctrl: alderlake: add some groups and functions for INTC1057
2026-11-30 11:25 [PATCH v5 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Gary Wang
2026-11-30 11:25 ` [PATCH v5 1/5] pinctrl: tigerlake: add ish_uart0 groups and functions for INTC1055 Gary Wang
@ 2026-11-30 11:25 ` Gary Wang
2026-11-30 17:23 ` Andy Shevchenko
2026-11-30 11:25 ` [PATCH v5 3/5] pinctrl: meteorlake: add some groups and functions for INTC105E Gary Wang
` (3 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Gary Wang @ 2026-11-30 11:25 UTC (permalink / raw)
To: Andy Shevchenko, Linus Walleij, Thomas Richard, Andy Shevchenko
Cc: Daniele Cleri, JunYingLai, Louis Chen, BillyChou, linux-gpio,
linux-kernel, Gary Wang
Add ish_i2c0,ish_i2c1,i2c0,i2c1,pwm0,uart0,ish_spi pin groups & functions
in adln_soc_data for device id INTC1057. The pinctrl-upboard driver set
the correct pin function corresponding to these data.
Signed-off-by: Gary Wang <is0124@gmail.com>
---
drivers/pinctrl/intel/pinctrl-alderlake.c | 40 +++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/drivers/pinctrl/intel/pinctrl-alderlake.c b/drivers/pinctrl/intel/pinctrl-alderlake.c
index 415bc0a16957..d3bdd727ced2 100644
--- a/drivers/pinctrl/intel/pinctrl-alderlake.c
+++ b/drivers/pinctrl/intel/pinctrl-alderlake.c
@@ -306,6 +306,42 @@ static const struct pinctrl_pin_desc adln_pins[] = {
PINCTRL_PIN(256, "GPP_R_7"),
};
+static const unsigned int adln_ish_i2c0_pins[] = { 5, 6 };
+static const unsigned int adln_ish_i2c1_pins[] = { 7, 8 };
+static const unsigned int adln_i2c0_pins[] = { 99, 100 };
+static const unsigned int adln_i2c1_pins[] = { 101, 102 };
+static const unsigned int adln_pwm0_pins[] = { 119 };
+static const unsigned int adln_uart0_pins[] = { 105, 106, 107, 108 };
+static const unsigned int adln_ish_spi_pins[] = { 128, 129, 130, 131 };
+
+static const struct intel_pingroup adln_groups[] = {
+ PIN_GROUP("ish_i2c0_grp", adln_ish_i2c0_pins, 2),
+ PIN_GROUP("ish_i2c1_grp", adln_ish_i2c1_pins, 2),
+ PIN_GROUP("i2c0_grp", adln_i2c0_pins, 1),
+ PIN_GROUP("i2c1_grp", adln_i2c1_pins, 1),
+ PIN_GROUP("pwm0_grp", adln_pwm0_pins, 2),
+ PIN_GROUP("uart0_grp", adln_uart0_pins, 2),
+ PIN_GROUP("ish_spi_grp", adln_ish_spi_pins, 7),
+};
+
+static const char * const adln_ish_i2c0_groups[] = { "ish_i2c0_grp" };
+static const char * const adln_ish_i2c1_groups[] = { "ish_i2c1_grp" };
+static const char * const adln_i2c0_groups[] = { "i2c0_grp" };
+static const char * const adln_i2c1_groups[] = { "i2c1_grp" };
+static const char * const adln_pwm0_groups[] = { "pwm0_grp" };
+static const char * const adln_uart0_groups[] = { "uart0_grp" };
+static const char * const adln_ish_spi_groups[] = { "ish_spi_grp" };
+
+static const struct intel_function adln_functions[] = {
+ FUNCTION("ish_i2c0", adln_ish_i2c0_groups),
+ FUNCTION("ish_i2c1", adln_ish_i2c1_groups),
+ FUNCTION("i2c0", adln_i2c0_groups),
+ FUNCTION("i2c1", adln_i2c1_groups),
+ FUNCTION("pwm0", adln_pwm0_groups),
+ FUNCTION("uart0", adln_uart0_groups),
+ FUNCTION("ish_spi", adln_ish_spi_groups),
+};
+
static const struct intel_padgroup adln_community0_gpps[] = {
INTEL_GPP(0, 0, 25, 0), /* GPP_B */
INTEL_GPP(1, 26, 41, 32), /* GPP_T */
@@ -341,6 +377,10 @@ static const struct intel_community adln_communities[] = {
static const struct intel_pinctrl_soc_data adln_soc_data = {
.pins = adln_pins,
.npins = ARRAY_SIZE(adln_pins),
+ .groups = adln_groups,
+ .ngroups = ARRAY_SIZE(adln_groups),
+ .functions = adln_functions,
+ .nfunctions = ARRAY_SIZE(adln_functions),
.communities = adln_communities,
.ncommunities = ARRAY_SIZE(adln_communities),
};
--
2.43.0
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [PATCH v5 2/5] pinctrl: alderlake: add some groups and functions for INTC1057
2026-11-30 11:25 ` [PATCH v5 2/5] pinctrl: alderlake: add some groups and functions for INTC1057 Gary Wang
@ 2026-11-30 17:23 ` Andy Shevchenko
2026-11-30 19:04 ` GaryWang
0 siblings, 1 reply; 12+ messages in thread
From: Andy Shevchenko @ 2026-11-30 17:23 UTC (permalink / raw)
To: Gary Wang
Cc: Andy Shevchenko, Linus Walleij, Thomas Richard, Daniele Cleri,
JunYingLai, Louis Chen, BillyChou, linux-gpio, linux-kernel
On Mon, Nov 30, 2026 at 07:25:35PM +0800, Gary Wang wrote:
> Add ish_i2c0,ish_i2c1,i2c0,i2c1,pwm0,uart0,ish_spi pin groups & functions
Does ISH have a single SPI interface?
> in adln_soc_data for device id INTC1057. The pinctrl-upboard driver set
> the correct pin function corresponding to these data.
Note, I'm going to apply the rest two patches, this needs a clarification.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v5 2/5] pinctrl: alderlake: add some groups and functions for INTC1057
2026-11-30 17:23 ` Andy Shevchenko
@ 2026-11-30 19:04 ` GaryWang
0 siblings, 0 replies; 12+ messages in thread
From: GaryWang @ 2026-11-30 19:04 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Andy Shevchenko, Linus Walleij, Thomas Richard, Daniele Cleri,
JunYingLai, Louis Chen, BillyChou, linux-gpio, linux-kernel
On Tue, Dec 1, 2026 at 1:23 AM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> On Mon, Nov 30, 2026 at 07:25:35PM +0800, Gary Wang wrote:
> > Add ish_i2c0,ish_i2c1,i2c0,i2c1,pwm0,uart0,ish_spi pin groups & functions
>
> Does ISH have a single SPI interface?
>
ISH only a single SPI interface.
> > in adln_soc_data for device id INTC1057. The pinctrl-upboard driver set
> > the correct pin function corresponding to these data.
>
> Note, I'm going to apply the rest two patches, this needs a clarification.
Ok, I've checked with Intel EDS document.
>
> --
> With Best Regards,
> Andy Shevchenko
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v5 3/5] pinctrl: meteorlake: add some groups and functions for INTC105E
2026-11-30 11:25 [PATCH v5 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Gary Wang
2026-11-30 11:25 ` [PATCH v5 1/5] pinctrl: tigerlake: add ish_uart0 groups and functions for INTC1055 Gary Wang
2026-11-30 11:25 ` [PATCH v5 2/5] pinctrl: alderlake: add some groups and functions for INTC1057 Gary Wang
@ 2026-11-30 11:25 ` Gary Wang
2026-11-30 11:25 ` [PATCH v5 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode Gary Wang
` (2 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Gary Wang @ 2026-11-30 11:25 UTC (permalink / raw)
To: Andy Shevchenko, Linus Walleij, Thomas Richard, Andy Shevchenko
Cc: Daniele Cleri, JunYingLai, Louis Chen, BillyChou, linux-gpio,
linux-kernel, Gary Wang
Add i2c0,i2c1,pwm0,uart0,spi0 pin groups & functions in mtlp_soc_data for
device id INTC105E. The pinctrl-upboard driver set the correct pin
function corresponding to these data.
Signed-off-by: Gary Wang <is0124@gmail.com>
---
drivers/pinctrl/intel/pinctrl-meteorlake.c | 32 ++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/drivers/pinctrl/intel/pinctrl-meteorlake.c b/drivers/pinctrl/intel/pinctrl-meteorlake.c
index 6fefee7827ed..870658eac91d 100644
--- a/drivers/pinctrl/intel/pinctrl-meteorlake.c
+++ b/drivers/pinctrl/intel/pinctrl-meteorlake.c
@@ -339,6 +339,34 @@ static const struct pinctrl_pin_desc mtlp_pins[] = {
PINCTRL_PIN(288, "vI2S2_RXD_2"),
};
+static const unsigned int mtlp_i2c0_pins[] = { 122, 123 };
+static const unsigned int mtlp_i2c1_pins[] = { 124, 125 };
+static const unsigned int mtlp_pwm0_pins[] = { 208 };
+static const unsigned int mtlp_uart0_pins[] = { 111, 112, 113, 114 };
+static const unsigned int mtlp_spi0_pins[] = { 88, 89, 90, 91 };
+
+static const struct intel_pingroup mtlp_groups[] = {
+ PIN_GROUP("i2c0_grp", mtlp_i2c0_pins, 1),
+ PIN_GROUP("i2c1_grp", mtlp_i2c1_pins, 1),
+ PIN_GROUP("pwm0_grp", mtlp_pwm0_pins, 2),
+ PIN_GROUP("uart0_grp", mtlp_uart0_pins, 1),
+ PIN_GROUP("spi0_grp", mtlp_spi0_pins, 5),
+};
+
+static const char * const mtlp_i2c0_groups[] = { "i2c0_grp" };
+static const char * const mtlp_i2c1_groups[] = { "i2c1_grp" };
+static const char * const mtlp_pwm0_groups[] = { "pwm0_grp" };
+static const char * const mtlp_uart0_groups[] = { "uart0_grp" };
+static const char * const mtlp_spi0_groups[] = { "spi0_grp" };
+
+static const struct intel_function mtlp_functions[] = {
+ FUNCTION("i2c0", mtlp_i2c0_groups),
+ FUNCTION("i2c1", mtlp_i2c1_groups),
+ FUNCTION("pwm0", mtlp_pwm0_groups),
+ FUNCTION("uart0", mtlp_uart0_groups),
+ FUNCTION("spi0", mtlp_spi0_groups),
+};
+
static const struct intel_padgroup mtlp_community0_gpps[] = {
INTEL_GPP(0, 0, 4, 0), /* CPU */
INTEL_GPP(1, 5, 28, 32), /* GPP_V */
@@ -380,6 +408,10 @@ static const struct intel_community mtlp_communities[] = {
static const struct intel_pinctrl_soc_data mtlp_soc_data = {
.pins = mtlp_pins,
.npins = ARRAY_SIZE(mtlp_pins),
+ .groups = mtlp_groups,
+ .ngroups = ARRAY_SIZE(mtlp_groups),
+ .functions = mtlp_functions,
+ .nfunctions = ARRAY_SIZE(mtlp_functions),
.communities = mtlp_communities,
.ncommunities = ARRAY_SIZE(mtlp_communities),
};
--
2.43.0
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH v5 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode
2026-11-30 11:25 [PATCH v5 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Gary Wang
` (2 preceding siblings ...)
2026-11-30 11:25 ` [PATCH v5 3/5] pinctrl: meteorlake: add some groups and functions for INTC105E Gary Wang
@ 2026-11-30 11:25 ` Gary Wang
2026-11-30 17:27 ` Andy Shevchenko
2026-11-30 17:51 ` Thomas Richard
2026-11-30 11:25 ` [PATCH v5 5/5] pinctrl: upboard: add device id INTC1055 & INTC1057 & INTC105E based UP boards support Gary Wang
2026-11-30 17:24 ` (subset) [PATCH v5 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Andy Shevchenko
5 siblings, 2 replies; 12+ messages in thread
From: Gary Wang @ 2026-11-30 11:25 UTC (permalink / raw)
To: Andy Shevchenko, Linus Walleij, Thomas Richard, Andy Shevchenko
Cc: Daniele Cleri, JunYingLai, Louis Chen, BillyChou, linux-gpio,
linux-kernel, Gary Wang, stable
The CPLD I2C pin mode setting through pinmux-select is not correct.
Should be set UPBOARD_PIN_MODE_FUNCTION on AANT0F04 devices.
Change UPBOARD_PIN_MODE_GPIO_OUT to UPBOARD_PIN_MODE_FUNCTION for both
i2c0_grp and i2c1_grp. Additionally, replace the check variable `mode`
with `modes` to prevent the value of `mode` from being 0.
Cc: stable@vger.kernel.org
Fixes: dca2f73cf19f ("pinctrl: Add pin controller driver for AAEON UP boards")
Signed-off-by: Gary Wang <is0124@gmail.com>
---
drivers/pinctrl/pinctrl-upboard.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-upboard.c b/drivers/pinctrl/pinctrl-upboard.c
index b9af6dd93c34..bb0fd404f2b2 100644
--- a/drivers/pinctrl/pinctrl-upboard.c
+++ b/drivers/pinctrl/pinctrl-upboard.c
@@ -289,8 +289,8 @@ static const unsigned int upboard_up_adc0_pins[] = {
static const struct upboard_pingroup upboard_up_pin_groups[] = {
UPBOARD_PINGROUP("uart1_grp", upboard_up_uart1_pins, &upboard_up_uart1_modes[0]),
- UPBOARD_PINGROUP("i2c0_grp", upboard_up_i2c0_pins, UPBOARD_PIN_MODE_GPIO_OUT),
- UPBOARD_PINGROUP("i2c1_grp", upboard_up_i2c1_pins, UPBOARD_PIN_MODE_GPIO_OUT),
+ UPBOARD_PINGROUP("i2c0_grp", upboard_up_i2c0_pins, UPBOARD_PIN_MODE_FUNCTION),
+ UPBOARD_PINGROUP("i2c1_grp", upboard_up_i2c1_pins, UPBOARD_PIN_MODE_FUNCTION),
UPBOARD_PINGROUP("spi2_grp", upboard_up_spi2_pins, &upboard_up_spi2_modes[0]),
UPBOARD_PINGROUP("i2s0_grp", upboard_up_i2s0_pins, &upboard_up_i2s0_modes[0]),
UPBOARD_PINGROUP("pwm0_grp", upboard_up_pwm0_pins, UPBOARD_PIN_MODE_GPIO_OUT),
@@ -710,7 +710,10 @@ static int upboard_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned int fun
return -EINVAL;
for (i = 0; i < grp->grp.npins; i++) {
- mode = upgroups[group_selector].mode ?: upgroups[group_selector].modes[i];
+ if (upgroups[group_selector].modes)
+ mode = upgroups[group_selector].modes[i];
+ else
+ mode = upgroups[group_selector].mode;
if (mode == UPBOARD_PIN_MODE_FUNCTION) {
ret = upboard_pinctrl_set_function(pctldev, grp->grp.pins[i]);
if (ret)
--
2.43.0
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [PATCH v5 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode
2026-11-30 11:25 ` [PATCH v5 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode Gary Wang
@ 2026-11-30 17:27 ` Andy Shevchenko
2026-11-30 17:51 ` Thomas Richard
1 sibling, 0 replies; 12+ messages in thread
From: Andy Shevchenko @ 2026-11-30 17:27 UTC (permalink / raw)
To: Gary Wang
Cc: Andy Shevchenko, Linus Walleij, Thomas Richard, Daniele Cleri,
JunYingLai, Louis Chen, BillyChou, linux-gpio, linux-kernel,
stable
On Mon, Nov 30, 2026 at 07:25:37PM +0800, Gary Wang wrote:
> The CPLD I2C pin mode setting through pinmux-select is not correct.
> Should be set UPBOARD_PIN_MODE_FUNCTION on AANT0F04 devices.
>
> Change UPBOARD_PIN_MODE_GPIO_OUT to UPBOARD_PIN_MODE_FUNCTION for both
> i2c0_grp and i2c1_grp. Additionally, replace the check variable `mode`
> with `modes` to prevent the value of `mode` from being 0.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v5 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode
2026-11-30 11:25 ` [PATCH v5 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode Gary Wang
2026-11-30 17:27 ` Andy Shevchenko
@ 2026-11-30 17:51 ` Thomas Richard
1 sibling, 0 replies; 12+ messages in thread
From: Thomas Richard @ 2026-11-30 17:51 UTC (permalink / raw)
To: Gary Wang
Cc: Andy Shevchenko, Linus Walleij, Thomas Richard, Andy Shevchenko,
Daniele Cleri, JunYingLai, Louis Chen, BillyChou, linux-gpio,
linux-kernel, stable
On Mon, 30 Nov 2026 19:25:37 +0800, Gary Wang <is0124@gmail.com> wrote:
> The CPLD I2C pin mode setting through pinmux-select is not correct.
> Should be set UPBOARD_PIN_MODE_FUNCTION on AANT0F04 devices.
>
> Change UPBOARD_PIN_MODE_GPIO_OUT to UPBOARD_PIN_MODE_FUNCTION for both
> i2c0_grp and i2c1_grp. Additionally, replace the check variable `mode`
> with `modes` to prevent the value of `mode` from being 0.
>
> [...]
Reviewed-by: Thomas Richard <thomas.richard@bootlin.com>
--
Best Regards,
Thomas Richard
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v5 5/5] pinctrl: upboard: add device id INTC1055 & INTC1057 & INTC105E based UP boards support
2026-11-30 11:25 [PATCH v5 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Gary Wang
` (3 preceding siblings ...)
2026-11-30 11:25 ` [PATCH v5 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode Gary Wang
@ 2026-11-30 11:25 ` Gary Wang
2026-11-30 17:28 ` Andy Shevchenko
2026-11-30 17:24 ` (subset) [PATCH v5 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Andy Shevchenko
5 siblings, 1 reply; 12+ messages in thread
From: Gary Wang @ 2026-11-30 11:25 UTC (permalink / raw)
To: Andy Shevchenko, Linus Walleij, Thomas Richard, Andy Shevchenko
Cc: Daniele Cleri, JunYingLai, Louis Chen, BillyChou, linux-gpio,
linux-kernel, Gary Wang
Add support "UP Xtreme ARL","UP Xtreme i14","UP Squared Pro 7000",
"UP Squared i12","UP 7000" and I2C/PWM/UART/SPI pins mapping data.
Signed-off-by: Gary Wang <is0124@gmail.com>
---
drivers/pinctrl/pinctrl-upboard.c | 102 ++++++++++++++++++++++++++++++++++++--
1 file changed, 97 insertions(+), 5 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-upboard.c b/drivers/pinctrl/pinctrl-upboard.c
index bb0fd404f2b2..0f8ec9213b09 100644
--- a/drivers/pinctrl/pinctrl-upboard.c
+++ b/drivers/pinctrl/pinctrl-upboard.c
@@ -915,7 +915,7 @@ static const struct upboard_pinctrl_map upboard_pinctrl_map_apl01 = {
.nmaps = ARRAY_SIZE(pinctrl_map_apl01),
};
-static const struct pinctrl_map pinctrl_map_adl[] = {
+static const struct pinctrl_map pinctrl_map_upxadlp[] = {
PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "i2c0_grp", "i2c0"),
PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "i2c1_grp", "i2c1"),
PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "pwm0_grp", "pwm0"),
@@ -923,9 +923,61 @@ static const struct pinctrl_map pinctrl_map_adl[] = {
PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "ssp2_grp", "ssp2"),
};
-static const struct upboard_pinctrl_map upboard_pinctrl_map_adl = {
- .maps = &pinctrl_map_adl[0],
- .nmaps = ARRAY_SIZE(pinctrl_map_adl),
+static const struct upboard_pinctrl_map upboard_pinctrl_map_upxadlp = {
+ .maps = &pinctrl_map_upxadlp[0],
+ .nmaps = ARRAY_SIZE(pinctrl_map_upxadlp),
+};
+
+static const struct pinctrl_map pinctrl_map_upsadlp[] = {
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "i2c0_grp", "i2c0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "i2c1_grp", "i2c1"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "pwm0_grp", "pwm0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "ish_uart0_grp", "ish_uart0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "ssp2_grp", "ssp2"),
+};
+
+static const struct upboard_pinctrl_map upboard_pinctrl_map_upsadlp = {
+ .maps = &pinctrl_map_upsadlp[0],
+ .nmaps = ARRAY_SIZE(pinctrl_map_upsadlp),
+};
+
+static const struct pinctrl_map pinctrl_map_upadln[] = {
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "i2c0_grp", "i2c0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "i2c1_grp", "i2c1"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "pwm0_grp", "pwm0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "uart0_grp", "uart0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "ish_spi_grp", "ish_spi"),
+};
+
+static const struct upboard_pinctrl_map upboard_pinctrl_map_upadln = {
+ .maps = &pinctrl_map_upadln[0],
+ .nmaps = ARRAY_SIZE(pinctrl_map_upadln),
+};
+
+static const struct pinctrl_map pinctrl_map_upnadln[] = {
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "ish_i2c0_grp", "ish_i2c0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "ish_i2c1_grp", "ish_i2c1"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "pwm0_grp", "pwm0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "uart0_grp", "uart0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "ish_spi_grp", "ish_spi"),
+};
+
+static const struct upboard_pinctrl_map upboard_pinctrl_map_upnadln = {
+ .maps = &pinctrl_map_upnadln[0],
+ .nmaps = ARRAY_SIZE(pinctrl_map_upnadln),
+};
+
+static const struct pinctrl_map pinctrl_map_upxarl[] = {
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC105E:00", "i2c0_grp", "i2c0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC105E:00", "i2c1_grp", "i2c1"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC105E:00", "pwm0_grp", "pwm0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC105E:00", "uart0_grp", "uart0"),
+ PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC105E:00", "spi0_grp", "spi0"),
+};
+
+static const struct upboard_pinctrl_map upboard_pinctrl_map_upxarl = {
+ .maps = &pinctrl_map_upxarl[0],
+ .nmaps = ARRAY_SIZE(pinctrl_map_upxarl),
};
static const struct dmi_system_id dmi_platform_info[] = {
@@ -943,7 +995,47 @@ static const struct dmi_system_id dmi_platform_info[] = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AAEON"),
DMI_EXACT_MATCH(DMI_BOARD_NAME, "UPX-ADLP01"),
},
- .driver_data = (void *)&upboard_pinctrl_map_adl,
+ .driver_data = (void *)&upboard_pinctrl_map_upxadlp,
+ },
+ {
+ /* UP Squared i12 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AAEON"),
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "UPS-ADLP01"),
+ },
+ .driver_data = (void *)&upboard_pinctrl_map_upsadlp,
+ },
+ {
+ /* UP Squared Pro 7000 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AAEON"),
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "UPN-ADLN01"),
+ },
+ .driver_data = (void *)&upboard_pinctrl_map_upnadln,
+ },
+ {
+ /* UP 7000 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AAEON"),
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "UP-ADLN01"),
+ },
+ .driver_data = (void *)&upboard_pinctrl_map_upadln,
+ },
+ {
+ /* UP Xtreme i14 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AAEON"),
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "UPX-MTL01"),
+ },
+ .driver_data = (void *)&upboard_pinctrl_map_upxarl,
+ },
+ {
+ /* UP Xtreme ARL */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AAEON"),
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "UPX-ARL01"),
+ },
+ .driver_data = (void *)&upboard_pinctrl_map_upxarl,
},
{ }
};
--
2.43.0
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [PATCH v5 5/5] pinctrl: upboard: add device id INTC1055 & INTC1057 & INTC105E based UP boards support
2026-11-30 11:25 ` [PATCH v5 5/5] pinctrl: upboard: add device id INTC1055 & INTC1057 & INTC105E based UP boards support Gary Wang
@ 2026-11-30 17:28 ` Andy Shevchenko
0 siblings, 0 replies; 12+ messages in thread
From: Andy Shevchenko @ 2026-11-30 17:28 UTC (permalink / raw)
To: Gary Wang
Cc: Andy Shevchenko, Linus Walleij, Thomas Richard, Daniele Cleri,
JunYingLai, Louis Chen, BillyChou, linux-gpio, linux-kernel
On Mon, Nov 30, 2026 at 07:25:38PM +0800, Gary Wang wrote:
> Add support "UP Xtreme ARL","UP Xtreme i14","UP Squared Pro 7000",
> "UP Squared i12","UP 7000" and I2C/PWM/UART/SPI pins mapping data.
Split this to rename adl --> upxadlp and the rest, so you should have two
patches out of this one.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: (subset) [PATCH v5 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E
2026-11-30 11:25 [PATCH v5 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Gary Wang
` (4 preceding siblings ...)
2026-11-30 11:25 ` [PATCH v5 5/5] pinctrl: upboard: add device id INTC1055 & INTC1057 & INTC105E based UP boards support Gary Wang
@ 2026-11-30 17:24 ` Andy Shevchenko
5 siblings, 0 replies; 12+ messages in thread
From: Andy Shevchenko @ 2026-11-30 17:24 UTC (permalink / raw)
To: Andy Shevchenko, Linus Walleij, Thomas Richard, Gary Wang
Cc: Daniele Cleri, JunYingLai, Louis Chen, BillyChou, linux-gpio,
linux-kernel, stable
On Mon, 30 Nov 2026 19:25:33 +0800, Gary Wang wrote:
> Add support for "UP Xtreme ARL","UP Xtreme i14","UP Squared Pro 7000",
> "UP Squared i12","UP 7000" and missing groups and functions data for
> INTC1055 & INTC1057 & INTC105E.
>
> Fix pinmux-select set CPLD GPIO OUT not function mode for I2C pins
> on the AANT0F04.
>
> [...]
Applied, thanks!
[1/5] pinctrl: tigerlake: add ish_uart0 groups and functions for INTC1055
commit: 08a42342d1eeb5feef1b4e1762e3c773cf43b488
[2/5] pinctrl: alderlake: add some groups and functions for INTC1057
(no commit info)
[3/5] pinctrl: meteorlake: add some groups and functions for INTC105E
commit: 7ae74b6dd171e321f901a2dd506c7dcf9eedbc60
Best regards,
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 12+ messages in thread