Add snapshot of device tree bindings from keystone common kernel, branch "android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065 from e32903b9a63bb558df8b803b076619c53c16baad to android-mainline-keystone-qcom-release"). Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
50 lines
986 B
YAML
50 lines
986 B
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/light/liteon,ltrf216a.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: LTRF216A Ambient Light Sensor
|
|
|
|
maintainers:
|
|
- Shreeya Patel <shreeya.patel@collabora.com>
|
|
|
|
description:
|
|
Ambient light sensing with an i2c interface.
|
|
|
|
properties:
|
|
compatible:
|
|
const: liteon,ltrf216a
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
vdd-supply:
|
|
description: Regulator that provides power to the sensor.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
light-sensor@53 {
|
|
compatible = "liteon,ltrf216a";
|
|
reg = <0x53>;
|
|
vdd-supply = <&vdd_regulator>;
|
|
interrupt-parent = <&gpio0>;
|
|
interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
|
|
};
|
|
};
|