From: Brian Chiang<chiang.brian@xxxxxxxxxxxx> According to the RAA229621 datasheet, add support for reading. Signed-off-by: Brian Chiang<chiang.brian@xxxxxxxxxxxx> --- This modification is added RAA229621 chip to isl68137 list --- drivers/hwmon/pmbus/isl68137.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/hwmon/pmbus/isl68137.c b/drivers/hwmon/pmbus/isl68137.c index 2af921039309..43e860d95280 100644 --- a/drivers/hwmon/pmbus/isl68137.c +++ b/drivers/hwmon/pmbus/isl68137.c @@ -63,6 +63,7 @@ enum chips { raa228228, raa229001, raa229004, + raa229621, }; enum variants { @@ -72,6 +73,7 @@ enum variants { raa_dmpvr2_2rail_nontc, raa_dmpvr2_3rail, raa_dmpvr2_hv, + raa_dmpvr2_hvt, }; struct isl68137_channel { @@ -412,6 +414,12 @@ static int isl68137_probe(struct i2c_client *client) info->read_word_data = raa_dmpvr2_read_word_data; info->write_word_data = raa_dmpvr2_write_word_data; break; + case raa_dmpvr2_hvt: + info->pages = 2; + info->func[0] &= ~PMBUS_HAVE_TEMP3; + info->func[1] &= ~PMBUS_HAVE_TEMP3; + info->read_word_data = raa_dmpvr2_read_word_data; + break; default: return -ENODEV; } @@ -465,6 +473,7 @@ static const struct i2c_device_id raa_dmpvr_id[] = { {"raa228228", raa_dmpvr2_2rail_nontc}, {"raa229001", raa_dmpvr2_2rail}, {"raa229004", raa_dmpvr2_2rail}, + {"raa229621", raa_dmpvr2_hvt}, {} };