1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/proximity/semtech,sx9360.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Semtech's SX9360 capacitive proximity sensor
10 - Gwendal Grignou <gwendal@chromium.org>
11 - Daniel Campello <campello@chromium.org>
14 Semtech's SX9360 proximity sensor.
25 Generated by device to announce preceding read request has finished
26 and data is available or that a close/far proximity event has happened.
30 description: Main power supply
33 description: Host interface power supply
39 $ref: /schemas/types.yaml#/definitions/uint32-array
40 enum: [8, 16, 32, 64, 128, 256, 512, 1024]
42 Capacitance measurement resolution. For both phases, "reference" and
43 "measurement". Higher the number, higher the resolution.
46 semtech,proxraw-strength:
47 $ref: /schemas/types.yaml#/definitions/uint32
52 PROXRAW filter strength for both phases. A value of 0 represents off,
53 and other values represent 1-1/2^N.
55 semtech,avg-pos-strength:
56 $ref: /schemas/types.yaml#/definitions/uint32
57 enum: [0, 16, 64, 128, 256, 512, 1024, 4294967295]
60 Average positive filter strength. A value of 0 represents off and
61 UINT_MAX (4294967295) represents infinite. Other values
64 semtech,input-precharge-resistor-ohms:
70 Pre-charge input resistance in Ohm.
77 additionalProperties: false
81 #include <dt-bindings/interrupt-controller/irq.h>
86 compatible = "semtech,sx9360";
88 interrupt-parent = <&pio>;
89 interrupts = <5 IRQ_TYPE_LEVEL_LOW 5>;
90 vdd-supply = <&pp3300_a>;
91 svdd-supply = <&pp1800_prox>;
92 #io-channel-cells = <1>;
93 semtech,resolution = <256>;
94 semtech,proxraw-strength = <2>;
95 semtech,avg-pos-strength = <64>;
96 semtech,input-precharge-resistor-ohms = <4000>;