46 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/iio/light/bh1750.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ROHM BH1750 ambient light sensor8 9maintainers:10 - Tomasz Duszynski <tduszyns@gmail.com>11 12description: |13 Ambient light sensor with an i2c interface.14 15properties:16 compatible:17 enum:18 - rohm,bh171019 - rohm,bh171520 - rohm,bh172121 - rohm,bh175022 - rohm,bh175123 24 reg:25 maxItems: 126 27required:28 - compatible29 - reg30 31additionalProperties: false32 33examples:34 - |35 i2c {36 #address-cells = <1>;37 #size-cells = <0>;38 39 light-sensor@23 {40 compatible = "rohm,bh1750";41 reg = <0x23>;42 };43 };44 45...46