mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
989 B
49 lines
989 B
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
|
%YAML 1.2 |
|
--- |
|
$id: http://devicetree.org/schemas/iio/light/adux1020.yaml# |
|
$schema: http://devicetree.org/meta-schemas/core.yaml# |
|
|
|
title: Analog Devices ADUX1020 Photometric sensor |
|
|
|
maintainers: |
|
- Manivannan Sadhasivam <[email protected]> |
|
|
|
description: | |
|
Photometric sensor over an i2c interface. |
|
https://www.analog.com/media/en/technical-documentation/data-sheets/ADUX1020.pdf |
|
|
|
properties: |
|
compatible: |
|
enum: |
|
- adi,adux1020 |
|
|
|
reg: |
|
maxItems: 1 |
|
|
|
interrupts: |
|
maxItems: 1 |
|
|
|
required: |
|
- compatible |
|
- reg |
|
|
|
additionalProperties: false |
|
|
|
examples: |
|
- | |
|
#include <dt-bindings/interrupt-controller/irq.h> |
|
|
|
i2c { |
|
|
|
#address-cells = <1>; |
|
#size-cells = <0>; |
|
|
|
adux1020@64 { |
|
compatible = "adi,adux1020"; |
|
reg = <0x64>; |
|
interrupt-parent = <&msmgpio>; |
|
interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; |
|
}; |
|
}; |
|
...
|
|
|