Path: blob/master/Documentation/devicetree/bindings/iio/light/ams,as73211.yaml
26309 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/light/ams,as73211.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: AMS AS73211 JENCOLOR(R) Digital XYZ Sensor and AMS AS7331 UV Sensor78maintainers:9- Christian Eggers <ceggers@arri.de>1011description: |12AMS AS73211 XYZ True Color Sensor with I2C Interface13https://ams.com/documents/20143/36005/AS73211_DS000556_3-01.pdf/a65474c0-b302-c2fd-e30a-c98df87616df14AMS AS7331 UVA, UVB and UVC Sensor with I2C Interface15https://ams.com/documents/20143/9106314/AS7331_DS001047_4-00.pdf1617properties:18compatible:19enum:20- ams,as7321121- ams,as73312223reg:24description:25I2C address of the device (0x74...0x77).26maxItems: 12728interrupts:29description:30Interrupt specifier for the READY interrupt generated by the device.31maxItems: 13233required:34- compatible35- reg3637additionalProperties: false3839examples:40- |41#include <dt-bindings/interrupt-controller/irq.h>4243i2c {44#address-cells = <1>;45#size-cells = <0>;4647as73211@74 {48compatible = "ams,as73211";49reg = <0x74>;50pinctrl-names = "default";51pinctrl-0 = <&pinctrl_color_sensor>;52interrupt-parent = <&gpio2>;53interrupts = <19 IRQ_TYPE_EDGE_RISING>; /* READY */54};55};56...575859