mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Lakshay Piplani <lakshay.piplani@nxp.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-i3c@lists.infradead.org" <linux-i3c@lists.infradead.org>,
	"alexandre.belloni@bootlin.com" <alexandre.belloni@bootlin.com>,
	"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
	"robh@kernel.org" <robh@kernel.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"broonie@kernel.org" <broonie@kernel.org>,
	"mfd@lists.linux.dev" <mfd@lists.linux.dev>,
	Frank Li <frank.li@nxp.com>,
	"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
	Vikash Bansal <vikash.bansal@nxp.com>,
	Priyanka Jain <priyanka.jain@nxp.com>,
	Aman Kumar Pandey <aman.kumarpandey@nxp.com>
Subject: Re: [PATCH v20 4/8] mfd: p3h2x4x: Add driver for NXP P3H2x4x i3c hub and on-die regulator
Date: Mon, 26 Oct 2026 15:04:46 +0000	[thread overview]
Message-ID: <20261026150446.GB2195460@google.com> (raw)
In-Reply-To: <AS4PR04MB9362E4F3E5E69CE45BE436E9FB642@AS4PR04MB9362.eurprd04.prod.outlook.com>

On Fri, 23 Oct 2026, Lakshay Piplani wrote:

> 
> NXP Confidential

Really?

> > -----Original Message-----
> > From: Lakshay Piplani <lakshay.piplani@nxp.com>
> > Sent: Tuesday, September 22, 2026 4:06 PM
> > To: linux-kernel@vger.kernel.org; linux-i3c@lists.infradead.org;
> > alexandre.belloni@bootlin.com; krzk+dt@kernel.org; robh@kernel.org;
> > conor+dt@kernel.org; devicetree@vger.kernel.org; broonie@kernel.org;
> > mfd@lists.linux.dev; lee@kernel.org; Frank Li <frank.li@nxp.com>;
> > lgirdwood@gmail.com
> > Cc: Vikash Bansal <vikash.bansal@nxp.com>; Priyanka Jain
> > <priyanka.jain@nxp.com>; Aman Kumar Pandey
> > <aman.kumarpandey@nxp.com>; Lakshay Piplani
> > <lakshay.piplani@nxp.com>
> > Subject: [PATCH v20 4/8] mfd: p3h2x4x: Add driver for NXP P3H2x4x i3c hub
> > and on-die regulator

Why is your mailer adding headers?  Please configure it properly.

> > From: Aman Kumar Pandey <aman.kumarpandey@nxp.com>
> >
> > Add core MFD support for the NXP P3H2x4x
> > (P3H2440/P3H2441/P3H2840/P3H2841) family of multiport I3C hub devices.
> > These devices connect to a host via I3C/I2C/SMBus and expose multiple
> > downstream target ports.
> >
> > All variants share the same register interface. Read the implemented target-
> > port count from DEV_CAPAB, so no per-compatible driver data is required.
> >
> > Signed-off-by: Aman Kumar Pandey <aman.kumarpandey@nxp.com>
> > Signed-off-by: Vikash Bansal <vikash.bansal@nxp.com>
> > Signed-off-by: Lakshay Piplani <lakshay.piplani@nxp.com>
> > Reviewed-by: Frank Li <Frank.Li@nxp.com>
> >
> > ---
> > Changes in v20:
> >  - No change
> >
> > Changes in v19:
> >  - Retain only nxp,p3h2840 in the OF match table because the other
> >    variants use it as their fallback compatible
> >
> > Changes in v18:
> >  - Rebased onto v7.3-rc1; no intended driver behaviour changes
> >
> > Changes in v17:
> >  - No change
> >
> > Changes in v16:
> >  - Use a named initializer for struct i2c_device_id
> >   ({ .name = "nxp-i3c-hub" })
> >  - Keep the shared header in include/linux/mfd/ (struct p3h2x4x is shared by
> >    the mfd parent and its regulator/i3c-hub children). The i3c_hub_priv
> >    back-pointer is retained for IBI routing, with documented publish/clear
> >    ordering
> >
> > Changes in v15:
> >  - Read the device capability register to determine whether the device has
> >    four or eight target ports
> >  - Store the detected target-port count in the shared MFD data
> >  - Add OF match entries for all P3H2440, P3H2441, P3H2840 and P3H2841
> >    variants
> >  - Add a shared hub-context pointer for use by the IBI handler without
> >    overwriting the MFD parent's driver data
> >
> > Changes in v14:
> >  - Clean up MFD driver comments, formatting, variable names and author
> >    information
> >  - Define and document the I3C hub DCR value in hexadecimal form
> >  - Use direct regmap bit-width values instead of local macros
> >  - Add a shared protected_reg_lock for protected register accesses across
> >    P3H2X4X child drivers
> >
> > Changes in v13:
> >  - Use i3c_device helpers (i3cdev_to_dev()) instead of direct struct access
> >    to maintain API abstraction
> >  - Avoid including internal I3C headers and use public device headers instead
> >  - Ensure proper device matching by relying on manufacturer ID checks in
> > probe
> >
> > Changes in v12:
> >  - No change, added Reviewed-By tag
> >
> > Changes in v11:
> >  - Use MFD_CELL_NAME() for child device registration
> >  - Rename local variables for consistency
> >  - Rename driver names to follow subsystem conventions:
> >    - Use '-' instead of '_' in driver names
> >    - Drop the "_drv" suffix from driver names
> >
> > Changes in v10:
> >  - Drop redundant is_p3h2x4x_in_i3c flag
> >
> > Changes in v9:
> >  - Renamed macros to follow consistent uppercase naming conventions
> >  - Made REGMAP selects in the P3H2X4X MFD Kconfig conditional,
> >    to avoid I3C/I2C dependency issues
> >
> > Changes in v8:
> >  - No change
> >
> > Changes in v7:
> >  - Use new config I3C_OR_I2C
> >
> > Changes in v6:
> >  - No change
> >
> > Changes in v5:
> >  - Corrected the ordering in the Makefile and Kconfig for MFD_P3H2X4X
> >  - Updated dev_err_probe() for regmap_init failure.
> >  - Updated module description
> >
> > Changes in v4:
> >  - Split the driver into three separate patches(mfd, regulator and I3C hub)
> >  - Added support for NXP P3H2x4x MFD functionality
> > ---
> > ---
> >  MAINTAINERS                 |   2 +
> >  drivers/mfd/Kconfig         |  13 +++
> >  drivers/mfd/Makefile        |   1 +
> >  drivers/mfd/p3h2840.c       | 164 ++++++++++++++++++++++++++++++++++++
> >  include/linux/i3c/device.h  |   2 +
> >  include/linux/mfd/p3h2840.h |  41 +++++++++
> >  6 files changed, 223 insertions(+)
> >  create mode 100644 drivers/mfd/p3h2840.c  create mode 100644
> > include/linux/mfd/p3h2840.h
> >
> 
> Hi Lee,
> 
> Alexandre has already applied patches 1/8, 2/8, 3/8 and 6/8 from the v20 series.
> 
> Patches 4/8, 5/8, 7/8 and 8/8 remain outstanding, with patch 4/8 providing the MFD core required by the remaining patches.
> 
> Do you plan to pick patch 4/8 through the MFD tree, or would you prefer it to go through the I3C tree with your Reviewed-by?

I'd be happy to apply the MFD patch and the dependents.

However, right now it looks like you have a bunch of Sahiko issues
pending.  Is that the case?

-- 
Lee Jones

  reply	other threads:[~2026-10-26 15:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 10:35 [PATCH v20 0/8] Add support for NXP P3H2x4x I3C hub driver Lakshay Piplani
2026-09-22 10:35 ` [PATCH v20 1/8] i3c: master: Add APIs for I3C hub support Lakshay Piplani
2026-09-22 10:35 ` [PATCH v20 2/8] i3c: master: Add controller-only device operation helpers Lakshay Piplani
2026-09-22 10:35 ` [PATCH v20 3/8] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support Lakshay Piplani
2026-09-22 10:35 ` [PATCH v20 4/8] mfd: p3h2x4x: Add driver for NXP P3H2x4x i3c hub and on-die regulator Lakshay Piplani
2026-10-23 11:04   ` Lakshay Piplani
2026-10-26 15:04     ` Lee Jones [this message]
2026-10-26 17:14       ` Frank Li
2026-09-22 10:35 ` [PATCH v20 5/8] regulator: p3h2x4x: Add driver for on-die regulators in NXP P3H2x4x i3c hub Lakshay Piplani
2026-09-22 10:35 ` [PATCH v20 6/8] i3c: hub: Add support for the I3C interface in the I3C hub Lakshay Piplani
2026-09-22 10:35 ` [PATCH v20 7/8] i3c: hub: p3h2x4x: Add support for NXP P3H2x4x I3C hub functionality Lakshay Piplani
2026-09-22 10:35 ` [PATCH v20 8/8] i3c: hub: p3h2x4x: Add SMBus slave mode support Lakshay Piplani
2026-09-30 14:23 ` (subset) [PATCH v20 0/8] Add support for NXP P3H2x4x I3C hub driver Alexandre Belloni

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=20261026150446.GB2195460@google.com \
    --to=lee@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=aman.kumarpandey@nxp.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frank.li@nxp.com \
    --cc=krzk+dt@kernel.org \
    --cc=lakshay.piplani@nxp.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-i3c@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mfd@lists.linux.dev \
    --cc=priyanka.jain@nxp.com \
    --cc=robh@kernel.org \
    --cc=vikash.bansal@nxp.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®