From: Ludovic Desroches <ludovic.desroches@xxxxxxxxxxxxx> Hi, I am currently writing an input driver for the Atmel Peripheral Touch Controller which is composed of an ADC device and a pico Power Processor (PPP). This latest requires a firmware to compute the data from the ADC device. The firmware is named QTouch Manager (QTM) and is composed of several libraries to manage touch objects such as buttons, sliders, wheels. There is a shared memory area between the Cortex A5 and the PPP. It is called the QTM mailbox. It allows to set the configuration for the firmware and to get data. One requirement is to have a user application which allows tuning all these parameters. This application is also used to create the configuration file that has to be loaded at startup. I am not familiar with the input subsystem. I had a look at other drivers but I am not sure I am on the right track that's why I send this RFC version to get some feedbacks. The firmware is still in development so the driver is not finished yet. You will see some debug stuff and some crap! Patches 2/3 and 3/3 are only informative, this board is a prototype. At the moment, my main concerns are: - the firmware and configuration loading - the sysfs binary file for the user application Thanks for your help. Regards Ludovic Desroches (3): input: misc: introduce Atmel PTC driver ARM: dts: at91: sama5d2: add PTC device ARM: dts: at91: introduce at91-sama5d2_ptc_atqt1-xpro board arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-sama5d2_ptc_atqt1-xpro.dts | 492 +++++++++++++++++ arch/arm/boot/dts/sama5d2.dtsi | 16 + drivers/input/misc/Kconfig | 7 + drivers/input/misc/Makefile | 1 + drivers/input/misc/atmel_ptc.c | 620 ++++++++++++++++++++++ include/uapi/linux/atmel_ptc.h | 360 +++++++++++++ 7 files changed, 1497 insertions(+) create mode 100644 arch/arm/boot/dts/at91-sama5d2_ptc_atqt1-xpro.dts create mode 100644 drivers/input/misc/atmel_ptc.c create mode 100644 include/uapi/linux/atmel_ptc.h -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html