From: sashiko-bot@kernel.org
To: "Vladimir Zapolskiy" <vladimir.zapolskiy@linaro.org>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
media-ci@linuxtv.org
Subject: Re: [PATCH 1/6] dt-bindings: media: qcom,sm8650-camss: Add test pattern generators
Date: Sat, 31 Oct 2026 11:34:24 +0000 [thread overview]
Message-ID: <sashiko-outbox-191924@kernel.org> (raw)
In-Reply-To: <20261031112203.545319-2-vladimir.zapolskiy@linaro.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: media: qcom,sm8650-camss: missing minItems on reg and clocks
--
commit e38622494d300e76674ad2714e0222a5d2a3e220
Author: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
dt-bindings: media: qcom,sm8650-camss: Add test pattern generators
This commit adds the three test pattern generator (TPG) register spaces and
the non-real time CAMNOC AXI clock to the Qualcomm SM8650 CAMSS device tree
binding schema.
> diff --git a/Documentation/devicetree/bindings/media/qcom,sm8650-camss.yaml b/Documentation/devicetree/bindings/media/qcom,sm8650-camss.yaml
> index 9c8de722601ec..50ae30cdcb82a 100644
> --- a/Documentation/devicetree/bindings/media/qcom,sm8650-camss.yaml
> +++ b/Documentation/devicetree/bindings/media/qcom,sm8650-camss.yaml
> @@ -17,7 +17,7 @@ properties:
> const: qcom,sm8650-camss
>
> reg:
> - maxItems: 17
> + maxItems: 20
>
> reg-names:
> items:
> @@ -38,9 +38,12 @@ properties:
> - const: vfe2
> - const: vfe_lite0
> - const: vfe_lite1
> + - const: tpg0
> + - const: tpg1
> + - const: tpg2
>
> clocks:
> - maxItems: 33
> + maxItems: 34
>
> clock-names:
> items:
> @@ -77,6 +80,7 @@ properties:
> - const: vfe_lite_ahb
> - const: vfe_lite_cphy_rx
> - const: vfe_lite_csid
> + - const: camnoc_nrt_axi
[Severity: Medium]
Should reg and reg-names specify minItems: 17, and should clocks and
clock-names specify minItems: 33 in
Documentation/devicetree/bindings/media/qcom,sm8650-camss.yaml?
In dtschema, increasing maxItems on reg from 17 to 20 and on clocks from
33 to 34 (while appending tpg0, tpg1, tpg2 to reg-names and camnoc_nrt_axi
to clock-names) without specifying minItems implicitly sets minItems equal
to maxItems. This makes the newly added TPG register blocks and clock
mandatory rather than optional.
Existing qcom,sm8650-camss device tree nodes such as in
arch/arm64/boot/dts/qcom/sm8650.dtsi (introduced in commit e8560ac937d92e)
provide 17 reg/reg-names entries and 33 clocks/clock-names entries prior to
the DTS update in this series, or when the binding and driver changes merge
through the media tree independently of the Qualcomm SoC DTS tree. In
addition, commit c865d36a9474 ("media: qcom: camss: Skip TPG if its
registers are not described") in this series explicitly keeps TPG optional
in camss_probe() for backward compatibility with older device trees.
Without minItems: 17 on reg and reg-names and minItems: 33 on clocks and
clock-names, does dtbs_check fail validation on existing qcom,sm8650-camss
device trees that omit the TPG entries?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261031112203.545319-1-vladimir.zapolskiy@linaro.org?part=1
next prev parent reply other threads:[~2026-10-31 11:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-31 11:21 [PATCH 0/6] media: qcom: camss: Add SM8650 TPG support Vladimir Zapolskiy
2026-10-31 11:21 ` [PATCH 1/6] dt-bindings: media: qcom,sm8650-camss: Add test pattern generators Vladimir Zapolskiy
2026-10-31 11:34 ` sashiko-bot [this message]
2026-10-31 11:21 ` [PATCH 2/6] media: qcom: camss: Skip TPG if its registers are not described Vladimir Zapolskiy
2026-10-31 11:22 ` [PATCH 3/6] media: qcom: camss: tpg: Add support for v2.4.0 TPG Vladimir Zapolskiy
2026-10-31 11:27 ` sashiko-bot
2026-10-31 11:22 ` [PATCH 4/6] media: qcom: camss: tpg: Support TPG hardware version 2.2.0 Vladimir Zapolskiy
2026-10-31 11:28 ` sashiko-bot
2026-10-31 11:22 ` [PATCH 5/6] media: qcom: camss: Add SM8650 TPG support Vladimir Zapolskiy
2026-10-31 11:22 ` [PATCH 6/6] arm64: dts: qcom: sm8650: Add CAMSS test pattern generators Vladimir Zapolskiy
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-191924@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=media-ci@linuxtv.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vladimir.zapolskiy@linaro.org \
/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