| From 2fe64fdbf771c645f07cb8225aec91c1cf468a9b Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Mon, 7 Jul 2025 18:31:20 +0300 |
| Subject: mfd: simple-mfd-i2c: Add compatible strings for Layerscape QIXIS FPGA |
| |
| From: Ioana Ciornei <ioana.ciornei@nxp.com> |
| |
| [ Upstream commit 81a2c31257411296862487aaade98b7d9e25dc72 ] |
| |
| The QIXIS FPGA 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 its compatible string (already found in |
| some dt files). 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@nxp.com> |
| Link: https://lore.kernel.org/r/20250707153120.1371719-1-ioana.ciornei@nxp.com |
| Signed-off-by: Lee Jones <lee@kernel.org> |
| Stable-dep-of: 8f34c1a64c53 ("mfd: simple-mfd-i2c: Add Delta TN48M CPLD support") |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| drivers/mfd/simple-mfd-i2c.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/drivers/mfd/simple-mfd-i2c.c b/drivers/mfd/simple-mfd-i2c.c |
| index 22159913bea03..f7798bd922224 100644 |
| --- a/drivers/mfd/simple-mfd-i2c.c |
| +++ b/drivers/mfd/simple-mfd-i2c.c |
| @@ -99,6 +99,8 @@ 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,lx2160aqds-fpga" }, |
| + { .compatible = "fsl,ls1028aqds-fpga" }, |
| {} |
| }; |
| MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match); |
| -- |
| 2.51.0 |
| |