[PATCH v4 3/6] iio: adc: sun4i-gpadc-iio: rework code for supporting newer THS variants
From: Maxime Ripard <hidden>
Date: 2017-09-18 07:36:05
Also in:
linux-devicetree, linux-iio, lkml
From: Maxime Ripard <hidden>
Date: 2017-09-18 07:36:05
Also in:
linux-devicetree, linux-iio, lkml
On Thu, Sep 14, 2017 at 10:52:48PM +0800, Icenowy Zheng wrote:
The SoCs after H3 has newer thermal sensor ADCs, which have two clock inputs (bus clock and sampling clock) and a reset. The registers are also re-arranged. This commit reworks the code, adds the process of the clocks and resets, and allows the sampling start/end code and the position of value readout register to be altered. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Please split that into separate commits. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170918/ba964250/attachment.sig>