[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250509152940.2004660-3-ioana.ciornei@nxp.com>
Date: Fri, 9 May 2025 18:29:36 +0300
From: Ioana Ciornei <ioana.ciornei@....com>
To: lee@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
shawnguo@...nel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: vladimir.oltean@....com,
Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH v2 2/6] mfd: simple-mfd-i2c: add compatible string for Layerscape QIXIS CPLD
The QIXIS CPLD found on Layerscape boards such as LX2160AQDS, LS1028AQDS
etc deals with power-on-reset timing, muxing etc. Use the simple-mfd-i2c
as its core driver by adding an individual compatible string for each
board. By using the simple-mfd-i2c driver any child device will have
access to the i2c regmap created by it.
Signed-off-by: Ioana Ciornei <ioana.ciornei@....com>
---
Changes in v2:
- use the new compatible strings
drivers/mfd/simple-mfd-i2c.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mfd/simple-mfd-i2c.c b/drivers/mfd/simple-mfd-i2c.c
index 22159913bea0..2ae47282e658 100644
--- a/drivers/mfd/simple-mfd-i2c.c
+++ b/drivers/mfd/simple-mfd-i2c.c
@@ -99,6 +99,9 @@ static const struct of_device_id simple_mfd_i2c_of_match[] = {
{ .compatible = "maxim,max5970", .data = &maxim_max5970},
{ .compatible = "maxim,max5978", .data = &maxim_max5970},
{ .compatible = "maxim,max77705-battery", .data = &maxim_mon_max77705},
+ { .compatible = "fsl,lx2160a-qds-qixis-cpld" },
+ { .compatible = "fsl,lx2162a-qds-qixis-cpld" },
+ { .compatible = "fsl,ls1028a-qds-qixis-cpld" },
{}
};
MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);
--
2.25.1
Powered by blists - more mailing lists