Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a45923c2 authored by Alexander Koch's avatar Alexander Koch Committed by Guenter Roeck
Browse files

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: default avatarAlexander Koch <mail@alexanderkoch.net>
Acked-by: default avatarMichael Hornung <mhornung.linux@gmail.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent bbcf37d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment