1 Device tree bindings for Microchip CAP11xx based capacitive touch sensors
3 The node for this device must be a child of a I2C controller node, as the
4 device communication via I2C only.
8 compatible: Must contain one of:
13 reg: The I2C slave address of the device.
15 interrupts: Property describing the interrupt line the
16 device's ALERT#/CM_IRQ# pin is connected to.
17 The device only has one interrupt source.
21 autorepeat: Enables the Linux input system's autorepeat
22 feature on the input device.
24 microchip,sensor-gain: Defines the gain of the sensor circuitry. This
25 effectively controls the sensitivity, as a
26 smaller delta capacitance is required to
27 generate the same delta count values.
28 Valid values are 1, 2, 4, and 8.
29 By default, a gain of 1 is set.
31 microchip,irq-active-high: By default the interrupt pin is active low
32 open drain. This property allows using the active
33 high push-pull output.
35 linux,keycodes: Specifies an array of numeric keycode values to
36 be used for the channels. If this property is
37 omitted, KEY_A, KEY_B, etc are used as
38 defaults. The array must have exactly six
45 compatible = "microchip,cap1106";
46 interrupt-parent = <&gpio1>;
50 microchip,sensor-gain = <2>;
52 linux,keycodes = <103>, /* KEY_UP */
53 <106>, /* KEY_RIGHT */
56 <109>, /* KEY_PAGEDOWN */
57 <104>; /* KEY_PAGEUP */