From: sashiko-bot@kernel.org
To: "Taniya Das" <taniya.das@oss.qualcomm.com>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-gpio@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 07/10] arm64: dts: qcom: sc7280: Add GP M/N clock controller
Date: Tue, 24 Nov 2026 19:53:12 +0000 [thread overview]
Message-ID: <sashiko-outbox-231916@kernel.org> (raw)
In-Reply-To: <20261124-b4-pdm_clk_gp_mnd_v2-v3-7-98db26a87500@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: qcom: sc7280: undefined gp_mn pinmux function in
kodiak.dtsi
- [Low] arm64: dts: qcom: sc7280: unsorted gp_mn_active pinctrl subnode
in kodiak.dtsi
--
commit b17b6968e213c74fa5ead791ea18018b1292f1e0
Author: Taniya Das <taniya.das@oss.qualcomm.com>
arm64: dts: qcom: sc7280: Add GP M/N clock controller
This commit adds the GP M/N clock controller node and its default TLMM pin
configuration on gpio60 for SC7280.
> diff --git a/arch/arm64/boot/dts/qcom/kodiak.dtsi b/arch/arm64/boot/dts/qcom/kodiak.dtsi
> index 10e9a5279ed60..773f4487d7830 100644
> --- a/arch/arm64/boot/dts/qcom/kodiak.dtsi
> +++ b/arch/arm64/boot/dts/qcom/kodiak.dtsi
[ ... ]
> @@ -6683,6 +6697,13 @@ mi2s0_ws: mi2s0-ws-state {
> function = "mi2s0_ws";
> };
>
> + gp_mn_active: gp-mn-active-state {
> + pins = "gpio60";
> + function = "gp_mn";
[Severity: Medium]
Is a patch adding the "gp_mn" function to the SC7280 pinctrl driver and
binding missing?
Neither Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml
nor drivers/pinctrl/qcom/pinctrl-sc7280.c defines "gp_mn" (and
sc7280_groups[60] only lists qup17, edp_hot and phase_flag):
drivers/pinctrl/qcom/pinctrl-sc7280.c:sc7280_groups[] {
...
[60] = PINGROUP(60, qup17, edp_hot, _, phase_flag, _, _, _, _, _),
...
}
Because tlmm is enabled in kodiak.dtsi, this causes dtbs_check schema
validation failures on SC7280 boards, and enabling gp_mn will fail to
probe at runtime with -EINVAL when pinctrl_bind_pins() looks up "gp_mn".
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> mi2s1_sclk: mi2s1-sclk-state {
> pins = "gpio106";
> function = "mi2s1_sck";
[Severity: Low]
This isn't a bug, but the tlmm subnodes in kodiak.dtsi were sorted by pin
number in commit a732b12f1fcc ("arm64: dts: qcom: kodiak: Sort pinctrl
subnodes by pins"). Should gp_mn_active (gpio60) be placed alongside the
existing gpio60 states (such as edp_hot_plug_det) rather than between
gpio100 and gpio106?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-b4-pdm_clk_gp_mnd_v2-v3-0-98db26a87500@oss.qualcomm.com?part=7
next prev parent reply other threads:[~2026-11-24 19:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 19:51 [PATCH v3 00/10] clk: qcom: Add PDM GP_MN fractional clock divider driver and DT support Taniya Das
2026-11-23 19:51 ` [PATCH v3 01/10] dt-bindings: clock: qcom: Add bindings for PDM GP_MN clock divider Taniya Das
2026-11-24 19:53 ` sashiko-bot
2026-11-23 19:51 ` [PATCH v3 02/10] dt-bindings: clock: qcom: Add PDM XO4 divider clock IDs Taniya Das
2026-11-23 19:51 ` [PATCH v3 03/10] clk: qcom: Add a driver for PDM GP_MN fractional clock divider Taniya Das
2026-11-24 5:54 ` Abel Vesa
2026-11-23 19:51 ` [PATCH v3 04/10] clk: qcom: gcc: Add configurable PDM XO4 div clocks across targets Taniya Das
2026-11-23 19:51 ` [PATCH v3 05/10] arm64: dts: qcom: qcs8300: Add GP M/N clock controller Taniya Das
2026-11-24 19:53 ` sashiko-bot
2026-11-23 19:51 ` [PATCH v3 06/10] arm64: dts: qcom: sa8775p: " Taniya Das
2026-11-24 19:53 ` sashiko-bot
2026-11-23 19:51 ` [PATCH v3 07/10] arm64: dts: qcom: sc7280: " Taniya Das
2026-11-24 19:53 ` sashiko-bot [this message]
2026-11-23 19:51 ` [PATCH v3 08/10] arm64: dts: qcom: qcs615: " Taniya Das
2026-11-24 19:53 ` sashiko-bot
2026-11-23 19:51 ` [PATCH v3 09/10] arm64: dts: qcom: sm8750: " Taniya Das
2026-11-24 19:53 ` sashiko-bot
2026-11-23 19:51 ` [PATCH v3 10/10] arm64: dts: qcom: shikra: " Taniya Das
2026-11-24 19:53 ` sashiko-bot
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-231916@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=taniya.das@oss.qualcomm.com \
/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.