[PATCH v4 4/6] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

Maxime Ripard maxime.ripard at free-electrons.com
Mon Sep 18 01:24:02 PDT 2017


On Sat, Sep 16, 2017 at 06:14:08PM +0800, icenowy at aosc.io wrote:
> > The H3 apparently supports IRQs, why do you not support them for the
> > temperature? They might be broken as it is on A33 but then it might be a
> > good idea to write it down in a comment in the driver (and not adding
> > the unused registers in the header file) or at least in the commit log.
> > 
> > 3) Now that you have support for clocks, wouldn't it be a good idea to
> > disable them during suspend?
> 
> Interesting... It's meaningful to disable the mod clock during suspend.

All clocks, actually. And put the device back into reset.

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/ad9e3963/attachment.sig>


More information about the linux-arm-kernel mailing list