]> git.karo-electronics.de Git - linux-beck.git/commit
iio: mcp4531: provide range of available raw values
authorPeter Rosin <peda@axentia.se>
Tue, 8 Nov 2016 11:58:53 +0000 (12:58 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 13 Nov 2016 11:40:26 +0000 (11:40 +0000)
commit2704e30014dd2f4e27675abda414e91de5bef8a4
tree343e56ff8e953f0a5e8c82f2bc5872075082d316
parent00c5f80c2fad5368cd5bfa6c9d90e75a9041ac16
iio: mcp4531: provide range of available raw values

Example:

$ cat '/sys/bus/iio/devices/iio:device0/out_resistance_raw_available'
[0 1 256]

Meaning: min 0, step 1 and max 256.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio-potentiometer-mcp4531 [new file with mode: 0644]
MAINTAINERS
drivers/iio/potentiometer/mcp4531.c