From: Manikandan Muralidharan <manikandan.m@microchip•com>
To: <alexandre.belloni@bootlin•com>, <Frank.Li@nxp•com>,
<robh@kernel•org>, <krzk+dt@kernel•org>, <conor+dt@kernel•org>,
<nicolas.ferre@microchip•com>, <claudiu.beznea@tuxon•dev>,
<linux@armlinux•org.uk>, <mturquette@baylibre•com>,
<sboyd@kernel•org>, <bmasney@redhat•com>,
<aubin.constans@microchip•com>, <Ryan.Wanner@microchip•com>,
<romain.sioen@microchip•com>, <tytso@mit•edu>,
<cristian.birsan@microchip•com>, <adrian.hunter@intel•com>,
<npitre@baylibre•com>, <linux-i3c@lists•infradead.org>,
<devicetree@vger•kernel.org>, <linux-kernel@vger•kernel.org>,
<linux-arm-kernel@lists•infradead.org>,
<linux-clk@vger•kernel.org>
Cc: Manikandan Muralidharan <manikandan.m@microchip•com>,
Conor Dooley <conor.dooley@microchip•com>
Subject: [PATCH v7 1/5] dt-bindings: i3c: mipi-i3c-hci: add Microchip SAMA7D65 compatible
Date: Mon, 25 May 2026 14:54:01 +0530 [thread overview]
Message-ID: <20260525092405.1514213-2-manikandan.m@microchip.com> (raw)
In-Reply-To: <20260525092405.1514213-1-manikandan.m@microchip.com>
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.
Acked-by: Conor Dooley <conor.dooley@microchip•com>
Reviewed-by: Frank Li <Frank.Li@nxp•com>
Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip•com>
---
Changes in v5:
- drop min/maxItems around clock entries
- use if/then/else clause instead of separate allOf entry
- cosmetic fixes for indentation and formatting
Changes in v4:
- Define and describe the clock property in the top-level properties
section rather than inside the if/then conditional
.../devicetree/bindings/i3c/mipi-i3c-hci.yaml | 27 ++++++++++++++++---
1 file changed, 23 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..d488fb420945 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@baylibre•com>
-allOf:
- - $ref: /schemas/i3c/i3c.yaml#
-
description: |
MIPI I3C Host Controller Interface
@@ -28,9 +25,17 @@ description: |
properties:
compatible:
- const: mipi-i3c-hci
+ enum:
+ - mipi-i3c-hci
+ - microchip,sama7d65-i3c-hci
reg:
maxItems: 1
+
+ clocks:
+ items:
+ - description: Peripheral bus clock
+ - description: System Generic clock
+
interrupts:
maxItems: 1
@@ -39,6 +44,20 @@ required:
- reg
- interrupts
+allOf:
+ - $ref: /schemas/i3c/i3c.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: microchip,sama7d65-i3c-hci
+ then:
+ required:
+ - clocks
+ else:
+ properties:
+ clocks: false
+
unevaluatedProperties: false
examples:
--
2.25.1
next prev parent reply other threads:[~2026-05-25 9:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-25 9:24 [PATCH v7 0/5] Add microchip sama7d65 SoC I3C support Manikandan Muralidharan
2026-05-25 9:24 ` Manikandan Muralidharan [this message]
2026-05-25 9:24 ` [PATCH v7 2/5] clk: at91: sama7d65: add peripheral clock for I3C Manikandan Muralidharan
2026-05-31 14:50 ` Claudiu Beznea
2026-05-25 9:24 ` [PATCH v7 3/5] i3c: mipi-i3c-hci: add microchip sama7d65 SoC compatible with the required quirk Manikandan Muralidharan
2026-05-25 9:24 ` [PATCH v7 4/5] ARM: dts: microchip: add I3C controller Manikandan Muralidharan
2026-05-25 9:24 ` [PATCH v7 5/5] ARM: configs: at91: sama7: add sama7d65 i3c-hci Manikandan Muralidharan
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=20260525092405.1514213-2-manikandan.m@microchip.com \
--to=manikandan.m@microchip$(echo .)com \
--cc=Frank.Li@nxp$(echo .)com \
--cc=Ryan.Wanner@microchip$(echo .)com \
--cc=adrian.hunter@intel$(echo .)com \
--cc=alexandre.belloni@bootlin$(echo .)com \
--cc=aubin.constans@microchip$(echo .)com \
--cc=bmasney@redhat$(echo .)com \
--cc=claudiu.beznea@tuxon$(echo .)dev \
--cc=conor+dt@kernel$(echo .)org \
--cc=conor.dooley@microchip$(echo .)com \
--cc=cristian.birsan@microchip$(echo .)com \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=krzk+dt@kernel$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-clk@vger$(echo .)kernel.org \
--cc=linux-i3c@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=mturquette@baylibre$(echo .)com \
--cc=nicolas.ferre@microchip$(echo .)com \
--cc=npitre@baylibre$(echo .)com \
--cc=robh@kernel$(echo .)org \
--cc=romain.sioen@microchip$(echo .)com \
--cc=sboyd@kernel$(echo .)org \
--cc=tytso@mit$(echo .)edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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