Staging/iio/adc/touchscreen/MXS: add proper clock handling
authorJuergen Beisert <jbe@pengutronix.de>
Mon, 23 Sep 2013 14:36:00 +0000 (15:36 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 1 Oct 2013 15:19:15 +0000 (16:19 +0100)
commit18da755de59b406ce2371a55fb15ed676eb08ed2
treee0619abb0024d2587328c49eea5e32f82a16fabd
parentdd28e48278eb2ad5b542b4aa36f28e6251451a73
Staging/iio/adc/touchscreen/MXS: add proper clock handling

The delay units inside the LRADC depend on the presence of a 2 kHz clock.
This change enables the clock to be able to use the delay unit for the
touchscreen part of the driver.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Tested-by: Marek Vasut <marex@denx.de>
Acked-by: Marek Vasut <marex@denx.de>
Tested-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
arch/arm/boot/dts/imx23.dtsi
arch/arm/boot/dts/imx28.dtsi
drivers/staging/iio/adc/mxs-lradc.c