1*6be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*6be33864SEmmanuel Vadot%YAML 1.2 3*6be33864SEmmanuel Vadot--- 4*6be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/proximity/semtech,sx9310.yaml# 5*6be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*6be33864SEmmanuel Vadot 7*6be33864SEmmanuel Vadottitle: Semtech's SX9310 capacitive proximity sensor 8*6be33864SEmmanuel Vadot 9*6be33864SEmmanuel Vadotmaintainers: 10*6be33864SEmmanuel Vadot - Daniel Campello <campello@chromium.org> 11*6be33864SEmmanuel Vadot 12*6be33864SEmmanuel Vadotdescription: | 13*6be33864SEmmanuel Vadot Semtech's SX9310/SX9311 capacitive proximity/button solution. 14*6be33864SEmmanuel Vadot 15*6be33864SEmmanuel Vadot Specifications about the devices can be found at: 16*6be33864SEmmanuel Vadot https://www.semtech.com/products/smart-sensing/sar-sensors/sx9310 17*6be33864SEmmanuel Vadot 18*6be33864SEmmanuel Vadotproperties: 19*6be33864SEmmanuel Vadot compatible: 20*6be33864SEmmanuel Vadot enum: 21*6be33864SEmmanuel Vadot - semtech,sx9310 22*6be33864SEmmanuel Vadot - semtech,sx9311 23*6be33864SEmmanuel Vadot 24*6be33864SEmmanuel Vadot reg: 25*6be33864SEmmanuel Vadot maxItems: 1 26*6be33864SEmmanuel Vadot 27*6be33864SEmmanuel Vadot interrupts: 28*6be33864SEmmanuel Vadot description: 29*6be33864SEmmanuel Vadot The sole interrupt generated by the device used to announce the 30*6be33864SEmmanuel Vadot preceding reading request has finished and that data is 31*6be33864SEmmanuel Vadot available or that a close/far proximity event has happened. 32*6be33864SEmmanuel Vadot maxItems: 1 33*6be33864SEmmanuel Vadot 34*6be33864SEmmanuel Vadot vdd-supply: 35*6be33864SEmmanuel Vadot description: Main power supply 36*6be33864SEmmanuel Vadot 37*6be33864SEmmanuel Vadot svdd-supply: 38*6be33864SEmmanuel Vadot description: Host interface power supply 39*6be33864SEmmanuel Vadot 40*6be33864SEmmanuel Vadot "#io-channel-cells": 41*6be33864SEmmanuel Vadot const: 1 42*6be33864SEmmanuel Vadot 43*6be33864SEmmanuel Vadotrequired: 44*6be33864SEmmanuel Vadot - compatible 45*6be33864SEmmanuel Vadot - reg 46*6be33864SEmmanuel Vadot - "#io-channel-cells" 47*6be33864SEmmanuel Vadot 48*6be33864SEmmanuel VadotadditionalProperties: false 49*6be33864SEmmanuel Vadot 50*6be33864SEmmanuel Vadotexamples: 51*6be33864SEmmanuel Vadot - | 52*6be33864SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 53*6be33864SEmmanuel Vadot i2c { 54*6be33864SEmmanuel Vadot #address-cells = <1>; 55*6be33864SEmmanuel Vadot #size-cells = <0>; 56*6be33864SEmmanuel Vadot proximity@28 { 57*6be33864SEmmanuel Vadot compatible = "semtech,sx9310"; 58*6be33864SEmmanuel Vadot reg = <0x28>; 59*6be33864SEmmanuel Vadot interrupt-parent = <&pio>; 60*6be33864SEmmanuel Vadot interrupts = <5 IRQ_TYPE_LEVEL_LOW 5>; 61*6be33864SEmmanuel Vadot vdd-supply = <&pp3300_a>; 62*6be33864SEmmanuel Vadot svdd-supply = <&pp1800_prox>; 63*6be33864SEmmanuel Vadot #io-channel-cells = <1>; 64*6be33864SEmmanuel Vadot }; 65*6be33864SEmmanuel Vadot }; 66