hwmon: (pmbus) Add MAX20796 to devices supported by generic pmbus driver
authorGuenter Roeck <linux@roeck-us.net>
Fri, 13 Dec 2019 21:36:36 +0000 (13:36 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 23 Jan 2020 21:15:09 +0000 (13:15 -0800)
MAX20796 is a dual-phase scalable integrated voltage regulator with
PMBus interface.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/pmbus.rst
drivers/hwmon/pmbus/Kconfig
drivers/hwmon/pmbus/pmbus.c

index abfb9dd4857d51d30613578d0e1498807669505e..f787984e88a9c1f33ecf9fb4176d51be1ebf29fe 100644 (file)
@@ -63,6 +63,16 @@ Supported chips:
 
        http://www.ti.com/lit/gpn/tps544c25
 
+  * Maxim MAX20796
+
+    Prefix: 'max20796'
+
+    Addresses scanned: -
+
+    Datasheet:
+
+       Not published
+
   * Generic PMBus devices
 
     Prefix: 'pmbus'
index 48ae5a5419c50d124d92f8c82423272f2d4f28d8..76fe5488d5fb2fb74302b98447b5d3663b2079ec 100644 (file)
@@ -20,8 +20,8 @@ config SENSORS_PMBUS
        help
          If you say yes here you get hardware monitoring support for generic
          PMBus devices, including but not limited to ADP4000, BMR453, BMR454,
-         MDT040, NCP4200, NCP4208, PDT003, PDT006, PDT012, TPS40400, TPS544B20,
-         TPS544B25, TPS544C20, TPS544C25, and UDT020.
+         MAX20796, MDT040, NCP4200, NCP4208, PDT003, PDT006, PDT012, TPS40400,
+         TPS544B20, TPS544B25, TPS544C20, TPS544C25, and UDT020.
 
          This driver can also be built as a module. If so, the module will
          be called pmbus.
index c0bc43d010186dffef6d6f09278f78009705abe6..879aac6ed092d89a29aa24107646949aca08acc5 100644 (file)
@@ -210,6 +210,7 @@ static const struct i2c_device_id pmbus_id[] = {
        {"dps460", (kernel_ulong_t)&pmbus_info_one_skip},
        {"dps650ab", (kernel_ulong_t)&pmbus_info_one_skip},
        {"dps800", (kernel_ulong_t)&pmbus_info_one_skip},
+       {"max20796", (kernel_ulong_t)&pmbus_info_one},
        {"mdt040", (kernel_ulong_t)&pmbus_info_one},
        {"ncp4200", (kernel_ulong_t)&pmbus_info_one},
        {"ncp4208", (kernel_ulong_t)&pmbus_info_one},