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 06/10] arm64: dts: qcom: sa8775p: Add GP M/N clock controller
Date: Tue, 24 Nov 2026 19:53:11 +0000 [thread overview]
Message-ID: <sashiko-outbox-231915@kernel.org> (raw)
In-Reply-To: <20261124-b4-pdm_clk_gp_mnd_v2-v3-6-98db26a87500@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: qcom: sa8775p: undefined gp_mn pinmux function on
gpio35
--
commit 2bb0f9c69aa222be884a221ac0040d31c8953968
Author: Taniya Das <taniya.das@oss.qualcomm.com>
arm64: dts: qcom: sa8775p: Add GP M/N clock controller
This commit adds the GP M/N clock controller node and its gp_mn_active
pinctrl configuration on gpio35 for SA8775P.
> diff --git a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi
> index 0be39bb9de1e1..4bba23df8a95d 100644
> --- a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi
> +++ b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi
> @@ -1849,6 +1849,20 @@ lpass_ag_noc: interconnect@3c40000 {
> qcom,bcm-voters = <&apps_bcm_voter>;
> };
>
> + gp_mn: clock-controller@88d3000 {
> + compatible = "qcom,sa8775p-gp-mnd", "qcom,sc7280-gp-mnd";
> + reg = <0x0 0x088d3000 0x0 0x1000>;
> + clocks = <&gcc GCC_PDM_XO4_CLK>,
> + <&gcc GCC_PDM_AHB_CLK>;
> + clock-names = "pdm", "ahb";
> + #clock-cells = <0>;
> + pinctrl-0 = <&gp_mn_active>;
> + pinctrl-names = "default";
> + assigned-clocks = <&gcc GCC_PDM_XO4_CLK>;
> + assigned-clock-rates = <4800000>;
> + status = "disabled";
> + };
> +
> usb_0_hsphy: phy@88e4000 {
> compatible = "qcom,sa8775p-usb-hs-phy",
> "qcom,usb-snps-hs-5nm-phy";
> @@ -2515,6 +2529,13 @@ dp1_hot_plug_det: dp1-hot-plug-det-state {
> bias-disable;
> };
>
> + gp_mn_active: gp-mn-active-state {
> + pins = "gpio35";
> + function = "gp_mn";
> + drive-strength = <2>;
> + bias-disable;
> + };
[Severity: Medium]
Is the "gp_mn" pinmux function missing from the SA8775P TLMM driver and
binding?
In drivers/pinctrl/qcom/pinctrl-sa8775p.c, sa8775p_functions[] does not
define a gp_mn function and sa8775p_groups[35] has no gp_mn mux entry:
drivers/pinctrl/qcom/pinctrl-sa8775p.c:sa8775p_groups[] {
...
[35] = PINGROUP(35, qup0_se4, phase_flag, _, _, _, _, _, _, _),
...
}
When gp_mn is enabled, pinctrl_bind_pins() -> pinmux_func_name_to_selector()
rejects "gp_mn" with -EINVAL and aborts probing before clk_gp_mnd_probe()
runs. "gp_mn" is also absent from the function enum in
Documentation/devicetree/bindings/pinctrl/qcom,sa8775p-tlmm.yaml, which
causes dtbs_check validation to fail on boards including
lemans-embedded.dtsi.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-b4-pdm_clk_gp_mnd_v2-v3-0-98db26a87500@oss.qualcomm.com?part=6
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 [this message]
2026-11-23 19:51 ` [PATCH v3 07/10] arm64: dts: qcom: sc7280: " Taniya Das
2026-11-24 19:53 ` sashiko-bot
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-231915@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox