hwmon: (pmbus) Add tps40422 front-end driver
authorZhu, Richard \(NSN - CN/Beijing\) <richard.zhu@nsn.com>
Tue, 1 Jul 2014 07:14:23 +0000 (07:14 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:38 +0000 (07:01 -0700)
commita8bfeceb0c1400b9331c00f6969afa6cb82d5d4a
treeb0774f9e62c7af6ae14f9da24e334208e8ab2d1e
parent012cb5e257dcce524ee6207e50ca494d8a2b6013
hwmon: (pmbus) Add tps40422 front-end driver

For TI power management chip TPS40422, READ_TEMPERATURE_2 command is supported on
page 1 of the chip, but the original driver(pmbus.c) only tried to detect this command
on page 0, this will lead to a result that the temperature sensor in page 1 couldn't
be detected. This change is to isolate the tps40422 driver from pmbus.c into a solo
front-end driver.

Signed-off-by: Zhu Laiwen <richard.zhu@nsn.com>
[Guenter Roeck: Dropped unnecessary license text (fixes checkpatch warning)]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/pmbus
Documentation/hwmon/tps40422 [new file with mode: 0644]
drivers/hwmon/pmbus/Kconfig
drivers/hwmon/pmbus/Makefile
drivers/hwmon/pmbus/pmbus.c
drivers/hwmon/pmbus/tps40422.c [new file with mode: 0644]