[PATCH v2 00/10] thermal: Armada 375/380 SoC support

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Fri Apr 25 18:45:09 PDT 2014


Hello Zhang,

On Apr 25, Jason Cooper wrote:
> On Thu, Apr 24, 2014 at 05:23:14PM -0300, Ezequiel Garcia wrote:
> > This patchset adds the support for the thermal sensor in the recently
> > introduced Armada 375 and 38x SoC. Compared to the previous patchset
> > version, this v2 introduces the A380 SoC support.
> > 
> > The first five patches are preparation work. They add a generic
> > infrastructure that allows to support similar thermal sensors in
> > a non-intrusive way.
> > 
> > Patches six and seven uses this infrastructure to support the 
> > Armada 375 and 380 SoC thermal sensor.
> > 
> > Since there are some issues in the Armada 375 Z1 SoC thermal sensor,
> > patch eight adds a quirk to workaround such issues. The Z1 silicon stepping
> > is detected and the compatible string is updated, so the driver can apply
> > sensor initialization workarounds.
> > 
> > In addition, the quirk moves the offset of the thermal control register,
> > and allows to specifiy the correct (A0 stepping) offset in the devicetree.
> > This quirk is applied only for the A375-DB board, being the only board known
> > to have the problematic Z1 SoC.
> > 
> > Finally, the last two patches enables the thermal sensor in the devicetree.
> > for the Armada 375 A0 stepping SoC, and the Armada 380/385 SoCs.
> > 
> > The series applies on v3.15-rc1, and has been tested on A375-DB board
> > and A385-DB board.
> > 
> > Feedback and comments are welcome!
> > 
> > Changes from v1:
> > 
> >   * Introduced the Armada 380 support. In order to support this in a clean
> >     way, the 'inverted' field was added.
> > 
> >   * Cleaned the A375 workaround in the thermal driver, by detecting the
> >     device compatible string, as suggested by Jason Cooper.
> > 
> >   * Added details about the register offset in the Z1 stepping to the
> >     binding documentation as requested by Jason Cooper.
> > 
> > Ezequiel Garcia (10):
> >   thermal: armada: Rename armada_thermal_ops struct
> >   thermal: armada: Add infrastructure to support generic formulas
> >   thermal: armada: Add generic infrastructure to handle the sensor
> >   thermal: armada: Pass the platform_device to init_sensor()
> >   thermal: armada: Allow to specify an 'inverted readout' sensor
> >   thermal: armada: Support Armada 375 SoC
> >   thermal: armada: Support Armada 380 SoC
> 
> Thermal series:
> 
> Acked-by: Jason Cooper <jason at lakedaemon.net>
> 

Do you have any comments about this?

Thanks!
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list