[lkml]   [2014]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/8] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan
Presented patches add support for Odroid's U3 optional CPU FAN, which uses PWM
subsystem for low level control.

After successful probe it registers itself as a cooling device for thermal
subsystem. To preserve the ability to use this fan as a PWM device stubs for
thermal_of_cooling_device_register() and thermal_cdev_update() have been added.

Additionally, devices without support for DTS are still supported.

To provide correct functionality, new properties to device tree description for
Exynos4412 and in particular Odroid U3 have been added.

Those patches were tested on Exynos4412 - Odroid U3 board.

Patches were applied on:
linux-soc-thermal/next branch
SHA1: d8c3cd75e77d8033b29470525781befc11b6bf7d

with following preceding patch series:
'thermal: exynos: Thermal code rework to use device tree'

Presented code utilize reworked Exynos thermal subsystem.

Kamil Debski (1):
ARM: dts: Add pwm-fan node to the Odroid-U3 board

Lukasz Majewski (7):
thermal: Provide stub for thermal_of_cooling_device_register()
thermal: Provide stub for thermal_cdev_update() function
hwmon: dts: Doc: Add DTS doc to explain how to use PWM FAN as a
cooling device
hwmon: thermal: dts: Add properties to use pwm-fan device as a cooling
device in Odroid U3
hwmon: thermal: Extract __set_pwm() function to only modify PWM duty
hwmon: thermal: Read PWM FAN configuration from device tree
hwmon: thermal: Code for using PWM FAN as a cooling device

.../devicetree/bindings/hwmon/pwm-fan.txt | 23 +++
arch/arm/boot/dts/exynos4.dtsi | 2 +-
arch/arm/boot/dts/exynos4412-odroidu3.dts | 44 ++++++
drivers/hwmon/pwm-fan.c | 166 +++++++++++++++++++--
include/linux/thermal.h | 20 ++-
5 files changed, 235 insertions(+), 20 deletions(-)


 \ /
  Last update: 2014-12-22 17:41    [W:0.456 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site