From: Junyi Zhao <junyi.zhao@amlogic.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Frank Li <Frank.Li@nxp.com>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Kees Cook <kees@kernel.org>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: linux-i3c@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org, imx@lists.linux.dev,
linux-hardening@vger.kernel.org, xianwei.zhao@amlogic.com,
Kelvin.Zhang@amlogic.com, junyi.zhao@amlogic.com
Subject: Re: [PATCH 2/3] dt-bindings: i3c: Add Amlogic A9 I3C controller
Date: Wed, 21 Oct 2026 13:38:18 +0800 [thread overview]
Message-ID: <d17dcb30-93bc-4b68-8969-11530946d33d@amlogic.com> (raw)
In-Reply-To: <c84d861a-2e28-45b0-80c8-e533864d5e6c@kernel.org>
Hi Krzysztof,
thanks for your review.
On 2026/10/19 14:00, Krzysztof Kozlowski wrote:
> [ EXTERNAL EMAIL ]
>
> On 19/10/2026 07:34, Junyi Zhao via B4 Relay wrote:
>> +properties:
>> + compatible:
>> + enum:
>> + - amlogic,i3c-a9
>> + - amlogic,i3c-ao-a9
>
> What is ao?
AO is the Always-On domain on Amlogic SoCs (remains powered in suspend).
I've documented it in the binding description.
>
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + interrupts:
>> + maxItems: 1
>> +
>> + clocks:
>> + minItems: 1
>> + maxItems: 2
>> +
>> + clock-names:
>> + minItems: 1
>> + maxItems: 2
>
> Names go here
will do.
>
>> +
>> +required:
>> + - compatible
>> + - reg
>> + - interrupts
>> + - clocks
>> + - clock-names
>> +
>> +unevaluatedProperties: false
>
> This goes before example
will do.
>
>> +
>> +if:
>
> And this in allOf, see example schema or other bindings.
will do.
>
>> + properties:
>> + compatible:
>> + const: amlogic,i3c-a9
>> +then:
>> + properties:
>> + clocks:
>> + items:
>> + - description: APB peripheral clock
>> + - description: I3C fast clock
>> + clock-names:
>> + items:
>> + - const: pclk
>> + - const: fast_clk
>
> That's just fast
>
> minItems: 1
Will renam to "fast" and updated the driver/DTS accordingly,
and will add minItems: 1
>
>> +else:
>> + properties:
>> + clocks:
>> + maxItems: 1
>> + clock-names:
>> + items:
>> + - const: fast_clk
>
> maxItems: 1
will add maxItems: 1
>
>> +
>> +examples:
>> + - |
>> + #include <dt-bindings/interrupt-controller/irq.h>
>> + #include <dt-bindings/interrupt-controller/arm-gic.h>
>> +
>> + i3c@3a7000 {
>> + compatible = "amlogic,i3c-a9";
>> + reg = <0x3a7000 0x10000>;
>> + interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
>> + #address-cells = <3>;
>> + #size-cells = <0>;
>> + clocks = <&clkc 15>,
>> + <&clkc 16>;
>> + clock-names = "pclk", "fast_clk";
>> + status = "disabled";
>> + };
>> +
>> + - |
>> + #include <dt-bindings/interrupt-controller/irq.h>
>> + #include <dt-bindings/interrupt-controller/arm-gic.h>
>> +
>> + i3c@22000 {
>
> Drop, one example is enough.
will delete one.
>
>> + compatible = "amlogic,i3c-ao-a9";
>> + reg = <0x22000 0x10000>;
>> + interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
>> + #address-cells = <3>;
>> + #size-cells = <0>;
>> + clocks = <&clkc 17>;
>> + clock-names = "fast_clk";
>> + status = "disabled";
>> + };
>> +...
>>
>
>
> Best regards,
> Krzysztof
next prev parent reply other threads:[~2026-10-21 5:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 5:34 [PATCH 0/3] Add vendor glue layer support and Amlogic A9 implementation Junyi Zhao via B4 Relay
2026-10-19 5:34 ` [PATCH 1/3] i3c: master: Rework SVC I3C to support vendor glue layers Junyi Zhao via B4 Relay
2026-10-19 20:32 ` Frank Li
2026-10-21 2:56 ` Junyi Zhao
2026-10-19 5:34 ` [PATCH 2/3] dt-bindings: i3c: Add Amlogic A9 I3C controller Junyi Zhao via B4 Relay
2026-10-19 6:00 ` Krzysztof Kozlowski
2026-10-21 5:38 ` Junyi Zhao [this message]
2026-10-21 6:19 ` Krzysztof Kozlowski
2026-10-21 6:36 ` Junyi Zhao
2026-10-19 6:01 ` Krzysztof Kozlowski
2026-10-21 5:56 ` Junyi Zhao
2026-10-19 5:34 ` [PATCH 3/3] i3c: master: svc: Add Amlogic A9 glue layer Junyi Zhao via B4 Relay
2026-10-19 7:40 ` Neil Armstrong
2026-10-21 5:17 ` Junyi Zhao
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=d17dcb30-93bc-4b68-8969-11530946d33d@amlogic.com \
--to=junyi.zhao@amlogic.com \
--cc=Frank.Li@nxp.com \
--cc=Kelvin.Zhang@amlogic.com \
--cc=alexandre.belloni@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gustavoars@kernel.org \
--cc=imx@lists.linux.dev \
--cc=jbrunet@baylibre.com \
--cc=kees@kernel.org \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=miquel.raynal@bootlin.com \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=xianwei.zhao@amlogic.com \
/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
all inboxes | Powered by JetHome®