From: Conor Dooley <conor@kernel.org>
To: Shubham Patil <shubhamsanjay.patil@amd.com>
Cc: alexandre.belloni@bootlin.com, Frank.Li@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
linux-i3c@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, git@amd.com
Subject: Re: [PATCH v3 1/3] dt-bindings: i3c: xlnx: Add IBI and hot-join capability properties
Date: Tue, 8 Sep 2026 18:54:31 +0100 [thread overview]
Message-ID: <20260908-groin-undivided-0af701135404@spud> (raw)
In-Reply-To: <20260908094257.3196120-2-shubhamsanjay.patil@amd.com>
[-- Attachment #1: Type: text/plain, Size: 3794 bytes --]
On Tue, Sep 08, 2026 at 03:12:55PM +0530, Shubham Patil wrote:
> In-Band Interrupt and Hot-Join are synthesis-time options of the AXI I3C
> IP. Describe them with two boolean properties.
>
> A Hot-Join request is acknowledged by the IBI machinery, so a hot-join
> capable design is always IBI capable as well. Both events are reported
> through the controller interrupt, which is therefore required whenever
> the capability is present.
>
> Signed-off-by: Shubham Patil <shubhamsanjay.patil@amd.com>
> ---
> Changes in V3:
> - Move in-band-interrupt-capable and hot-join-capable into the common
> i3c.yaml schema and drop the xlnx, prefix.
> - Keep dependencies in the AMD binding.
> - Update the commit description accordingly.
> - Conor Dooley acked v2 with the xlnx,-prefixed properties in the AMD
> binding [1].
> That Acked-by is not carried here: the names lost the vendor prefix
> and the definitions moved to i3c.yaml after Frank Li's comment.
> [1]:https://lore.kernel.org/all/20260824-tightwad-impose-495476599087@spud/
I disagree with Frank. These properties make sense for Xilinx because it
is an FPGA IP and synthesis options impact this. For other devices, this
should be determined from the compatible.
Please revert to how things were done in v2, especially as no rationale
was provided for why these should be common.
pw-bot: changes-requested
Thanks,
Conor.
>
> Changes in V2:
> - Rename the properties to "xlnx,in-band-interrupt-capable" and
> "xlnx,hot-join-capable", and expand their descriptions.
> - Express the interrupt requirement with dependencies: instead of an
> allOf/if-then clause.
> ---
> Documentation/devicetree/bindings/i3c/i3c.yaml | 15 +++++++++++++++
> .../devicetree/bindings/i3c/xlnx,axi-i3c-1.0.yaml | 6 ++++++
> 2 files changed, 21 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/i3c/i3c.yaml b/Documentation/devicetree/bindings/i3c/i3c.yaml
> index e25fa72fd7857..7430394cc6b9b 100644
> --- a/Documentation/devicetree/bindings/i3c/i3c.yaml
> +++ b/Documentation/devicetree/bindings/i3c/i3c.yaml
> @@ -61,6 +61,21 @@ properties:
> Indicates that the system is accessible via this bus as an endpoint for
> MCTP over I3C transport.
>
> + in-band-interrupt-capable:
> + type: boolean
> + description:
> + The controller supports In-Band Interrupts. A target can request
> + attention on SDA/SCL by driving its dynamic address during bus
> + arbitration, instead of using a dedicated side-band interrupt line.
> +
> + hot-join-capable:
> + type: boolean
> + description:
> + The controller supports Hot-Join. A target attached or powered up
> + after the bus is already running can announce itself using the
> + reserved Hot-Join address so the controller can assign it a dynamic
> + address.
> +
> required:
> - "#address-cells"
> - "#size-cells"
> diff --git a/Documentation/devicetree/bindings/i3c/xlnx,axi-i3c-1.0.yaml b/Documentation/devicetree/bindings/i3c/xlnx,axi-i3c-1.0.yaml
> index 2caa245a86568..9480de3fe8e1d 100644
> --- a/Documentation/devicetree/bindings/i3c/xlnx,axi-i3c-1.0.yaml
> +++ b/Documentation/devicetree/bindings/i3c/xlnx,axi-i3c-1.0.yaml
> @@ -37,6 +37,10 @@ required:
> - reg
> - clocks
>
> +dependentRequired:
> + hot-join-capable: [ in-band-interrupt-capable ]
> + in-band-interrupt-capable: [ interrupts ]
> +
> allOf:
> - $ref: i3c.yaml#
>
> @@ -54,5 +58,7 @@ examples:
> interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
> #address-cells = <3>;
> #size-cells = <0>;
> + hot-join-capable;
> + in-band-interrupt-capable;
> };
> ...
> --
> 2.34.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-09-08 17:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-08 9:42 [PATCH v3 0/3] i3c: master: amd: Add IBI and hot-join support Shubham Patil
2026-09-08 9:42 ` [PATCH v3 1/3] dt-bindings: i3c: xlnx: Add IBI and hot-join capability properties Shubham Patil
2026-09-08 17:54 ` Conor Dooley [this message]
2026-09-09 16:21 ` Frank Li
2026-09-10 11:36 ` Conor Dooley
2026-09-10 15:44 ` Frank Li
2026-09-08 9:42 ` [PATCH v3 2/3] i3c: master: amd: Add support for in-band interrupts Shubham Patil
2026-09-08 10:00 ` sashiko-bot
2026-09-08 9:42 ` [PATCH v3 3/3] i3c: master: amd: Add hot-join support Shubham Patil
2026-09-08 9:55 ` 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=20260908-groin-undivided-0af701135404@spud \
--to=conor@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=git@amd.com \
--cc=krzk+dt@kernel.org \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=shubhamsanjay.patil@amd.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