diff options
author | Alexander Koch <mail@alexanderkoch.net> | 2017-01-06 11:38:15 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-01-10 09:09:18 -0800 |
commit | a45923c27de4a101e846795d76420936b62bb659 (patch) | |
tree | 4132db967da4675683994834d94dda5de105a5f4 /ipc/shm.c | |
parent | bbcf37d73c2d3b4fa1a5781c992289b9a90c1480 (diff) | |
download | linux-a45923c27de4a101e846795d76420936b62bb659.tar.bz2 |
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 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions