Skip to content

Commit

Permalink
hwmon: (pmbus/tps53679) Extend device list supported by driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vadim Pasternak authored and Guenter Roeck committed Jan 23, 2020
1 parent 9d72340 commit 583dc92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/hwmon/pmbus/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ config SENSORS_TPS40422
be called tps40422.

config SENSORS_TPS53679
tristate "TI TPS53679"
tristate "TI TPS53679, TPS53688"
help
If you say yes here you get hardware monitoring support for TI
TPS53679.
TPS53679, TPS53688

This driver can also be built as a module. If so, the module will
be called tps53679.
Expand Down
2 changes: 2 additions & 0 deletions drivers/hwmon/pmbus/tps53679.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ static int tps53679_probe(struct i2c_client *client,

static const struct i2c_device_id tps53679_id[] = {
{"tps53679", 0},
{"tps53688", 0},
{}
};

MODULE_DEVICE_TABLE(i2c, tps53679_id);

static const struct of_device_id __maybe_unused tps53679_of_match[] = {
{.compatible = "ti,tps53679"},
{.compatible = "ti,tps53688"},
{}
};
MODULE_DEVICE_TABLE(of, tps53679_of_match);
Expand Down

0 comments on commit 583dc92

Please sign in to comment.