diff options
author | Camel Guo <camel.guo@axis.com> | 2022-04-14 09:58:23 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-05-20 19:57:05 +0200 |
commit | bd79021072ac841e73ec5300a4dbfbdeff431582 (patch) | |
tree | 51b6991d90fe57319f36ddd69a0ee737c87a5406 /drivers/hwmon/jc42.c | |
parent | dt-bindings: hwmon: Add TMP401, TMP411 and TMP43x (diff) | |
download | linux-bd79021072ac841e73ec5300a4dbfbdeff431582.tar.xz linux-bd79021072ac841e73ec5300a4dbfbdeff431582.zip |
hwmon: (tmp401) Add support of three advanced features
tmp401 driver supports TMP401, TMP411 and TMP43X temperature sensors.
According to their datasheet:
- all of them support extended temperature range feature;
- TMP411 and TPM43X support n-factor correction feature;
- TMP43X support beta compensation feature.
In order to support setting them during bootup, this commit reads
ti,extended-range-enable, ti,n-factor and ti,beta-compensation and set
the corresponding registers during probing.
Signed-off-by: Camel Guo <camel.guo@axis.com>
Link: https://lore.kernel.org/r/20220414075824.2634839-3-camel.guo@axis.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/jc42.c')
0 files changed, 0 insertions, 0 deletions