1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/light/dynaimage,al3010.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Dyna-Image AL3010 sensor 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - David Heidelberg <david@ixit.cz> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotproperties: 13c66ec88fSEmmanuel Vadot compatible: 14c66ec88fSEmmanuel Vadot const: dynaimage,al3010 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadot reg: 17c66ec88fSEmmanuel Vadot maxItems: 1 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadot interrupts: 20c66ec88fSEmmanuel Vadot maxItems: 1 21c66ec88fSEmmanuel Vadot 22c66ec88fSEmmanuel Vadot vdd-supply: 23c66ec88fSEmmanuel Vadot description: Regulator that provides power to the sensor 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel Vadotrequired: 26c66ec88fSEmmanuel Vadot - compatible 27c66ec88fSEmmanuel Vadot - reg 28c66ec88fSEmmanuel Vadot 29*6be33864SEmmanuel VadotadditionalProperties: false 30*6be33864SEmmanuel Vadot 31c66ec88fSEmmanuel Vadotexamples: 32c66ec88fSEmmanuel Vadot - | 33c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadot i2c { 36c66ec88fSEmmanuel Vadot #address-cells = <1>; 37c66ec88fSEmmanuel Vadot #size-cells = <0>; 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot light-sensor@1c { 40c66ec88fSEmmanuel Vadot compatible = "dynaimage,al3010"; 41c66ec88fSEmmanuel Vadot reg = <0x1c>; 42c66ec88fSEmmanuel Vadot vdd-supply = <&vdd_reg>; 43c66ec88fSEmmanuel Vadot interrupts = <0 99 4>; 44c66ec88fSEmmanuel Vadot }; 45c66ec88fSEmmanuel Vadot }; 46