From: Frank Li <Frank.li@oss.nxp.com>
To: Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>
Cc: alexandre.belloni@bootlin.com, Frank.Li@nxp.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
shubhrajyoti.datta@amd.com, shubhamsanjay.patil@amd.com,
adrian.hunter@intel.com, manikanta.guntupalli@amd.com,
linux-i3c@lists.infradead.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
jarkko.nikula@linux.intel.com, wsa+renesas@sang-engineering.com,
konrad.dybcio@oss.qualcomm.com, andersson@kernel.org,
jyothi.seerapu@oss.qualcomm.com,
viken.dadhaniya@oss.qualcomm.com,
aniket.randive@oss.qualcomm.com, praveen.talari@oss.qualcomm.com
Subject: Re: [PATCH v7 1/3] dt-bindings: i3c: Add support for Qualcomm I3C controller
Date: Wed, 4 Nov 2026 14:52:01 -0500 [thread overview]
Message-ID: <auuM4d7kPFr7sVTN@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20261104122155.3789346-2-mukesh.savaliya@oss.qualcomm.com>
On Wed, Nov 04, 2026 at 05:51:53PM +0530, Mukesh Kumar Savaliya wrote:
> Add device tree bindings for the Qualcomm GENI-based I3C controller.
>
> The controller supports I3C SDR transfers in mixed-bus mode with both I2C
> and I3C target devices present on the same bus. The binding describes the
> I3C controller instance along with its associated In-Band Interrupt (IBI)
> controller used for handling I3C target IBI events.
>
> Document the required resources, interrupts, clocks, and dependencies
> needed to represent the hardware in device tree.
>
> Signed-off-by: Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>
> ---
> .../bindings/i3c/qcom,geni-i3c.yaml | 115 ++++++++++++++++++
> 1 file changed, 115 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/i3c/qcom,geni-i3c.yaml
>
> diff --git a/Documentation/devicetree/bindings/i3c/qcom,geni-i3c.yaml b/Documentation/devicetree/bindings/i3c/qcom,geni-i3c.yaml
> new file mode 100644
> index 000000000000..bab89aeee23f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i3c/qcom,geni-i3c.yaml
> @@ -0,0 +1,115 @@
> +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/i3c/qcom,geni-i3c.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm Geni based QUP I3C Controller
> +
> +maintainers:
> + - Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>
> +
> +description:
> + Qualcomm GENI-based I3C controller implementing an MIPI I3C bus master.
> + The controller supports SDR transfers in mixed bus mode with both I2C and
> + I3C target devices present on the same bus.
> +
> + The controller consists of a GENI Serial Engine (SE) responsible for I3C
> + bus transactions and an associated dedicated IBI controller(IBI_C) block
> + used for Hot-Join, In-Band Interrupt (IBI) handling and management of GPII
> + resources associated with the I3C controller.
> +
> + I3C controller nodes must be child nodes of a GENI-based Qualcomm Universal
> + Peripheral(QUP) wrapper. Refer to the GENI QUP wrapper binding described in
> + Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml.
> +
> +allOf:
> + - $ref: i3c.yaml#
> + - $ref: /schemas/soc/qcom/qcom,se-common-props.yaml#
> +
> +properties:
> + compatible:
> + const: qcom,geni-i3c
> +
> + reg:
> + items:
> + - description: SE (Serial Engine) register address space
> + - description: IBI controller (IBI_C) register address space
> +
> + clocks:
> + maxItems: 1
> +
> + clock-names:
> + const: se
generally, needn't clock-names if only one clock
> +
> + interrupts:
> + items:
> + - description: Core Serial Engine (SE) IRQ
> + - description: IBI controller (IBI_C) manager IRQ
> + - description: IBI controller (IBI_C) GPII IRQ
> +
> + interconnects:
> + minItems: 2
> + maxItems: 3
> +
> + interconnect-names:
> + minItems: 2
> + items:
> + - const: qup-core
> + - const: qup-config
> + - const: qup-memory
> +
> + pinctrl-names:
> + minItems: 1
> + items:
> + - const: default
> + - const: sleep
Needn't pinctrl.
> +
> + dmas:
> + maxItems: 2
> +
> + dma-names:
> + items:
> + - const: tx
> + - const: rx
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - clock-names
> + - interrupts
> + - interconnects
> + - interconnect-names
> + - pinctrl-0
> + - pinctrl-1
> + - pinctrl-names
pinctrl-names allow 1 items, why require pinctrl-1.
Frank
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/clock/qcom,sm8550-gcc.h>
> + #include <dt-bindings/interconnect/qcom,kaanapali-rpmh.h>
> +
> + i3c@884000 {
> + compatible = "qcom,geni-i3c";
> + reg = <0x00884000 0x4000>,
> + <0x008c0000 0x10000>;
> + clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>;
> + clock-names = "se";
> + interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 796 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 797 IRQ_TYPE_LEVEL_HIGH>;
> + interconnects = <&clk_virt MASTER_QUP_CORE_2 &clk_virt SLAVE_QUP_CORE_2>,
> + <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_QUP_2>,
> + <&aggre2_noc MASTER_QUP_2 &mc_virt SLAVE_EBI1>;
> + interconnect-names = "qup-core", "qup-config", "qup-memory";
> + pinctrl-0 = <&qup_i3c1_data_clk>;
> + pinctrl-1 = <&qup_i3c1_data_clk_sleep>;
> + pinctrl-names = "default", "sleep";
> + #address-cells = <3>;
> + #size-cells = <0>;
> + };
> +...
> --
> 2.43.0
>
next prev parent reply other threads:[~2026-11-04 19:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 12:21 [PATCH v7 0/3] Add Qualcomm i3c controller driver support Mukesh Kumar Savaliya
2026-11-04 12:21 ` [PATCH v7 1/3] dt-bindings: i3c: Add support for Qualcomm I3C controller Mukesh Kumar Savaliya
2026-11-04 19:52 ` Frank Li [this message]
2026-11-04 12:21 ` [PATCH v7 2/3] i3c: master: Add Qualcomm I3C controller driver Mukesh Kumar Savaliya
2026-11-04 12:21 ` [PATCH v7 3/3] MAINTAINERS: Add maintainer for Qualcomm's " Mukesh Kumar Savaliya
-- strict thread matches above, loose matches on Subject: below --
2026-11-04 11:16 [PATCH v7 1/3] dt-bindings: i3c: Add support for Qualcomm I3C controller Mukesh Kumar Savaliya
2026-11-04 12:31 ` Mukesh Savaliya
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=auuM4d7kPFr7sVTN@lizhi-Precision-Tower-5810 \
--to=frank.li@oss.nxp.com \
--cc=Frank.Li@nxp.com \
--cc=adrian.hunter@intel.com \
--cc=alexandre.belloni@bootlin.com \
--cc=andersson@kernel.org \
--cc=aniket.randive@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jarkko.nikula@linux.intel.com \
--cc=jyothi.seerapu@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manikanta.guntupalli@amd.com \
--cc=mukesh.savaliya@oss.qualcomm.com \
--cc=praveen.talari@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=shubhamsanjay.patil@amd.com \
--cc=shubhrajyoti.datta@amd.com \
--cc=viken.dadhaniya@oss.qualcomm.com \
--cc=wsa+renesas@sang-engineering.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®