mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
hwmon: (ina2xx) Add ina231 compatible string
Add support for "ina231" as compatible string, and update Documentation and Kconfig accordingly. Tested with the Exynos5422-based odroid-xu3 board which has on-board INA231 sensors. Signed-off-by: Kevin Hilman <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
b721fe2a3a
commit
add513be1c
3 changed files with 12 additions and 4 deletions
|
|
@ -1430,8 +1430,8 @@ config SENSORS_INA2XX
|
|||
tristate "Texas Instruments INA219 and compatibles"
|
||||
depends on I2C
|
||||
help
|
||||
If you say yes here you get support for INA219, INA220, INA226, and
|
||||
INA230 power monitor chips.
|
||||
If you say yes here you get support for INA219, INA220, INA226,
|
||||
INA230, and INA231 power monitor chips.
|
||||
|
||||
The INA2xx driver is configured for the default configuration of
|
||||
the part as described in the datasheet.
|
||||
|
|
|
|||
|
|
@ -538,6 +538,7 @@ static const struct i2c_device_id ina2xx_id[] = {
|
|||
{ "ina220", ina219 },
|
||||
{ "ina226", ina226 },
|
||||
{ "ina230", ina226 },
|
||||
{ "ina231", ina226 },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, ina2xx_id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue