Open lfelten opened 1 day ago
Also check the CI failure
devicetree error: 'channels' is marked as required in 'properties:' in /__w/zephyr/zephyr/dts/bindings/input/microchip,cap12xx.yaml, but does not appear in <Node /test/i2c@1/cap12xx@3 in '/__w/zephyr/zephyr/misc/empty_file.c'>
The Microchip CAP12xx series are available in 3, 6 or 8 channel versions. This requires existing device trees to add the node property 'channels'.
This patch adds support for CAP1206 or CAP1208 in addition to CAP1203. Support for a CAP1214 14 channel version can be added but requires multiple changes to the driver, mostly because the fourteen bits are spread across two registers.
The driver supports polling mode and interrupt mode. The driver was tested with a TTGO T8S3 and a CAP1206 in interrupt and polling mode.
I have two spare test PCBs with CAP1206 available, if someone is interested.