diff options
author | 2020-10-31 18:48:28 +0000 | |
---|---|---|
committer | 2020-11-22 17:50:02 +0000 | |
commit | 52a04bfbc9f29e42c6a539bfadb27e888f7bfcdc (patch) | |
tree | 6b23d4573572d39c82ca18dd01f14a7c1da3c403 /Documentation/devicetree/bindings/iio/light/uvis25.txt | |
parent | dt-bindings:iio:light:upisemi,us51882: txt to yaml conversion. (diff) | |
download | wireguard-linux-52a04bfbc9f29e42c6a539bfadb27e888f7bfcdc.tar.xz wireguard-linux-52a04bfbc9f29e42c6a539bfadb27e888f7bfcdc.zip |
dt-bindings:iio:light:st,uvis25: txt to yaml conversion for this UV sensor
For the example, node name is uv-sensor because the standard option
of light-sensor seemed a little too generic for this.
This one could have just been moved to trivial-devices.yaml but for now
I have kept it as a separate doc.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Link: https://lore.kernel.org/r/20201031184854.745828-21-jic23@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/iio/light/uvis25.txt')
-rw-r--r-- | Documentation/devicetree/bindings/iio/light/uvis25.txt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Documentation/devicetree/bindings/iio/light/uvis25.txt b/Documentation/devicetree/bindings/iio/light/uvis25.txt deleted file mode 100644 index 043c139d91e6..000000000000 --- a/Documentation/devicetree/bindings/iio/light/uvis25.txt +++ /dev/null @@ -1,22 +0,0 @@ -* ST UVIS25 uv sensor - -Required properties: -- compatible: should be "st,uvis25" -- reg: i2c address of the sensor / spi cs line - -Optional properties: -- interrupts: interrupt mapping for IRQ. It should be configured with - flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or - IRQ_TYPE_EDGE_FALLING. - - Refer to interrupt-controller/interrupts.txt for generic interrupt - client node bindings. - -Example: - -uvis25@47 { - compatible = "st,uvis25"; - reg = <0x47>; - interrupt-parent = <&gpio0>; - interrupts = <0 IRQ_TYPE_EDGE_RISING>; -}; |