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 05/10] arm64: dts: qcom: qcs8300: Add GP M/N clock controller
Date: Tue, 24 Nov 2026 19:53:10 +0000 [thread overview]
Message-ID: <sashiko-outbox-231914@kernel.org> (raw)
In-Reply-To: <20261124-b4-pdm_clk_gp_mnd_v2-v3-5-98db26a87500@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: qcs8300: undefined gp_mn pinctrl function in
monaco.dtsi
--
commit d516231f8cb52de8b0fc3f5d25658a1e90470e4e
Author: Taniya Das <taniya.das@oss.qualcomm.com>
arm64: dts: qcom: qcs8300: Add GP M/N clock controller
This commit adds the GP M/N clock controller node and its gp_mn_active pin
configuration on gpio32 to monaco.dtsi for QCS8300.
> diff --git a/arch/arm64/boot/dts/qcom/monaco.dtsi b/arch/arm64/boot/dts/qcom/monaco.dtsi
> index 3541313a79bf4..3508869ed92b4 100644
> --- a/arch/arm64/boot/dts/qcom/monaco.dtsi
> +++ b/arch/arm64/boot/dts/qcom/monaco.dtsi
> @@ -4892,6 +4892,20 @@ sdhc_ice: crypto@87c8000 {
> power-domains = <&rpmhpd RPMHPD_CX>;
> };
>
> + gp_mn: clock-controller@88d3000 {
> + compatible = "qcom,qcs8300-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_1_hsphy: phy@8904000 {
> compatible = "qcom,qcs8300-usb-hs-phy",
> "qcom,usb-snps-hs-7nm-phy";
> @@ -6458,6 +6472,13 @@ dp_hot_plug_det: dp-hot-plug-det-state {
> bias-disable;
> };
>
> + gp_mn_active: gp-mn-active-state {
> + pins = "gpio32";
> + function = "gp_mn";
> + drive-strength = <2>;
> + bias-disable;
> + };
[Severity: High]
Does the QCS8300 TLMM driver define the "gp_mn" function for gpio32?
In drivers/pinctrl/qcom/pinctrl-qcs8300.c, qcs8300_functions[] does not
define gp_mn, and qcs8300_groups[32] does not map it:
drivers/pinctrl/qcom/pinctrl-qcs8300.c:qcs8300_groups[] {
...
[32] = PINGROUP(32, qup0_se4, cci_i2c_scl, emac0_ptp_aux, mdp_vsync, _, _, _, _, _, _, _),
...
}
When gp_mn is enabled, pinctrl_bind_pins() -> pinmux_map_to_setting() ->
pinmux_func_name_to_selector() fails with -EINVAL before the clock
controller can probe. "gp_mn" is also missing from the function enum in
Documentation/devicetree/bindings/pinctrl/qcom,qcs8300-tlmm.yaml, causing
dtbs_check validation to fail for boards including monaco.dtsi.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-b4-pdm_clk_gp_mnd_v2-v3-0-98db26a87500@oss.qualcomm.com?part=5
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 [this message]
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
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-231914@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