From: sashiko-bot@kernel.org
To: "Akash Kumar" <akash.kumar@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: usb: typec: Add Cypress CYPD6129 UCSI controller compatible
Date: Wed, 20 May 2026 09:50:59 +0000 [thread overview]
Message-ID: <20260520095059.BD8671F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260520093902.2064730-2-akash.kumar@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Low] The new device tree example assigns an unauthorized value to the 'firmware-name' property, which violates the schema constraints.
- [Low] The DT example fails to compile due to an undefined macro 'GPIO' and an undefined phandle label '&node'.
- [Low] The second device tree example is missing its parent bus node, resulting in an invalid 'reg' property length and incorrect node context.
--
commit 911d8bba6bd4939c0495f237ef6ddd1854af3dd2
Author: Akash Kumar <akash.kumar@oss.qualcomm.com>
dt-bindings: usb: typec: Add Cypress CYPD6129 UCSI controller compatible
This commit documents the "cypress,cypd6129" compatible string for the
Cypress/Infineon EZ-PD CCGx UCSI controller. It allows the new compatible
and permits the existing "cypress,cypd4226" fallback.
> diff --git a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> --- a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> +++ b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
[ ... ]
> @@ -63,10 +69,42 @@ examples:
> - |
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> i2c {
> - #address-cells = <1>;
> - #size-cells = <0>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + #interrupt-cells = <2>;
> +
> + typec@8 {
> + compatible = "cypress,cypd6129";
> + reg = <0x08>;
> + interrupt-parent = <&node>;
> + interrupts = <GPIO IRQ_TYPE_LEVEL_LOW>;
[Severity: Low]
Will this example compile successfully? The label "node" is not defined
anywhere in the example, and "GPIO" is not a defined C preprocessor macro.
This typically causes the device tree compiler to fail with syntax and
undefined reference errors during dt_binding_check.
> + firmware-name = "ccg_primary.cyacd2";
[Severity: Low]
Will this cause dt_binding_check to fail schema validation? The schema
restricts the firmware-name property to an enum of specific values like
"nvidia,gpu" and "nvidia,jetson-agx-xavier". Using "ccg_primary.cyacd2"
appears to violate this constraint.
> + #address-cells = <1>;
> + #size-cells = <0>;
[ ... ]
> + };
> +
> + - |
> + typec@8 {
[Severity: Low]
Does this second example lack a valid parent bus wrapper?
The original typec@8 example was wrapped inside an i2c node that provided
the required #address-cells and #size-cells context. Without the parent
node, the reg = <0x08> property will trigger a missing cells error during
dt_binding_check.
> compatible = "cypress,cypd4226";
> reg = <0x08>;
> interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260520093902.2064730-1-akash.kumar@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-05-20 9:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-20 9:37 [PATCH 0/3] Add Cypress CYPD6129 UCSI support for monza SOM USB0 DRD Akash Kumar
2026-05-20 9:37 ` [PATCH 1/3] dt-bindings: usb: typec: Add Cypress CYPD6129 UCSI controller compatible Akash Kumar
2026-05-20 9:50 ` sashiko-bot [this message]
2026-05-20 10:01 ` Dmitry Baryshkov
2026-05-20 10:06 ` Dmitry Baryshkov
2026-05-20 11:21 ` Krzysztof Kozlowski
2026-05-20 11:57 ` Rob Herring (Arm)
2026-05-20 9:37 ` [PATCH 2/3] arm64: dts: qcom: monaco-monza-som: Enable USB0 DRD mode Akash Kumar
2026-05-20 10:05 ` Dmitry Baryshkov
2026-05-20 10:08 ` Dmitry Baryshkov
2026-05-20 11:15 ` Konrad Dybcio
2026-05-20 11:22 ` Krzysztof Kozlowski
2026-05-20 9:37 ` [PATCH 3/3] usb: ucsi: ccg: Add support for CYPD6129 (CCG6) Akash Kumar
2026-05-20 10:07 ` Dmitry Baryshkov
2026-05-20 10:27 ` sashiko-bot
2026-05-20 11:20 ` Krzysztof Kozlowski
2026-05-20 11:22 ` [PATCH 0/3] Add Cypress CYPD6129 UCSI support for monza SOM USB0 DRD Krzysztof Kozlowski
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=20260520095059.BD8671F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=akash.kumar@oss.qualcomm.com \
--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