mfd: stmpe: Preparations for STMPE ADC driver
authorStefan Agner <stefan@agner.ch>
Fri, 21 Dec 2018 13:46:32 +0000 (14:46 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 Jan 2019 12:36:12 +0000 (12:36 +0000)
commit6377cfa3b857ced301f2079ac97de6c19057ab65
tree33bf81eee67fb738809c6d4ca8bc9ac3b6e860ab
parent063755ab1d1c1127adc09703185967862584935b
mfd: stmpe: Preparations for STMPE ADC driver

This prepares the MFD for the STMPE ADC driver. This commit introduces
devicetree settings that are used by the ADC and adds an init function.
Common ADC settings that are shared with the touchscreen driver can now
reside in the overlying MFD.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig
drivers/mfd/stmpe.c
include/linux/mfd/stmpe.h