From: sashiko-bot@kernel.org
To: "Gary Wang" <is0124@gmail.com>
Cc: linux-gpio@vger.kernel.org
Subject: Re: [PATCH v2 5/5] pinctrl: upboard: add device id INTC1055 & INTC1057 & INTC105E based UP boards support
Date: Tue, 24 Nov 2026 17:19:21 +0000 [thread overview]
Message-ID: <sashiko-outbox-231683@kernel.org> (raw)
In-Reply-To: <20261125-upboard-pinctrl-add-intc1057-intc105e-support-v2-5-c8079f8f569f@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] pinctrl: upboard: wrong functions for ish_i2c groups in
pinctrl_map_upnadln
--
commit cfa439814253611b6af521059869e83629a2939d
Author: Gary Wang <is0124@gmail.com>
pinctrl: upboard: add device id INTC1055 & INTC1057 & INTC105E based UP boards support
This commit adds pin mapping data and DMI entries for the UP Squared i12,
UP Squared Pro 7000, UP 7000, UP Xtreme i14, and UP Xtreme ARL boards.
> diff --git a/drivers/pinctrl/pinctrl-upboard.c b/drivers/pinctrl/pinctrl-upboard.c
> index 0903163493310..6b53d6fd5996d 100644
> --- a/drivers/pinctrl/pinctrl-upboard.c
> +++ b/drivers/pinctrl/pinctrl-upboard.c
> @@ -912,7 +912,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"),
> @@ -920,9 +920,61 @@ static const struct pinctrl_map pinctrl_map_adl[] = {
> PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1055:00", "ssp2_grp", "ssp2"),
> };
[ ... ]
> +static const struct pinctrl_map pinctrl_map_upnadln[] = {
> + PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "ish_i2c0_grp", "i2c0"),
> + PIN_MAP_MUX_GROUP_DEFAULT("upboard-pinctrl", "INTC1057:00", "ish_i2c1_grp", "i2c1"),
[Severity: High]
Should the functions for ish_i2c0_grp and ish_i2c1_grp in
pinctrl_map_upnadln[] be "ish_i2c0" and "ish_i2c1" instead of "i2c0" and
"i2c1"?
On INTC1057, adln_functions[] in drivers/pinctrl/intel/pinctrl-alderlake.c
only includes i2c0_grp in function "i2c0" and i2c1_grp in function "i2c1",
while ish_i2c0_grp and ish_i2c1_grp belong to functions "ish_i2c0" and
"ish_i2c1". As a result, pinmux_map_to_setting() rejects these mappings
with -EINVAL, causing devm_pinctrl_get_select_default() and
upboard_pinctrl_probe() to fail on UP Squared Pro 7000 (UPN-ADLN01).
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-upboard-pinctrl-add-intc1057-intc105e-support-v2-0-c8079f8f569f@gmail.com?part=5
next prev parent reply other threads:[~2026-11-24 17:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 17:10 [PATCH v2 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Gary Wang
2026-11-24 17:10 ` [PATCH v2 1/5] pinctrl: tigerlake: add ish_uart groups and functions for INTC1055 Gary Wang
2026-11-24 17:10 ` [PATCH v2 2/5] pinctrl: alderlake: add some groups and functions for INTC1057 Gary Wang
2026-11-24 17:10 ` [PATCH v2 3/5] pinctrl: meteorlake: add some groups and functions for INTC105E Gary Wang
2026-11-24 17:10 ` [PATCH v2 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode Gary Wang
2026-11-24 17:22 ` sashiko-bot
2026-11-24 17:31 ` Andy Shevchenko
2026-11-24 17:10 ` [PATCH v2 5/5] pinctrl: upboard: add device id INTC1055 & INTC1057 & INTC105E based UP boards support Gary Wang
2026-11-24 17:19 ` sashiko-bot [this message]
[not found] ` <awXJd59jTHM2bIlD@ashevche-desk.local>
2026-11-24 17:33 ` [PATCH v2 0/5] upboard pinctrl support for device id INTC1055 & INTC1057 & INTC105E Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-231683@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=is0124@gmail.com \
--cc=linux-gpio@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox