summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2013-10-25 10:10:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-11-24 21:07:14 +0000
commit8175bff5b47eae171a393f5bd67673de50630973 (patch)
tree0e31f02926dccc950c3f2518cf5953143f28b9b9 /Documentation/devicetree/bindings/iio
parentcc26ad455f57b42dd40ca01c4c220516218390f6 (diff)
downloadop-kernel-dev-8175bff5b47eae171a393f5bd67673de50630973.zip
op-kernel-dev-8175bff5b47eae171a393f5bd67673de50630973.tar.gz
iio:light:tsl2563: Add DT support
Add Device Tree support for the TSL2563 driver, document the binding and add AMS-TAOS Inc. to the list of vendor prefixes. Signed-off-by: Sebastian Reichel <sre@debian.org> Acked-by: Kumar Gala <galak@codeaurora.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r--Documentation/devicetree/bindings/iio/light/tsl2563.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/light/tsl2563.txt b/Documentation/devicetree/bindings/iio/light/tsl2563.txt
new file mode 100644
index 0000000..f91e809
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/light/tsl2563.txt
@@ -0,0 +1,19 @@
+* AMS TAOS TSL2563 ambient light sensor
+
+Required properties:
+
+ - compatible : should be "amstaos,tsl2563"
+ - reg : the I2C address of the sensor
+
+Optional properties:
+
+ - amstaos,cover-comp-gain : integer used as multiplier for gain
+ compensation (default = 1)
+
+Example:
+
+tsl2563@29 {
+ compatible = "amstaos,tsl2563";
+ reg = <0x29>;
+ amstaos,cover-comp-gain = <16>;
+};
OpenPOWER on IntegriCloud