@@ -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},
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@sedsystems.ca> --- drivers/hwmon/pmbus/pmbus.c | 5 +++++ 1 file changed, 5 insertions(+)