All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: SignKirigami <prcups@krgm.moe>
Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/2] pinctrl: qcom: Add Netrani TLMM support
Date: Tue, 24 Nov 2026 11:04:34 +0000	[thread overview]
Message-ID: <sashiko-outbox-231017@kernel.org> (raw)
In-Reply-To: <20261124-netrani-tlmm-v1-v1-2-0f84fa251b89@krgm.moe>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] pinctrl: qcom: netrani: egpio defined with MSM_PIN_FUNCTION()
--

commit 01a0518c16490f7c690609070f78065dd5ccc399
Author: SignKirigami <prcups@krgm.moe>

pinctrl: qcom: Add Netrani TLMM support

This commit adds the pin controller driver for the Qualcomm Netrani TLMM
block, defining its pin groups, mux functions, and PDC wakeup interrupt map.

> diff --git a/drivers/pinctrl/qcom/pinctrl-netrani.c b/drivers/pinctrl/qcom/pinctrl-netrani.c
> new file mode 100644
> index 0000000000000..fe37244219c73
> --- /dev/null
> +++ b/drivers/pinctrl/qcom/pinctrl-netrani.c

[ ... ]

> +static const struct pinfunction netrani_functions[] = {
> +	MSM_GPIO_PIN_FUNCTION(gpio),
> +	MSM_PIN_FUNCTION(egpio),

[Severity: High]
Should egpio in netrani_functions[] use MSM_GPIO_PIN_FUNCTION(egpio) instead
of MSM_PIN_FUNCTION(egpio)?

msm_pinmux_ops sets .strict = true and .function_is_gpio =
pinmux_generic_function_is_gpio.  Without MSM_GPIO_PIN_FUNCTION(), egpio
does not set PINFUNCTION_FLAG_GPIO, so pin_request() rejects GPIO requests
on pins 114 through 140 when they are muxed to egpio.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-netrani-tlmm-v1-v1-0-0f84fa251b89@krgm.moe?part=2

      reply	other threads:[~2026-11-24 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 10:47 [PATCH 0/2] Add Qualcomm Netrani TLMM support SignKirigami
2026-11-24 10:47 ` [PATCH 1/2] dt-bindings: pinctrl: Add Qualcomm Netrani TLMM SignKirigami
2026-11-24 11:02   ` sashiko-bot
2026-11-24 10:47 ` [PATCH 2/2] pinctrl: qcom: Add Netrani TLMM support SignKirigami
2026-11-24 11:04   ` sashiko-bot [this message]

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-231017@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=prcups@krgm.moe \
    --cc=robh@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.