This patch series implements thermal regulation on Orange Pi PC
and Orange Pi One. For that purpose I've taken over the work on THS
of Josef Gajdusek, and cleaned up his patches according to the
previous review on the mailing list.

The patch series also contains:
- Regulator driver for sy8106a I2C connected regulator
- DTS setup for gpio regulator used on Orange Pi One  
- Operating points and thermal zone setup for both SBCs

Fixes/cleanups in the THS driver:
- Return EBUSY until thermal data are available to prevent incorrect
  readings early during boot, which caused critical temperature
  shutdowns.
- Remove unused infrastructure for support of other future SoCs.
  The driver is for sun8i only ATM.
- Make readings quicker (once per 330ms) for faster regulation
  loop.
- Remove some magic numbers from the code, and calculate parameters
  automatically, based on required readout period.  

Enabling frequency scaling lead to kernel crashes/lockups. I revrse
engineered arisc firmware from the BSP kernel to identify how it changes
PLL1 frequency and it uses algorithm that sets clock factors progressively.

This series also includes proposed patch to sunxi clk-factors code,
to allow for more complicated clock factors application algorithms.

regards,
  Ondřej Jirman


-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to