From: sashiko-bot@kernel.org
To: "Nihal Kumar Gupta" <nihal.gupta@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
media-ci@linuxtv.org
Subject: Re: [PATCH v6 1/3] dt-bindings: media: Add CAMSS device for Hawi and Maili
Date: Thu, 03 Dec 2026 08:32:52 +0000 [thread overview]
Message-ID: <sashiko-outbox-247359@kernel.org> (raw)
In-Reply-To: <20261203-hawi-camss-v6-1-6a30cc09a064@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Medium] dt-bindings: media: allow port@5 for Maili despite missing
CSIPHY5
- [Medium] dt-bindings: media: require unregistered camnoc_dcd_xo clock
on Hawi
- [Low] dt-bindings: media: commit message body omits Maili platform
--
commit 9efe59058f4afe0734b221202bbfa51af2675808
Author: Hangxiang Ma <hangxiang.ma@oss.qualcomm.com>
> dt-bindings: media: Add CAMSS device for Hawi and Maili
>
> Add bindings for Camera Subsystem (CAMSS) on the Qualcomm Hawi platform.
>
> The Hawi platform provides:
> - 6 x CSIPHY (CSI Physical Layer)
> - 3 x TPG (Test Pattern Generator)
> - 3 x CSID (CSI Decoder)
> - 2 x CSID Lite
> - 3 x VFE (Video Front End), 5 RDI per VFE
> - 2 x VFE Lite, 4 RDI per VFE Lite
>
> Signed-off-by: Hangxiang Ma <hangxiang.ma@oss.qualcomm.com>
> Co-developed-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
> Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
[Severity: Low]
Should the commit message body also describe the Maili platform? The
subject and schema add qcom,maili-camss with a fallback to qcom,hawi-camss,
but the body only covers Hawi and does not explain why Maili shares the
binding or how it differs (such as having 5 CSIPHY instances instead of 6).
> diff --git a/Documentation/devicetree/bindings/media/qcom,hawi-camss.yaml b/Documentation/devicetree/bindings/media/qcom,hawi-camss.yaml
> new file mode 100644
> index 0000000000000..22629064ed713
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/qcom,hawi-camss.yaml
> @@ -0,0 +1,317 @@
[ ... ]
> + clocks:
> + maxItems: 26
> +
> + clock-names:
> + items:
> + - const: camnoc_nrt_axi
> + - const: camnoc_rt_axi
> + - const: camnoc_dcd_xo
[Severity: Medium]
Should camnoc_dcd_xo be required in clock-names?
In drivers/clk/qcom/camcc-hawi.c, cam_cc_hawi_clocks[] leaves
CAM_CC_CAMNOC_DCD_XO_CLK unpopulated and enables it internally as an
always-on entry in cam_cc_hawi_critical_cbcrs[] instead. Because
qcom_cc_clk_hw_get() returns NULL for unpopulated entries, requiring
camnoc_dcd_xo in the binding wires consumers to a silent no-op clock
handle. Either drop camnoc_dcd_xo from this binding or register
CAM_CC_CAMNOC_DCD_XO_CLK in cam_cc_hawi_clocks[] if consumers need to
manage it.
[ ... ]
> + ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> +
> + description:
> + CSI input ports.
> +
> + patternProperties:
> + "^port@[0-5]$":
> + $ref: /schemas/graph.yaml#/$defs/port-base
> + unevaluatedProperties: false
> + description:
> + Input ports for receiving CSI data on CSIPHY 0-5.
[Severity: Medium]
Should port@5 be disallowed for qcom,maili-camss?
In drivers/clk/qcom/camcc-hawi.c, cam_cc_hawi_probe() clears
CAM_CC_CSI5PHYTIMER_CLK_SRC, CAM_CC_CSI5PHYTIMER_CLK, and
CAM_CC_CSIPHY5_CLK for qcom,maili-camcc because Maili only implements
CSIPHY 0-4. Without an allOf conditional rejecting port@5 when compatible
contains qcom,maili-camss, dtbs_check will accept Maili device trees that
reference a non-existent 6th CSIPHY port.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-hawi-camss-v6-0-6a30cc09a064@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-12-03 8:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 8:17 [PATCH v6 0/3] Add CAMSS support for Qualcomm Hawi and Maili Nihal Kumar Gupta
2026-12-03 8:17 ` [PATCH v6 1/3] dt-bindings: media: Add CAMSS device for " Nihal Kumar Gupta
2026-12-03 8:32 ` sashiko-bot [this message]
2026-12-03 8:17 ` [PATCH v6 2/3] media: qcom: camss: csid: Scale the clocks with the CSI-2 link rate Nihal Kumar Gupta
2026-12-03 8:39 ` sashiko-bot
2026-12-03 8:17 ` [PATCH v6 3/3] media: qcom: camss: Add support for Hawi Nihal Kumar Gupta
2026-12-03 8:50 ` 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-247359@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=media-ci@linuxtv.org \
--cc=nihal.gupta@oss.qualcomm.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox