mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-08 00:23:23 -04:00
mfd: simple-mfd-i2c: Add sl28cpld support
Add the core support for the board management controller found on the SMARC-sAL28 board. Also add a virtual symbol which pulls in the simple-mfd-i2c driver and provide a common symbol on which the subdevice drivers can depend on. At the moment, this controller is used on the Kontron SMARC-sAL28 board. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
48e28a249e
commit
a538ad229b
2 changed files with 11 additions and 0 deletions
|
@ -1174,6 +1174,16 @@ config MFD_SIMPLE_MFD_I2C
|
||||||
sub-devices represented by child nodes in Device Tree will be
|
sub-devices represented by child nodes in Device Tree will be
|
||||||
subsequently registered.
|
subsequently registered.
|
||||||
|
|
||||||
|
config MFD_SL28CPLD
|
||||||
|
tristate "Kontron sl28cpld Board Management Controller"
|
||||||
|
select MFD_SIMPLE_MFD_I2C
|
||||||
|
help
|
||||||
|
Say yes here to enable support for the Kontron sl28cpld board
|
||||||
|
management controller.
|
||||||
|
|
||||||
|
It can be found on the following boards:
|
||||||
|
* SMARC-sAL28
|
||||||
|
|
||||||
config MFD_SM501
|
config MFD_SM501
|
||||||
tristate "Silicon Motion SM501"
|
tristate "Silicon Motion SM501"
|
||||||
depends on HAS_DMA
|
depends on HAS_DMA
|
||||||
|
|
|
@ -38,6 +38,7 @@ static int simple_mfd_i2c_probe(struct i2c_client *i2c)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct of_device_id simple_mfd_i2c_of_match[] = {
|
static const struct of_device_id simple_mfd_i2c_of_match[] = {
|
||||||
|
{ .compatible = "kontron,sl28cpld" },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);
|
MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue