Path: blob/master/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/light/avago,apds9300.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Avago Gesture/RGB/ALS/Proximity sensors78maintainers:9- Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>1011description: |12Datasheet: https://www.avagotech.com/docs/AV02-1077EN13Datasheet: https://www.avagotech.com/docs/AV02-4191EN14Datasheet: https://www.avagotech.com/docs/AV02-4755EN1516properties:17compatible:18enum:19- avago,apds930020- avago,apds930621- avago,apds99602223reg:24maxItems: 12526interrupts:27maxItems: 12829vdd-supply: true3031additionalProperties: false3233required:34- compatible35- reg3637examples:38- |39#include <dt-bindings/interrupt-controller/irq.h>4041i2c {42#address-cells = <1>;43#size-cells = <0>;4445light-sensor@39 {46compatible = "avago,apds9300";47reg = <0x39>;48interrupt-parent = <&gpio2>;49interrupts = <29 IRQ_TYPE_LEVEL_LOW>;50vdd-supply = <®ulator_3v3>;51};52};53...545556