From: sashiko-bot@kernel.org
To: "Akash Kumar" <akash.kumar@oss.qualcomm.com>
Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 1/4] dt-bindings: usb: cypress,cypd4226: Add cypd6129/cypd6229 support
Date: Tue, 24 Nov 2026 09:02:22 +0000 [thread overview]
Message-ID: <sashiko-outbox-230776@kernel.org> (raw)
In-Reply-To: <20261124-ucsi-ccg-cc-orientation-v3-1-73cd114e5393@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: usb: cypress,cypd4226: forbidding pinctrl breaks
dtbs_check
--
commit 11119299ad04fdbd9d099cb405886c5e195a210d
Author: Akash Kumar <akakum@qti.qualcomm.com>
dt-bindings: usb: cypress,cypd4226: Add cypd6129/cypd6229 support
This commit extends the cypress,cypd4226 device tree binding to support
the cypd6129 and cypd6229 dual Type-C PD controllers, adds pinctrl and
wakeup-source properties, and relaxes reg and interrupts constraints.
> diff --git a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> index 0620d82508c17..d923ef82ecfaa 100644
> --- a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> +++ b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
[ ... ]
> @@ -40,6 +46,19 @@ properties:
> - "nvidia,gpu" for the NVIDIA RTX product series
> - "nvidia,jetson-agx-xavier" for the NVIDIA Jetson product series
>
> + pinctrl-0: true
> + pinctrl-1: true
> +
> + pinctrl-names:
> + minItems: 1
> + items:
> + - const: default
> + - const: sleep
> +
> + wakeup-source:
> + description: enable IRQ remote wakeup, see power/wakeup-source.txt
> + type: boolean
> +
> patternProperties:
> '^connector@[01]$':
> $ref: /schemas/connector/usb-connector.yaml#
> @@ -57,6 +76,24 @@ anyOf:
> - required:
> - connector@1
>
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: cypress,cypd4226
> + then:
> + properties:
> + reg:
> + const: 0x08
> + pinctrl-0: false
> + pinctrl-1: false
> + pinctrl-names: false
> + wakeup-source: false
[Severity: Medium]
Does setting pinctrl-0, pinctrl-1, pinctrl-names, and wakeup-source to
false for cypress,cypd4226 cause a dtbs_check regression on existing
boards?
pinctrl-0 through pinctrl-8 and pinctrl-names are standard pin-controller
consumer properties already allowed on all device nodes by the dtschema
core without needing to be declared in individual bindings, and
wakeup-source is a board-level host interrupt property applicable to any
of these controllers. In particular, an existing in-tree cypress,cypd4226
node uses pinctrl-0 and pinctrl-names for its host interrupt GPIO and will
now fail schema validation:
arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts {
...
typec@8 {
compatible = "cypress,cypd4226";
reg = <0x08>;
pinctrl-0 = <&typec_default_state>;
pinctrl-names = "default";
interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
...
}
Dropping the top-level pinctrl-* declarations and removing pinctrl-0,
pinctrl-1, pinctrl-names, and wakeup-source from the cypress,cypd4226
if/then block would avoid this failure.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-ucsi-ccg-cc-orientation-v3-0-73cd114e5393@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-11-24 9:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 8:53 [PATCH v3 0/4] usb: typec: ucsi_ccg: Add cypd6129/cypd6229 support and CC orientation sensing via GPIO Akash Kumar
2026-11-24 8:53 ` [PATCH v3 1/4] dt-bindings: usb: cypress,cypd4226: Add cypd6129/cypd6229 support Akash Kumar
2026-11-24 9:02 ` sashiko-bot [this message]
2026-11-24 8:53 ` [PATCH v3 2/4] usb: typec: ucsi_ccg: Add cypd6129/cypd6229 OF device IDs Akash Kumar
2026-11-24 8:53 ` [PATCH v3 3/4] dt-bindings: usb: cypress,cypd4226: Add orientation-gpios property Akash Kumar
2026-11-24 8:53 ` [PATCH v3 4/4] usb: typec: ucsi_ccg: Add CC orientation sensing via GPIO Akash Kumar
2026-11-24 9:06 ` sashiko-bot
2026-11-24 9:06 ` [PATCH v3 0/4] usb: typec: ucsi_ccg: Add cypd6129/cypd6229 support and " 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-230776@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=akash.kumar@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-usb@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.