86a5575402
The temperature monitor device is enabled to sample the die temperature at 16hz. The temperature is published via sysctl. A callout routine at 10hz monitors the temperature and throttles back the cpu if the temperature goes over a user-settable throttle point (by default 10C less than the critical high-point temperature for the chip). The hardware is supposed to be able to deliver an interrupt when the temperature exceeds a settable limit, but the interrupt never arrives so for now a callout does the job. At attach time we read the maximum cpu frequency the chip is allowed to run at and the cpu is set to run at that speed. It's reported at attach time. A sysctl variable reports the current speed when queried. New sysctl values: dev.imx6_anatop.0.cpu_mhz: 984 dev.imx6_anatop.0.temperature: 37.9C dev.imx6_anatop.0.throttle_temperature: 95.0C Steven Lawrance did the initial heavy lifting on this, but I changed enough stuff that I'm the one to blame if anything breaks. Submitted by: Steven Lawrance <stl@koffein.net> |
||
---|---|---|
.. | ||
am335x-evm.dts | ||
am335x.dtsi | ||
bcm2835.dtsi | ||
beaglebone-black.dts | ||
beaglebone.dts | ||
beri-netfpga.dts | ||
beri-sim.dts | ||
beripad-de4.dts | ||
bindings-gpio.txt | ||
bindings-localbus.txt | ||
bindings-mpp.txt | ||
cubieboard2.dts | ||
cubieboard.dts | ||
db88f5182.dts | ||
db88f5281.dts | ||
db88f6281.dts | ||
db78100.dts | ||
db78460.dts | ||
digi-ccwmx53.dts | ||
dockstar.dts | ||
dreamplug-1001.dts | ||
dreamplug-1001N.dts | ||
ea3250.dts | ||
efikamx.dts | ||
exynos5250-arndale.dts | ||
exynos5250.dtsi | ||
imx6.dtsi | ||
imx51x.dtsi | ||
imx53-qsb.dts | ||
imx53x.dtsi | ||
mpc8555cds.dts | ||
mpc8572ds.dts | ||
p1020rdb.dts | ||
p2020ds.dts | ||
p2041rdb.dts | ||
p2041si.dtsi | ||
p3041ds.dts | ||
p3041si.dtsi | ||
p5020ds.dts | ||
p5020si.dtsi | ||
pandaboard.dts | ||
rk3188-radxa.dts | ||
rk3188.dtsi | ||
rpi.dts | ||
sheevaplug.dts | ||
tegra20-paz00.dts | ||
tegra20.dtsi | ||
trimslice.dts | ||
ts7800.dts | ||
versatilepb.dts | ||
vybrid-colibri-vf50.dts | ||
vybrid-cosmic.dts | ||
vybrid.dtsi | ||
wandboard-dual.dts | ||
wandboard-quad.dts | ||
wandboard-solo.dts | ||
xlp-basic.dts | ||
zedboard.dts |