Skip to content

Integrate linux-imx-kuk/cap1293_gpio_driver

Commit: seco-ne/kernel/linux-imx-kuk@c0c92ee8

arm64:dts:dual-espresso: Add cap1293 touch controller

The led_button lable is now set to the virtual gpio that simulates the behavior of the old at42qt1011 cap. touch sensor. The properties are selected for the dual-espresso board. To remain compatible for devices with the old at42qt1011 sensors, a corresponding overlay is added that can be applied during installation.

BCS 746-001576

--

Commit: seco-ne/kernel/linux-imx-kuk@fecfeae6

drivers:cap11xx-gpio: Add new gpiochip driver for the cap1293 tc

The driver is derived from the input cap11xx.c driver: drivers/input/keyboard/cap11xx.c Instead of providing an input device, the driver registers a gpiochip with a read-only line for each sensor-input. The led handling was kept commented in source so that it can be implemented if required. The driver has so far only been tested with the cap1293 chip.

Additional dt properties: disable-rf-filter: If set disables the RF noise filter delta-sense: Allows to set sensivity for all inputs, the value should be in range 0x00 to 0x07 (see reg 0x1f in datasheet) invert-gpio-output: If set inverts the gpioget output.

BCS 746-001576

Merge request reports

Loading