Skip to content

RFC Support for tegra30 thermal.

Wei Ni linux-arm-kernel linux-devicetree linux-pm linux-tegra lm-sensors 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ARM: dt: t30 cardhu: add dt entry for lm90arch/arm/boot/dts/tegra30-cardhu.dtsi+7 -02 replies
1/9ARM: dt: t30 cardhu: add dt entry for lm90+0 -00 replies
2/9hwmon: (lm90) split set&show temp as common codesdrivers/hwmon/lm90.c+72 -453 replies
2/9hwmon: (lm90) split set&show temp as common codes+0 -00 replies
2/9hwmon: (lm90) split set&show temp as common codes+0 -00 replies
2/9hwmon: (lm90) split set&show temp as common codes+0 -00 replies
3/9hwmon: (lm90) add support to handle irqdrivers/hwmon/lm90.c+38 -03 replies
3/9hwmon: (lm90) add support to handle irq+0 -00 replies
3/9hwmon: (lm90) add support to handle irq+0 -00 replies
4/9hwmon: (lm90) use macros for the indexes of temp8 and temp11drivers/hwmon/lm90.c+114 -652 replies
4/9hwmon: (lm90) use macros for the indexes of temp8 and temp11+0 -00 replies
4/9hwmon: (lm90) use macros for the indexes of temp8 and temp11+0 -00 replies
5/9Thermal: Support using dt node to get sensordrivers/thermal/thermal_sys.c include/linux/thermal.h+39 -01 reply
5/9Thermal: Support using dt node to get sensor+0 -00 replies
6/9hwmon: (lm90) Register to the thermal frameworkarch/arm/boot/dts/tegra30-cardhu.dtsi drivers/hwmon/lm90.c+182 -13 replies
6/9hwmon: (lm90) Register to the thermal framework+0 -00 replies
6/9hwmon: (lm90) Register to the thermal framework+0 -00 replies
6/9hwmon: (lm90) Register to the thermal framework+0 -00 replies
7/9thermal: tegra30: add tegra30 thermal driverdrivers/thermal/Kconfig drivers/thermal/Makefile drivers/thermal/tegra3_thermal.c+299 -02 replies
7/9thermal: tegra30: add tegra30 thermal driver+0 -00 replies
7/9thermal: tegra30: add tegra30 thermal driver+0 -00 replies
8/9ARM: dt: t30 cardhu: add dt entry for thermal driverDocumentation/devicetree/bindings/thermal/tegra3-thermal.txt arch/arm/boot/dts/tegra30-cardhu.dtsi+60 -02 replies
8/9ARM: dt: t30 cardhu: add dt entry for thermal driver+0 -00 replies
8/9ARM: dt: t30 cardhu: add dt entry for thermal driver+0 -01 reply
9/9ARM: tegra: defconfig: enable thermal frameworkarch/arm/configs/tegra_defconfig+2 -00 replies

Reviews trailers per patch

5 of 25 patches have a Reviewed-by or Acked-by.

PatchAlexandre Courbot
1/9A-b
1/9A-b
2/9
2/9
2/9
2/9
3/9
3/9
3/9
4/9A-b T-b
4/9A-b T-b
4/9A-b T-b
5/9
5/9
6/9
6/9
6/9
6/9
7/9
7/9
7/9
8/9
8/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/9] Support for tegra30 thermal.

This patch series is to add tegra30 thermal driver.
It use new linux thermal framework, which is developing by Durgadoss.

Note:
1. my series are based on the patches:
http://thread.gmane.org/gmane.linux.power-management.general/30692 , which come from Durgadoss.
And the tree is Rui's -next tree.

Next steps:
1. enhance the tegra30 thermal driver, something like handling the irq, setting the sensor limit value.
2. seprate codes to create a new files which is for cooling device, something like tegra3_cooling.c. it will handle dvfs.

Wei Ni (9):
ARM: dt: t30 cardhu: add dt entry for lm90
hwmon: (lm90) split set&show temp as common codes
hwmon: (lm90) add support to handle irq
hwmon: (lm90) use macros for the indexes of temp8 and temp11
Thermal: Support using dt node to get sensor
hwmon: (lm90) Register to the thermal framework
thermal: tegra30: add tegra30 thermal driver
ARM: dt: t30 cardhu: add dt entry for thermal driver
ARM: tegra: defconfig: enable thermal framework

 .../devicetree/bindings/thermal/tegra3-thermal.txt |   41 ++
 arch/arm/boot/dts/tegra30-cardhu.dtsi              |   27 +
 arch/arm/configs/tegra_defconfig                   |    2 +
 drivers/hwmon/lm90.c                               |  514 +++++++++++++++-----
 drivers/thermal/Kconfig                            |    9 +
 drivers/thermal/Makefile                           |    1 +
 drivers/thermal/tegra3_thermal.c                   |  289 +++++++++++
 drivers/thermal/thermal_sys.c                      |   30 ++
 include/linux/thermal.h                            |    9 +
 9 files changed, 812 insertions(+), 110 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/thermal/tegra3-thermal.txt
 create mode 100644 drivers/thermal/tegra3_thermal.c
Signature · 1 line
1.7.9.5