Skip to content

Commit a538ad2

Browse files
mwalleLee Jones
authored andcommitted
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>
1 parent 48e28a2 commit a538ad2

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

‎drivers/mfd/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,6 +1174,16 @@ config MFD_SIMPLE_MFD_I2C
11741174
sub-devices represented by child nodes in Device Tree will be
11751175
subsequently registered.
11761176

1177+
config MFD_SL28CPLD
1178+
tristate "Kontron sl28cpld Board Management Controller"
1179+
select MFD_SIMPLE_MFD_I2C
1180+
help
1181+
Say yes here to enable support for the Kontron sl28cpld board
1182+
management controller.
1183+
1184+
It can be found on the following boards:
1185+
* SMARC-sAL28
1186+
11771187
config MFD_SM501
11781188
tristate "Silicon Motion SM501"
11791189
depends on HAS_DMA

‎drivers/mfd/simple-mfd-i2c.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ static int simple_mfd_i2c_probe(struct i2c_client *i2c)
3838
}
3939

4040
static const struct of_device_id simple_mfd_i2c_of_match[] = {
41+
{ .compatible = "kontron,sl28cpld" },
4142
{}
4243
};
4344
MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);

0 commit comments

Comments
 (0)