summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7475.c
diff options
context:
space:
mode:
authorAlexander Koch2017-01-06 11:38:15 +0100
committerGuenter Roeck2017-01-10 18:09:18 +0100
commita45923c27de4a101e846795d76420936b62bb659 (patch)
tree4132db967da4675683994834d94dda5de105a5f4 /drivers/hwmon/adt7475.c
parentdevicetree: hwmon: Add bindings for ADC128D818 (diff)
downloadkernel-qcow2-linux-a45923c27de4a101e846795d76420936b62bb659.tar.gz
kernel-qcow2-linux-a45923c27de4a101e846795d76420936b62bb659.tar.xz
kernel-qcow2-linux-a45923c27de4a101e846795d76420936b62bb659.zip
hwmon: (adc128d818) Implement mode selection via dt
Implement operation mode selection using the optional 'ti,mode' devicetree property (see [1]). The ADC128D818 supports four operation modes differing in the number and type of input readings (see datasheet, sec. 8.4.1), of which mode 0 is the default. We only add handling of the 'ti,mode' property here, the driver still supports nothing else than the default mode 0. [1] Documentation/devicetree/bindings/hwmon/adc128d818.txt Signed-off-by: Alexander Koch <mail@alexanderkoch.net> Acked-by: Michael Hornung <mhornung.linux@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/adt7475.c')
0 files changed, 0 insertions, 0 deletions