Re: [PATCH 1/3] dt-bindings: usb: typec: Add Cypress CYPD6129 UCSI controller compatible
From: Krzysztof Kozlowski
Date: Wed May 20 2026 - 07:40:52 EST
On 20/05/2026 11:37, Akash Kumar wrote:
> Document the "cypress,cypd6129" compatible string for the Cypress/Infineon
> EZ-PD CCGx UCSI controller.
>
> The CYPD6129 is compatible with the existing CCGx binding, so allow it as a
Device can be compatible with a device, not with a binding.
And explain WHY it is compatible.
> valid compatible and permit the existing "cypress,cypd4226" fallback where
> appropriate.
>
> Signed-off-by: Akash Kumar <akash.kumar@xxxxxxxxxxxxxxxx>
> ---
> .../bindings/usb/cypress,cypd4226.yaml | 73 ++++++++++++++-----
> 1 file changed, 55 insertions(+), 18 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> index 0620d82508c1..90769c43ac95 100644
> --- a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> +++ b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> @@ -15,7 +15,13 @@ description:
>
> properties:
> compatible:
> - const: cypress,cypd4226
> + oneOf:
> + - enum:
> + - cypress,cypd6129
> + - cypress,cypd4226
> + - items:
> + - const: cypress,cypd6129
> + - const: cypress,cypd4226
Hm? This makes no sense.
>
> '#address-cells':
> const: 1
> @@ -63,10 +69,42 @@ examples:
> - |
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> i2c {
> - #address-cells = <1>;
> - #size-cells = <0>;
What is happening here?
You are making random changes to the binding. No, don't.
Best regards,
Krzysztof