Going to look into the touch sensor input on the NXP FRDM boards
I am planning to do support for the TSI on the Freescale/NXP FRDM boards and was wondering if work already has been done in the area.
I found https://github.com/zephyrproject-rtos/zephyr/blob/master/ext/hal/nxp/mcux/drivers/kinetis/fsl_tsi_v4.h but didn't see any tie to existing code, e.g. for the FRDM-KL25Z
Did anyone do anything in the area? If not, I'd like to do it as a sensor driver, but have a few questions:
1. as this is driven by the mcu and the implementation is very specific to the board(s), will it still fit under /drivers/sensor ?
2. mapping the 1D 'distance'/position on the touch slider to a sensor channel, the closest is SENSOR_CHAN_DISTANCE, which (by comment) fits a different purpose. Might it make sense to introduce XYZ enums for position/distance here: