Re: [PATCH v3 1/5] dt-bindings: i3c: mipi-i3c-hci: add Microchip SAMA7D65 compatible
From: Conor Dooley
Date: Thu Mar 12 2026 - 13:51:16 EST
On Thu, Mar 12, 2026 at 09:50:52AM +0530, Manikandan Muralidharan wrote:
> Add the microchip,sama7d65-i3c-hci compatible string to the MIPI I3C
> HCI binding. The Microchip SAMA7D65 I3C controller is based on the
> MIPI HCI specification but requires two clocks, so add a conditional
> constraint when this compatible is present.
>
> Signed-off-by: Manikandan Muralidharan <manikandan.m@xxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/i3c/mipi-i3c-hci.yaml | 22 +++++++++++++++----
> 1 file changed, 18 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/i3c/mipi-i3c-hci.yaml b/Documentation/devicetree/bindings/i3c/mipi-i3c-hci.yaml
> index 39bb1a1784c9..db659388a27d 100644
> --- a/Documentation/devicetree/bindings/i3c/mipi-i3c-hci.yaml
> +++ b/Documentation/devicetree/bindings/i3c/mipi-i3c-hci.yaml
> @@ -9,9 +9,6 @@ title: MIPI I3C HCI
> maintainers:
> - Nicolas Pitre <npitre@xxxxxxxxxxxx>
>
> -allOf:
> - - $ref: /schemas/i3c/i3c.yaml#
> -
> description: |
> MIPI I3C Host Controller Interface
>
> @@ -28,7 +25,9 @@ description: |
>
> properties:
> compatible:
> - const: mipi-i3c-hci
> + enum:
> + - mipi-i3c-hci
> + - microchip,sama7d65-i3c-hci
> reg:
> maxItems: 1
> interrupts:
> @@ -39,6 +38,21 @@ required:
> - reg
> - interrupts
>
> +allOf:
> + - $ref: /schemas/i3c/i3c.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: microchip,sama7d65-i3c-hci
> + then:
> + properties:
> + clocks:
> + minItems: 2
> + maxItems: 2
> + required:
> + - clocks
Properties should be defined at the top level, and only restricted in
conditional schemas. Please add them at the top level, and provide some
information as to what each clock is via a description.
pw-bot: changes-requested
Thanks,
Conor.
> +
> unevaluatedProperties: false
>
> examples:
> --
> 2.25.1
>
Attachment:
signature.asc
Description: PGP signature