microchip,cap12xx (on i2c bus)

Vendor: Microchip Technology Inc.

Note

An implementation of a driver matching this compatible is available in drivers/input/input_cap12xx.c.

Description

Microchip CAP12xx family of 3, 6 and 8-channel capacitive touch sensors.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

int-gpios

phandle-array

Interrupt GPIO when not using polling mode.

repeat

boolean

Property to enable the interrupt repeat mode for prolonged touch events.

poll-interval-ms

int

Polling interval in ms when not using interrupt mode.

Default value: 10

input-codes

array

Array of input event key codes (INPUT_KEY_* or INPUT_BTN_*).

This property is required.

sensor-gain

int

Defines the gain of the sensor circuitry. This
effectively controls the sensitivity, as a
smaller delta capacitance is required to
generate the same delta count values.

Default value: 1

Legal values: 1, 2, 4, 8

sensitivity-delta-sense

int

Controls the sensitivity multiplier of a touch detection. Higher value means more sensitive settings. At the more sensitive settings, touches are detected for a smaller delta capacitance corresponding to a "lighter" touch.

Default value: 32

Legal values: 1, 2, 4, 8, 16, 32, 64, 128

signal-guard

array

0 - off
1 - on
The signal guard isolates the signal from virtual grounds.
If enabled then the behavior of the channel is changed to signal guard.
The number of entries must correspond to the number of channels.

Default value: [0, 0, 0]

Legal values: 0, 1

calib-sensitivity

array

Specifies an array of numeric values that controls the gain
used by the calibration routine to enable sensor inputs
to be more sensitive for proximity detection.
Gain is based on touch pad capacitance range
1 - 5-50pF
2 - 0-25pF
4 - 0-12.5pF
The number of entries must correspond to the number of channels.

Default value: [1, 1, 1]

Legal values: 1, 2, 4

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.