From: sashiko-bot@kernel.org
To: "Bryan O'Donoghue" <bryan.odonoghue@linaro.org>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v12 1/6] dt-bindings: media: qcom,x1e80100-camss: Add optional PHY handle definitions
Date: Wed, 08 Jul 2026 00:16:27 +0000 [thread overview]
Message-ID: <20260708001628.5F4A81F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260708-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v12-1-f8588da41f16@linaro.org>
Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [High] The binding adds a `$ref` to `qcom,x1e80100-csi2-phy.yaml`, which does not exist.
- [High] Overlapping MMIO region claims between parent and child nodes.
- [Medium] Removing legacy power supplies from the required list without an alternative constraint allows incomplete DT definitions.
- [Medium] The patch silently adds `opp-table` to `patternProperties` without documentation or proper schema constraints.
--
--- Patch [1]: [PATCH v12 1/6] dt-bindings: media: qcom,x1e80100-camss: Add optional PHY handle definitions ---
commit a10cbc21177fae0f236d507fc2a6068204516723
Author: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
dt-bindings: media: qcom,x1e80100-camss: Add optional PHY handle definitions
Add optional PHY handle definitions. This will allow for supporting both
legacy PHY definitions as well as supporting the optional new handle based
approach. Drops the legacy high-level 0p8 and 1p2 supplies as required.
> diff --git a/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml b/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml
> index 2d1662ef522b7..c17b9757b2c86 100644
> --- a/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml
> +++ b/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml
[ ... ]
> @@ -158,6 +176,14 @@ properties:
> required:
> - data-lanes
>
> +patternProperties:
> + "^phy@[0-9a-f]+$":
> + $ref: /schemas/phy/qcom,x1e80100-csi2-phy.yaml
[Severity: High]
Does this referenced schema exist? It appears that running make
dt_binding_check will crash with a jsonschema.exceptions.RefResolutionError
because qcom,x1e80100-csi2-phy.yaml is missing from the tree.
[Severity: High]
If the parent CAMSS node still explicitly claims the csiphy0 through csiphy4
memory regions in its reg-names array, won't adding child nodes here that
map these same MMIO regions cause overlapping request_mem_region calls in
the driver, leading to EBUSY probe failures?
> + unevaluatedProperties: false
> +
> + "^opp-table(-.*)?$":
> + type: object
[Severity: Medium]
Is it intended to add opp-table without a $ref to opp-v2-base.yaml? Using
only type: object bypasses strict schema validation for OPP tables, and this
behavioral change doesn't appear to be mentioned in the commit message.
> required:
> - compatible
> - reg
[ ... ]
> @@ -171,8 +197,6 @@ required:
> - iommus
> - power-domains
> - power-domain-names
> - - vdd-csiphy-0p8-supply
> - - vdd-csiphy-1p2-supply
> - ports
>
> additionalProperties: false
[Severity: Medium]
By unconditionally dropping these global supplies without enforcing an
alternative (such as using anyOf to require either the legacy supplies or
the new phys nodes), does this allow incomplete device tree descriptions
that omit PHY configurations entirely to silently pass validation?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260708-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v12-0-f8588da41f16@linaro.org?part=1
next prev parent reply other threads:[~2026-07-08 0:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-08 0:06 [PATCH v12 0/6] Add dt-bindings and PHY updates for CAMSS on x1e80100 silicon Bryan O'Donoghue
2026-07-08 0:06 ` [PATCH v12 1/6] dt-bindings: media: qcom,x1e80100-camss: Add optional PHY handle definitions Bryan O'Donoghue
2026-07-08 0:16 ` sashiko-bot [this message]
2026-07-08 1:34 ` Rob Herring (Arm)
2026-07-08 7:49 ` Vladimir Zapolskiy
2026-07-08 22:09 ` Frank Li
2026-07-08 22:15 ` Bryan O'Donoghue
2026-07-08 0:06 ` [PATCH v12 2/6] dt-bindings: media: qcom,x1e80100-camss: Describe iommu entries Bryan O'Donoghue
2026-07-08 12:39 ` Loic Poulain
2026-07-08 15:15 ` Vikram Sharma
2026-07-08 21:32 ` Bryan O'Donoghue
2026-07-08 0:06 ` [PATCH v12 3/6] media: qcom: camss: Add support to populate sub-devices Bryan O'Donoghue
2026-07-08 0:18 ` sashiko-bot
2026-07-08 0:06 ` [PATCH v12 4/6] media: qcom: camss: Add legacy_phy flag to SoC definition structures Bryan O'Donoghue
2026-07-08 0:14 ` sashiko-bot
2026-07-08 0:16 ` Bryan O'Donoghue
2026-07-08 0:06 ` [PATCH v12 5/6] media: qcom: camss: Add support for PHY API devices Bryan O'Donoghue
2026-07-08 0:19 ` sashiko-bot
2026-07-08 0:07 ` [PATCH v12 6/6] media: qcom: camss: Drop legacy PHY descriptions from x1e Bryan O'Donoghue
2026-07-08 0:26 ` 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=20260708001628.5F4A81F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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