diff options
author | Slawomir Stepien <sst@poczta.fm> | 2016-04-10 14:23:09 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-10 14:34:09 +0300 |
commit | fbbc5e7044f761652e1e83037bd90574976337a3 (patch) | |
tree | 1187bd9dea386519803e48ac1b210d3f64f53185 /Documentation/devicetree/bindings/iio | |
parent | 148e45dc87cb76ba89e80da264bc692cc91a5149 (diff) | |
download | linux-fbbc5e7044f761652e1e83037bd90574976337a3.tar.xz |
iio: potentiometer: add driver for Maxim Integrated DS1803
The following functions are supported:
- write, read potentiometer value
- potentiometer scale
Datasheet: https://datasheets.maximintegrated.com/en/ds/DS1803.pdf
Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt b/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt new file mode 100644 index 000000000000..df77bf552656 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt @@ -0,0 +1,21 @@ +* Maxim Integrated DS1803 digital potentiometer driver + +The node for this driver must be a child node of a I2C controller, hence +all mandatory properties for your controller must be specified. See directory: + + Documentation/devicetree/bindings/i2c + +for more details. + +Required properties: + - compatible: Must be one of the following, depending on the + model: + "maxim,ds1803-010", + "maxim,ds1803-050", + "maxim,ds1803-100" + +Example: +ds1803: ds1803@1 { + reg = <0x28>; + compatible = "maxim,ds1803-010"; +}; |