Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (pmbus/tps53679) Extend device list supported by driver

Extends driver with support of the additional devices:
Texas Instruments Dual channel DCAP+ multiphase controllers: TPS53688.

Extend Kconfig with added device.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Link: https://lore.kernel.org/r/20200113150841.17670-4-vadimp@mellanox.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Vadim Pasternak and committed by
Guenter Roeck
583dc921 9d72340b

+4 -2
+2 -2
drivers/hwmon/pmbus/Kconfig
··· 209 209 be called tps40422. 210 210 211 211 config SENSORS_TPS53679 212 - tristate "TI TPS53679" 212 + tristate "TI TPS53679, TPS53688" 213 213 help 214 214 If you say yes here you get hardware monitoring support for TI 215 - TPS53679. 215 + TPS53679, TPS53688 216 216 217 217 This driver can also be built as a module. If so, the module will 218 218 be called tps53679.
+2
drivers/hwmon/pmbus/tps53679.c
··· 85 85 86 86 static const struct i2c_device_id tps53679_id[] = { 87 87 {"tps53679", 0}, 88 + {"tps53688", 0}, 88 89 {} 89 90 }; 90 91 ··· 93 92 94 93 static const struct of_device_id __maybe_unused tps53679_of_match[] = { 95 94 {.compatible = "ti,tps53679"}, 95 + {.compatible = "ti,tps53688"}, 96 96 {} 97 97 }; 98 98 MODULE_DEVICE_TABLE(of, tps53679_of_match);