]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: simple-mfd-i2c: Add compatible strings for Layerscape QIXIS FPGA
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 7 Jul 2025 15:31:20 +0000 (18:31 +0300)
committerLee Jones <lee@kernel.org>
Wed, 1 Oct 2025 09:28:01 +0000 (10:28 +0100)
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>
drivers/mfd/simple-mfd-i2c.c

index 22159913bea034a41388de7b324dcb2c0ed18467..f7798bd922224eff971183fe4b2adabf2595c5ea 100644 (file)
@@ -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);