From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 400041093168 for ; Wed, 25 Mar 2026 21:24:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rVAUW2fdjJNRQRwvtn/cg478nn1isCid0lP1jLqjgOY=; b=PmEOaBO/kqoCjo VPUtoXYfMvjaj68pq1pc5YSYR+UJ4mLF80dNp0/ZyaysdCfmlSPky24YagfYSfocAVWiWsujqVmU5 wAspd74g0OeBloGT3YDq1/CLLKWlwWM+WVMQwqZDYwEr6z3qgOELRIDTCiU52n4Nenqd3J6etcuEp AqcOpoZ4LDF/opw6Yd5kKErGJjdJyDfsoLU3jzYSQI9RG1CBy1L+T4px+La0SOmjxY8g8djknT3Lr gi92BBT9ppmyMOTx2NbFJCR5h54BB/v0oEPYMNN6WTN3NNCfq5he9qB8BGG7FkvA+LveTMnSBJ65C kpseKyMC273zDrDsVgFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w5ViB-00000004HQn-3aKi; Wed, 25 Mar 2026 21:24:23 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w5Vi9-00000004HQS-1KeN for linux-i3c@lists.infradead.org; Wed, 25 Mar 2026 21:24:22 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id B43F041959; Wed, 25 Mar 2026 21:24:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F3C8C4CEF7; Wed, 25 Mar 2026 21:24:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774473860; bh=3UftVOg0IFr5tv5Ygg1Rl9xOsfEycN0eTd8jj+exBEo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ABYaTHDJCxD2Rdaj6onhotLxYuolk0jrQq6U6uiOhF+7johkhRFDsSvvJyyoJYC/7 jCnH5B6sTwvL7z6be+/eemFjeREt9l9NK7CDq9s5cNNT/3/WjkzdNHCER/51uV7cmH WlCH33L2U61scEZxaaXZuvZI2+jILRHE2iyFBrACqKJW73PmiRePmci0rsBsmcK7Dt pNKldo8aqplNuBxolMhsoAhqshXOUQO1hO0FLe6GRaKkrQu84aTz1MC+6ubPaocfeR bnlpKDUGAg2OqelXRZi1THJbcI9wUWr9VGhfIKtulswHucLix9xgXM6UjgL4S14pU3 LarhOT1eLLINg== Date: Wed, 25 Mar 2026 16:24:19 -0500 From: Rob Herring To: Lakshay Piplani Cc: linux-kernel@vger.kernel.org, linux-i3c@lists.infradead.org, alexandre.belloni@bootlin.com, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, broonie@kernel.org, lee@kernel.org, Frank.Li@nxp.com, lgirdwood@gmail.com, vikash.bansal@nxp.com, priyanka.jain@nxp.com, aman.kumarpandey@nxp.com Subject: Re: [PATCH v8 3/7] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support Message-ID: <20260325212419.GA4024060-robh@kernel.org> References: <20260323062737.886728-1-lakshay.piplani@nxp.com> <20260323062737.886728-4-lakshay.piplani@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260323062737.886728-4-lakshay.piplani@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260325_142421_401292_D2FF3C00 X-CRM114-Status: GOOD ( 20.50 ) X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org On Mon, Mar 23, 2026 at 11:57:33AM +0530, Lakshay Piplani wrote: > From: Aman Kumar Pandey > > Add bindings for the NXP P3H2x4x (P3H2440/P3H2441/P3H2840/P3H2841) > multiport I3C hub family. These devices connect to a host via > I3C/I2C/SMBus and allow communication with multiple downstream > peripherals. > > Signed-off-by: Aman Kumar Pandey > Signed-off-by: Vikash Bansal All these patches need your S-o-b tag. > > --- > Changes in v8: > - Add compatible in i3c example > > Changes in v7: > - Fix schema validation issues > - Adjust required properties > - Add I2C example > > Changes in v6: > - Use a vendor prefix for the attributes > > Changes in v5: > - Removed SW properties: cp0-ldo-microvolt,cp1-ldo-microvolt, > tp0145-ldo-microvolt, tp2367-ldo-microvolt > - Changed supply entries and its descriptions > > Changes in v4: > - Fixed DT binding check warning > - Removed SW properties: ibi-enable, local-dev, and always-enable > > Changes in v3: > - Added MFD (Multi-Function Device) support for I3C hub and on-die regulator > - Added Regulator supply node > > Changes in v2: > - Fixed DT binding check warning > - Revised logic for parsing DTS nodes > --- > --- > .../devicetree/bindings/i3c/nxp,p3h2840.yaml | 304 ++++++++++++++++++ > MAINTAINERS | 8 + > 2 files changed, 312 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml > > diff --git a/Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml b/Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml > new file mode 100644 > index 000000000000..f588fd8318a0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/i3c/nxp,p3h2840.yaml > @@ -0,0 +1,304 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright 2025 NXP > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/i3c/nxp,p3h2840.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP P3H2X4X I3C HUB > + > +maintainers: > + - Aman Kumar Pandey > + - Vikash Bansal > + > +description: | > + P3H2x4x (P3H2440/P3H2441/P3H2840/P3H2841) is a family of multiport I3C > + hub devices that connect to:- > + 1. A host CPU via I3C/I2C/SMBus bus on upstream side and connect to multiple > + peripheral devices on the downstream side. > + 2. Have two Controller Ports which can support either > + I2C/SMBus or I3C buses and connect to a CPU, BMC or SOC. > + 3. P3H2840/ P3H2841 are 8 port I3C hub with eight I3C/I2C Target Port. > + 4. P3H2440/ P3H2441 are 4 port I3C hub with four I3C/I2C Target Port. > + Target ports can be configured as I2C/SMBus, I3C or GPIO and connect to > + peripherals. > + > +properties: > + compatible: > + const: nxp,p3h2840 > + > + reg: > + maxItems: 1 > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 0 > + > + assigned-address: > + maximum: 0x7f > + > + nxp,tp0145-pullup-ohms: > + description: > + Selects the pull up resistance for target Port 0/1/4/5, in ohms. > + enum: [250, 500, 1000, 2000] > + default: 500 > + > + nxp,tp2367-pullup-ohms: > + description: > + Selects the pull up resistance for target Port 2/3/6/7, in ohms. > + enum: [250, 500, 1000, 2000] > + default: 500 > + > + nxp,cp0-io-strength-ohms: > + description: > + Selects the IO drive strength for controller Port 0, in ohms. > + enum: [20, 30, 40, 50] > + default: 20 > + > + nxp,cp1-io-strength-ohms: > + description: > + Selects the IO drive strength for controller Port 1, in ohms. > + enum: [20, 30, 40, 50] > + default: 20 > + > + nxp,tp0145-io-strength-ohms: > + description: > + Selects the IO drive strength for target port 0/1/4/5, in ohms. > + enum: [20, 30, 40, 50] > + default: 20 > + > + nxp,tp2367-io-strength-ohms: > + description: > + Selects the IO drive strength for target port 2/3/6/7, in ohms. > + enum: [20, 30, 40, 50] > + default: 20 > + > + vcc1-supply: > + description: Controller port 0 power supply. > + > + vcc2-supply: > + description: Controller port 1 power supply. > + > + vcc3-supply: > + description: Target port 0/1/4/5 power supply. > + > + vcc4-supply: > + description: Target port 2/3/6/7 power supply. > + > + regulators: > + type: object > + additionalProperties: false > + > + properties: > + ldo-cp0: > + type: object > + $ref: /schemas/regulator/regulator.yaml# > + unevaluatedProperties: false > + > + ldo-cp1: > + type: object > + $ref: /schemas/regulator/regulator.yaml# > + unevaluatedProperties: false > + > + ldo-tpg0: > + type: object > + $ref: /schemas/regulator/regulator.yaml# > + unevaluatedProperties: false > + > + ldo-tpg1: > + type: object > + $ref: /schemas/regulator/regulator.yaml# > + unevaluatedProperties: false > + > +required: > + - reg > + > +patternProperties: > + "^i3c@[0-7]$": > + type: object > + unevaluatedProperties: false This is a child I3C bus, right? You don't support any devices on the bus. You need a $ref to i3c.yaml. > + > + properties: > + reg: > + description: > + The I3C HUB Target Port number. > + maximum: 7 > + > + '#address-cells': > + const: 3 > + > + '#size-cells': > + const: 0 Then these 2 can be dropped. > + > + nxp,pullup-enable: > + type: boolean > + description: > + Enables the on-die pull-up for Target Port. > + > + required: > + - reg > + - "#address-cells" > + - "#size-cells" And these 2. > + > + "^(i2c|smbus)@[0-7]$": > + type: object > + unevaluatedProperties: false Likewise, you need a reference to i2c-controller.yaml. Rob -- linux-i3c mailing list linux-i3c@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-i3c