1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mfd/iqs62x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Azoteq IQS620A/621/622/624/625 Multi-Function Sensors
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
14 integrate multiple sensing technologies in a single package.
16 Link to datasheets: https://www.azoteq.com/
34 $ref: /schemas/types.yaml#/definitions/string
36 Specifies the name of the calibration and configuration file selected by
37 the driver. If this property is omitted, the name is chosen based on the
38 device name with ".bin" as the extension (e.g. iqs620a.bin for IQS620A).
41 $ref: ../input/iqs62x-keys.yaml
44 $ref: ../pwm/iqs620a-pwm.yaml
51 additionalProperties: false
56 * Dual capacitive buttons with proximity-activated function, unipolar lid
57 * switch and panel-mounted LED.
59 #include <dt-bindings/input/input.h>
60 #include <dt-bindings/interrupt-controller/irq.h>
67 compatible = "azoteq,iqs620a";
69 interrupt-parent = <&gpio>;
70 interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
73 compatible = "azoteq,iqs620a-keys";
75 linux,keycodes = <KEY_SELECT>,
81 linux,code = <SW_LID>;
87 compatible = "azoteq,iqs620a-pwm";
94 compatible = "pwm-leds";
97 pwms = <&iqs620a_pwm 0 1000000>;
98 max-brightness = <255>;
103 /* Single inductive button with bipolar dock/tablet-mode switch. */
104 #include <dt-bindings/input/input.h>
105 #include <dt-bindings/interrupt-controller/irq.h>
108 #address-cells = <1>;
112 compatible = "azoteq,iqs620a";
114 interrupt-parent = <&gpio>;
115 interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
117 firmware-name = "iqs620a_coil.bin";
120 compatible = "azoteq,iqs620a-keys";
122 linux,keycodes = <0>,
131 linux,code = <SW_DOCK>;
135 linux,code = <SW_TABLET_MODE>;
142 /* Dual capacitive buttons with volume knob. */
143 #include <dt-bindings/input/input.h>
144 #include <dt-bindings/interrupt-controller/irq.h>
147 #address-cells = <1>;
151 compatible = "azoteq,iqs624";
153 interrupt-parent = <&gpio>;
154 interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
157 compatible = "azoteq,iqs624-keys";
159 linux,keycodes = <BTN_0>,