🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25776

Re: [PATCH 1/4] mfd: ocelot: Select the chip through match data

#25776
From: Lee Jones
Date: Wed, 02 Dec 2026 12:34
349 lines
19910 bytes
On Mon, 23 Nov 2026, Jens Emil Schulz Østergaard wrote:

> The SPI interface bootstrap, the chip reset and the child devices are
> hardcoded for the VSC7512. Describe the serial interface configuration
> target, its registers, the IF_CFGSTAT readback check and the padding
> byte calculation in SPI match data, and select the soft reset register
> and the child devices in the core by the chip it names. This prepares
> for adding the LAN9645x switch family.

I support the idea, just not the implementation.

> The VSC7512 soft reset defines get a VSC7512 prefix.
>
> The probe now fails for a device bound without match data, otherwise
> there is no functional change.
>
> Signed-off-by: Jens Emil Schulz Østergaard <jensemil.schulzostergaard@microchip.com>
> ---
>  drivers/mfd/ocelot-core.c | 48 +++++++++++++++++++++++------
>  drivers/mfd/ocelot-spi.c  | 77 +++++++++++++++++++++++++++++++++--------------
>  drivers/mfd/ocelot.h      |  6 ++++
>  3 files changed, 100 insertions(+), 31 deletions(-)
>
> diff --git a/drivers/mfd/ocelot-core.c b/drivers/mfd/ocelot-core.c
> index 41aff2708854..2f53122fb964 100644
> --- a/drivers/mfd/ocelot-core.c
> +++ b/drivers/mfd/ocelot-core.c
> @@ -28,9 +28,9 @@
>
>  #include "ocelot.h"
>
> -#define REG_GCB_SOFT_RST		0x0008
> +#define VSC7512_GCB_SOFT_RST		0x0008
>
> -#define BIT_SOFT_CHIP_RST		BIT(0)
> +#define VSC7512_SOFT_CHIP_RST		BIT(0)
>
>  #define VSC7512_MIIM0_RES_START		0x7107009c
>  #define VSC7512_MIIM1_RES_START		0x710700c0
> @@ -84,11 +84,23 @@
>  #define VSC7512_GCB_RST_SLEEP_US	100
>  #define VSC7512_GCB_RST_TIMEOUT_US	100000
>
> +struct ocelot_soft_rst {
> +	unsigned int reg;
> +	u32 mask;
> +};
> +
> +static const struct ocelot_soft_rst ocelot_soft_rst[] = {
> +	[OCELOT_CHIP_VSC7512] = {
> +		.reg = VSC7512_GCB_SOFT_RST,
> +		.mask = VSC7512_SOFT_CHIP_RST,
> +	},
> +};
> +
>  static int ocelot_gcb_chip_rst_status(struct ocelot_ddata *ddata)
>  {
>  	int val, err;
>
> -	err = regmap_read(ddata->gcb_regmap, REG_GCB_SOFT_RST, &val);
> +	err = regmap_read(ddata->gcb_regmap, ocelot_soft_rst[ddata->chip].reg, &val);
>  	if (err)
>  		return err;
>
> @@ -98,15 +110,18 @@ static int ocelot_gcb_chip_rst_status(struct ocelot_ddata *ddata)
>  int ocelot_chip_reset(struct device *dev)
>  {
>  	struct ocelot_ddata *ddata = dev_get_drvdata(dev);
> +	const struct ocelot_soft_rst *rst;
>  	int ret, val;
>
> +	rst = &ocelot_soft_rst[ddata->chip];
> +
>  	/*
>  	 * Reset the entire chip here to put it into a completely known state.
>  	 * Other drivers may want to reset their own subsystems. The register
>  	 * self-clears, so one write is all that is needed and wait for it to
>  	 * clear.
>  	 */
> -	ret = regmap_write(ddata->gcb_regmap, REG_GCB_SOFT_RST, BIT_SOFT_CHIP_RST);
> +	ret = regmap_write(ddata->gcb_regmap, rst->reg, rst->mask);
>  	if (ret)
>  		return ret;
>
> @@ -197,6 +212,18 @@ static const struct mfd_cell vsc7512_devs[] = {
>  	},
>  };
>
> +struct ocelot_cells {
> +	const struct mfd_cell *cells;
> +	unsigned int num_cells;
> +};
> +
> +static const struct ocelot_cells ocelot_cells[] = {
> +	[OCELOT_CHIP_VSC7512] = {
> +		.cells = vsc7512_devs,
> +		.num_cells = ARRAY_SIZE(vsc7512_devs),
> +	},
> +};

Please select the 'mfd_cell' array and its size using a switch() statement on
'ddata->chip' inside ocelot_core_init() rather than introducing a wrapper struct
and an array of arrays.

Also, we already have helpers for you in:

  include/linux/mfd/core.h

>  static void ocelot_core_try_add_regmap(struct device *dev,
>  				       const struct resource *res)
>  {
> @@ -217,14 +244,17 @@ static void ocelot_core_try_add_regmaps(struct device *dev,
>
>  int ocelot_core_init(struct device *dev)
>  {
> -	int i, ndevs;
> +	struct ocelot_ddata *ddata = dev_get_drvdata(dev);
> +	const struct ocelot_cells *c;
> +	int i;
>
> -	ndevs = ARRAY_SIZE(vsc7512_devs);
> +	c = &ocelot_cells[ddata->chip];
>
> -	for (i = 0; i < ndevs; i++)
> -		ocelot_core_try_add_regmaps(dev, &vsc7512_devs[i]);
> +	for (i = 0; i < c->num_cells; i++)

for (int i = 0; ...

> +		ocelot_core_try_add_regmaps(dev, &c->cells[i]);
>
> -	return devm_mfd_add_devices(dev, PLATFORM_DEVID_AUTO, vsc7512_devs, ndevs, NULL, 0, NULL);
> +	return devm_mfd_add_devices(dev, PLATFORM_DEVID_AUTO, c->cells, c->num_cells,
> +				    NULL, 0, NULL);
>  }
>  EXPORT_SYMBOL_NS(ocelot_core_init, "MFD_OCELOT");
>
> diff --git a/drivers/mfd/ocelot-spi.c b/drivers/mfd/ocelot-spi.c
> index 52bde8d4daf3..e803d0363e62 100644
> --- a/drivers/mfd/ocelot-spi.c
> +++ b/drivers/mfd/ocelot-spi.c
> @@ -50,7 +50,42 @@ static const struct resource vsc7512_gcb_resource =
>  			     VSC7512_CHIP_REGS_RES_SIZE,
>  			     "devcpu_gcb_chip_regs");
>
> -static int ocelot_spi_initialize(struct device *dev)
> +struct ocelot_spi_data {

May I suggest that we ditch this pdata strategy and assign these based
off of an integer that you pass through .data?

> +	enum ocelot_chip chip;
> +	const struct resource *cpuorg_res;
> +	unsigned int if_ctrl;
> +	unsigned int if_cfgstat;
> +	u32 if_cfgstat_si;
> +	const struct resource *gcb_res;
> +	int (*padding_bytes)(u32 max_speed_hz);

Function pointers at driver-level give me the ick.

Again, if there is no other way to do this other than in a function, you
can call it from within the correct case of the switch() suggested
above.  This way you can keep all of the chip specific logic together in
a coherent space.

> +};
> +
> +static int vsc7512_spi_padding_bytes(u32 max_speed_hz)
> +{
> +	if (max_speed_hz <= 500000)
> +		return 0;
> +
> +	/*
> +	 * Calculation taken from the manual for IF_CFGSTAT:IF_CFG. Register
> +	 * access time is 1us, so we need to configure and send out enough
> +	 * padding bytes between the read request and data transmission that
> +	 * lasts at least 1 microsecond.
> +	 */
> +	return 1 + (max_speed_hz / HZ_PER_MHZ + 2) / 8;
> +}
> +
> +static const struct ocelot_spi_data vsc7512_spi_data = {
> +	.chip = OCELOT_CHIP_VSC7512,
> +	.cpuorg_res = &vsc7512_dev_cpuorg_resource,
> +	.if_ctrl = REG_DEV_CPUORG_IF_CTRL,
> +	.if_cfgstat = REG_DEV_CPUORG_IF_CFGSTAT,
> +	.if_cfgstat_si = CFGSTAT_IF_NUM_SI,
> +	.gcb_res = &vsc7512_gcb_resource,
> +	.padding_bytes = vsc7512_spi_padding_bytes,
> +};
> +
> +static int ocelot_spi_initialize(struct device *dev,
> +				 const struct ocelot_spi_data *data)
>  {
>  	struct ocelot_ddata *ddata = dev_get_drvdata(dev);
>  	u32 val, check;
> @@ -80,7 +115,7 @@ static int ocelot_spi_initialize(struct device *dev)
>  	 * | 22222233 | 11112222 |   111111 |          |
>  	 * | 45678901 | 67890123 | 89012345 | 01234567 |
>  	 */
> -	err = regmap_write(ddata->cpuorg_regmap, REG_DEV_CPUORG_IF_CTRL, val);
> +	err = regmap_write(ddata->cpuorg_regmap, data->if_ctrl, val);
>  	if (err)
>  		return err;
>
> @@ -90,7 +125,7 @@ static int ocelot_spi_initialize(struct device *dev)
>  	 * first payload bit is shifted out too quickly, the read will fail.
>  	 */
>  	val = ddata->spi_padding_bytes;
> -	err = regmap_write(ddata->cpuorg_regmap, REG_DEV_CPUORG_IF_CFGSTAT, val);
> +	err = regmap_write(ddata->cpuorg_regmap, data->if_cfgstat, val);
>  	if (err)
>  		return err;
>
> @@ -109,9 +144,9 @@ static int ocelot_spi_initialize(struct device *dev)
>  	 * the registers are being accessed. Since we're accessing them via the
>  	 * serial interface, it must return IF_NUM_SI.
>  	 */
> -	check = val | CFGSTAT_IF_NUM_SI;
> +	check = val | data->if_cfgstat_si;
>
> -	err = regmap_read(ddata->cpuorg_regmap, REG_DEV_CPUORG_IF_CFGSTAT, &val);
> +	err = regmap_read(ddata->cpuorg_regmap, data->if_cfgstat, &val);
>  	if (err)
>  		return err;
>
> @@ -196,28 +231,26 @@ EXPORT_SYMBOL_NS(ocelot_spi_init_regmap, "MFD_OCELOT_SPI");
>
>  static int ocelot_spi_probe(struct spi_device *spi)
>  {
> +	const struct ocelot_spi_data *data;
>  	struct device *dev = &spi->dev;
>  	struct ocelot_ddata *ddata;
>  	struct regmap *r;
>  	int err;
>
> +	data = spi_get_device_match_data(spi);
> +	if (!data)
> +		return -ENODEV;
> +
>  	ddata = devm_kzalloc_obj(dev, *ddata);
>  	if (!ddata)
>  		return -ENOMEM;
>
> +	ddata->chip = data->chip;
> +
>  	spi_set_drvdata(spi, ddata);
>
> -	if (spi->max_speed_hz <= 500000) {
> -		ddata->spi_padding_bytes = 0;
> -	} else {
> -		/*
> -		 * Calculation taken from the manual for IF_CFGSTAT:IF_CFG.
> -		 * Register access time is 1us, so we need to configure and send
> -		 * out enough padding bytes between the read request and data
> -		 * transmission that lasts at least 1 microsecond.
> -		 */
> -		ddata->spi_padding_bytes = 1 + (spi->max_speed_hz / HZ_PER_MHZ + 2) / 8;
> -
> +	ddata->spi_padding_bytes = data->padding_bytes(spi->max_speed_hz);
> +	if (ddata->spi_padding_bytes) {
>  		ddata->dummy_buf = devm_kzalloc(dev, ddata->spi_padding_bytes, GFP_KERNEL);
>  		if (!ddata->dummy_buf)
>  			return -ENOMEM;
> @@ -229,13 +262,13 @@ static int ocelot_spi_probe(struct spi_device *spi)
>  	if (err)
>  		return dev_err_probe(&spi->dev, err, "Error performing SPI setup\n");
>
> -	r = ocelot_spi_init_regmap(dev, &vsc7512_dev_cpuorg_resource);
> +	r = ocelot_spi_init_regmap(dev, data->cpuorg_res);
>  	if (IS_ERR(r))
>  		return PTR_ERR(r);
>
>  	ddata->cpuorg_regmap = r;
>
> -	r = ocelot_spi_init_regmap(dev, &vsc7512_gcb_resource);
> +	r = ocelot_spi_init_regmap(dev, data->gcb_res);
>  	if (IS_ERR(r))
>  		return PTR_ERR(r);
>
> @@ -246,7 +279,7 @@ static int ocelot_spi_probe(struct spi_device *spi)
>  	 * This must be done before calling init, and after a chip reset is
>  	 * performed.
>  	 */
> -	err = ocelot_spi_initialize(dev);
> +	err = ocelot_spi_initialize(dev, data);
>  	if (err)
>  		return dev_err_probe(dev, err, "Error initializing SPI bus\n");
>
> @@ -258,7 +291,7 @@ static int ocelot_spi_probe(struct spi_device *spi)
>  	 * A chip reset will clear the SPI configuration, so it needs to be done
>  	 * again before we can access any registers.
>  	 */
> -	err = ocelot_spi_initialize(dev);
> +	err = ocelot_spi_initialize(dev, data);
>  	if (err)
>  		return dev_err_probe(dev, err, "Error initializing SPI bus after reset\n");
>
> @@ -270,13 +303,13 @@ static int ocelot_spi_probe(struct spi_device *spi)
>  }
>
>  static const struct spi_device_id ocelot_spi_ids[] = {
> -	{ .name = "vsc7512" },
> +	{ .name = "vsc7512", .driver_data = (kernel_ulong_t)&vsc7512_spi_data },
>  	{ }
>  };
>  MODULE_DEVICE_TABLE(spi, ocelot_spi_ids);
>
>  static const struct of_device_id ocelot_spi_of_match[] = {
> -	{ .compatible = "mscc,vsc7512" },
> +	{ .compatible = "mscc,vsc7512", .data = &vsc7512_spi_data },
>  	{ }
>  };
>  MODULE_DEVICE_TABLE(of, ocelot_spi_of_match);
> diff --git a/drivers/mfd/ocelot.h b/drivers/mfd/ocelot.h
> index b8bc2f1486e2..92b5b893ff9b 100644
> --- a/drivers/mfd/ocelot.h
> +++ b/drivers/mfd/ocelot.h
> @@ -10,8 +10,13 @@ struct device;
>  struct regmap;
>  struct resource;
>
> +enum ocelot_chip {
> +	OCELOT_CHIP_VSC7512,
> +};
> +
>  /**
>   * struct ocelot_ddata - Private data for an external Ocelot chip
> + * @chip:		Chip family member.
>   * @gcb_regmap:		General Configuration Block regmap. Used for
>   *			operations like chip reset.
>   * @cpuorg_regmap:	CPU Device Origin Block regmap. Used for operations
> @@ -24,6 +29,7 @@ struct resource;
>   *			data of a SPI read operation.
>   */
>  struct ocelot_ddata {
> +	enum ocelot_chip chip;
>  	struct regmap *gcb_regmap;
>  	struct regmap *cpuorg_regmap;
>  	int spi_padding_bytes;
>
> -- 
> 2.52.0
>

-- 
Lee Jones
Technical Details
Message-ID: <179568560270.32537.14032655101111129070@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375774-linux-kernel-netdev=dewy.ru
References: <20261123-mfd-ocelot-add-lan9645x-support-v1-0-567d811fe1de@microchip.com> <20261123-mfd-ocelot-add-lan9645x-support-v1-1-567d811fe1de@microchip.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375774-linux-kernel-netdev=dewy.ru
From: lee@kernel.org (Lee Jones)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 1/4] mfd: ocelot: Select the chip through match data
Date: Wed, 2 Dec 2026 12:34:38 +0000
Organization: Usenet Network
Message-ID: <179568560270.32537.14032655101111129070@kernel.org>
References: <20261123-mfd-ocelot-add-lan9645x-support-v1-0-567d811fe1de@microchip.com>
 <20261123-mfd-ocelot-add-lan9645x-support-v1-1-567d811fe1de@microchip.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1970155"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:GbBQm2yD2al5j/GlJd/bz1emt/A= sha256:+W1yl1FqxFZ8x/siBePtfR/9X9VGpt7SEd1SHVUKZ1U=
	sha1:OF1C30bJ1sCgGcRntTa2tlRjnAY= sha256:6rRV8bsp3PjCR60s1JTSDxD1Zurk70U0msGvvhhpxOg=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id B4B9F117629; Wed,  2 Dec 2026 15:35:08 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id rHTBm3UqjwXI;
	Wed,  2 Dec 2026 15:35:01 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-375774-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id F081111762A; Wed,  2 Dec 2026 15:34:51 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 5C95F344BA; Wed,  2 Dec 2026 12:34:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796214884;
	b=cZ9nIa1D0Fx2ywNCsDokIALGGJq3InMxQoZ82pBbJEPw/e5BiEAeXkGQ92K3GhqHQSlE
	 E7X4HkOXlBO1DFNa58WuBY5ujF38XFKyq1VPRK/IHHjOENoMnlevVa5lGteSNV2utnAho
	 FyUfTcO1/UVcQXO26mpKPaAefQXfuPIF7sxICrMdPzH9CWKjB0a4hDChCaUqP/umcy3cZ
	 GHrP2/VeXuTABTYcoDsmQZNmWpi0MkI3jCdyYp9/Y+V2XYu0WeLpu126SpfAPbF9t9uzM
	 nxa7LIpWcMLDqDidkjzXmbRx8rIRyCDCj5dVAtkv4UQwhmTbvOLYpZO38AhUw5rkW4Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796214884;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To:X-AI-Review-Draft;
	bh=b+LRgOXyiUKQ5p5gd+IPKBs+PUcxbj0niAvNEVBoY2M=;
	b=F4zz0mdlZ0JdYs4n/E4fJRSWMRd6S9xvNetyrmE9dVtxOvYe3O4Py3KLNz2hAXf95bub
	 7m3rLRvlD0AtuGicRQ4OafnPgqieVW6AS689DFyTiziadIWvz7Y7OEYhdhLAwtEuHAz9i
	 UH4bzRFDZ5o3o32yd2w+/O2B/niCrOppAxWO4HWFsyagDa905scS8o0D2ZAOz2bziht27
	 DbFEy/rBQ1yM/NDWjrVkrQ2+LObHTp2ecc4CtQD1BYkgpuWfPU59aTYESlCyZYZviXK3y
	 +TzjpU9Nyx8/u9l8/KUof9i+PI4WpAM30EepTBcbVn4PIKhKlZedKCWSIM7AEYQ5+Vw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=EGypdceL;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FBEB606A33E;
	Wed,  2 Dec 2026 12:34:44 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=EGypdceL
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796214883;
	b=4lujwzspHRmhnE01KMuIbXAp99Wz/UNMvHqr/lRzS6xlngLJWdLA+w9QK6sMOK/B48jR
	 7Axezwifnqa95dSXtUZolM/mEOAuhXU0PCAWwwW1ETcBE804Cy5nNCwuRDHZWyekTHirc
	 XWkcPUyS/iIEg3oljFWi1cWaQ3dnQYIVZUvh+wVKXIrVy1Q+7Nhuvfy5AFkgf9Iuxso/2
	 8JCypOTqsQNdf+f+3g+yDNSg7p6Xpo4dzn8sSQMwmii4CnMDnpEV/ewcWsSPLUPbtBhvg
	 h0k9Qm/ZmlWJVdEnN85jR5ZQxMPx6p0DH6DrOphybmAt5BKvlFJI6zGk762y/mXOXOA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796214883;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To:X-AI-Review-Draft;
	bh=b+LRgOXyiUKQ5p5gd+IPKBs+PUcxbj0niAvNEVBoY2M=;
	b=Md6WjvIbY2aD4uSYQIyEzvfB2gMGo1SHVtS98CuuJ0Zjfw+Ov1rDsjIBmz+7+gSOA6lD
	 TTcqoTjXkL8tPkbBXk1ymrJvfEbbw3Fw6aBgMVeWMjxcpki0iY/T6+KWbdNS3q5F/y3Yo
	 5BEckXYcHvgt5zNOFakIcXj7r82HtSi+PD9DkrO1RZmUf2/YEqM8IIEajV5nn9fozf3tf
	 uPuGoCvotz3bFxG+WcBbY38B5TEF7T8cJCMCsUSPECtBThFAW/aQli1/XrvDUwTvK6xXo
	 5kO3tWWdnnBihaJAOt1HiW7NCMxdeo2wlUI4g9BDdcEefMJXyS5spBPoh4JwN5Bb6Ng==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=EGypdceL;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A919606A325;
	Wed,  2 Dec 2026 12:34:43 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4BD21F000C1;
	Wed,  2 Dec 2026 12:34:40 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796214883;
	bh=b+LRgOXyiUKQ5p5gd+IPKBs+PUcxbj0niAvNEVBoY2M=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=EGypdceL+0mvdjfbycLfezo3Ai0rKldGc58BhuIA4VSfu4wBoZH0UyJzUYMImBV3Z
	 9sT75rXvWQdV2TqRUdkA81xX1SkDRpPwIoLWayf8iZlgPEEdQa4kNb4UOUdYjvvb/v
	 XlFT6lRtW5yDW1B66820VC5Q7KsMjg4bsa3T10gXX7U2nLDnCJntd+e4R6JJVvCYv3
	 NjN7tCur27cmegy3CspbOiBJ22ktG5FfXtHUHSnNLKIVk2Oy8DewCEgLGPv00MnZkm
	 5SUURFudn6BzYmn/hDP2W8UErENpDtE2LXbphWffH0mBNgLNkBf+UyVlbPMImTpP2s
	 rt2l59Au8mqUA==
X-Cc: Colin Foster <colin.foster@in-advantage.com>,
	UNGLinuxDriver@microchip.com, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Richard Cochran <richardcochran@gmail.com>, mfd@lists.linux.dev,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	devicetree@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261123-mfd-ocelot-add-lan9645x-support-v1-1-567d811fe1de@microchip.com>
X-AI-Review-Draft: <20261123-mfd-ocelot-add-lan9645x-support-v1-1-567d811fe1de@microchip.com>