Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml
26309 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/iio/light/dynaimage,al3010.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Dyna-Image AL3000a/AL3010 sensor
8
9
maintainers:
10
- David Heidelberg <david@ixit.cz>
11
12
properties:
13
compatible:
14
enum:
15
- dynaimage,al3000a
16
- dynaimage,al3010
17
18
reg:
19
maxItems: 1
20
21
interrupts:
22
maxItems: 1
23
24
vdd-supply:
25
description: Regulator that provides power to the sensor
26
27
required:
28
- compatible
29
- reg
30
31
additionalProperties: false
32
33
examples:
34
- |
35
#include <dt-bindings/interrupt-controller/irq.h>
36
37
i2c {
38
#address-cells = <1>;
39
#size-cells = <0>;
40
41
light-sensor@1c {
42
compatible = "dynaimage,al3010";
43
reg = <0x1c>;
44
vdd-supply = <&vdd_reg>;
45
interrupts = <0 99 4>;
46
};
47
};
48
49