Add detection support for the Infineon IRPS5401 PMIC. This chip has 5 pages corresponding to 4 switching outputs and one linear (LDO) output. Signed-off-by: Robert Hancock <hancock@xxxxxxxxxxxxx> --- drivers/hwmon/pmbus/pmbus.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c index 970322f..158d61e 100644 --- a/drivers/hwmon/pmbus/pmbus.c +++ b/drivers/hwmon/pmbus/pmbus.c @@ -191,6 +191,10 @@ static int pmbus_probe(struct i2c_client *client, return pmbus_do_probe(client, id, info); } +static const struct pmbus_device_info pmbus_info_five = { + .pages = 5, + .flags = 0 +}; static const struct pmbus_device_info pmbus_info_one = { .pages = 1, .flags = 0 @@ -214,6 +218,7 @@ static int pmbus_probe(struct i2c_client *client, {"dps460", (kernel_ulong_t)&pmbus_info_one_skip}, {"dps650ab", (kernel_ulong_t)&pmbus_info_one_skip}, {"dps800", (kernel_ulong_t)&pmbus_info_one_skip}, + {"irps5401", (kernel_ulong_t)&pmbus_info_five}, {"mdt040", (kernel_ulong_t)&pmbus_info_one}, {"ncp4200", (kernel_ulong_t)&pmbus_info_one}, {"ncp4208", (kernel_ulong_t)&pmbus_info_one}, -- 1.8.3.1