Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752487AbbBRKI3 (ORCPT ); Wed, 18 Feb 2015 05:08:29 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:41926 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752012AbbBRKIZ (ORCPT ); Wed, 18 Feb 2015 05:08:25 -0500 X-AuditID: cbfee61a-f79c06d000004e71-d1-54e46497cc04 From: Lukasz Majewski To: Eduardo Valentin , Kamil Debski , Jean Delvare , Guenter Roeck , Kukjin Kim Cc: lm-sensors@lm-sensors.org, Linux PM list , "linux-samsung-soc@vger.kernel.org" , devicetree@vger.kernel.org, Lukasz Majewski , Kukjin Kim , linux-kernel@vger.kernel.org, Sjoerd Simons , Abhilash Kesavan , Abhilash Kesavan , Lukasz Majewski Subject: [PATCH v4 0/8] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan Date: Wed, 18 Feb 2015 11:07:28 +0100 Message-id: <1424254056-5904-1-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1418897591-18332-1-git-send-email-l.majewski@samsung.com> References: <1418897591-18332-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsVy+t9jAd3pKU9CDNpvKFg8XrOYyWL+kXOs FvOvXGO1WHr3E5vFj9cX2CzW/FWy6F1wlc2i//FrZos3j7gt3jzczGhxedccNovPvUcYLWac 38dk8WThGSaLO9P2sllMP/6W1UHA4+/z6yweO2fdZffYtKqTzePBxN1sHuumvWX22Pm9gd2j b8sqRo/Np6s9Pm+SC+CM4rJJSc3JLEst0rdL4MrYdLmfteA/b8X9H8eZGxifc3UxcnJICJhI zG1+zgJhi0lcuLeerYuRi0NIYBGjxLoZO9ghnC4mibavaxlBqtgE9CQ+333KBJIQEdjOKLFi 3jewFmaBa8wS+zYfZQKpEhYIk1iw7RpYB4uAqsTxV/+AbA4OXgFXiTdLiyDWKUp0P5vABmJz CrhLzHkOYQsJuEk0/b3EPIGRdwEjwypG0dSC5ILipPRcQ73ixNzi0rx0veT83E2M4KB+JrWD cWWDxSFGAQ5GJR7eht+PQ4RYE8uKK3MPMUpwMCuJ8MbHPwkR4k1JrKxKLcqPLyrNSS0+xCjN waIkzqtk3xYiJJCeWJKanZpakFoEk2Xi4JRqYKzcwMFr9fJzCKPoArdXSlOfG0gs/zMvgPdL mZOfUaSrTdDa/pMmkgp1jVO7efae6/H52nwySUxu6/xHARwGbg2tfLXxq68EqMnPO3zFObzF /V9vk77lQT6rA5LKN7skPv+X/jUpWl5v1zwWEc0Oy58ThPYaJ0rr2cdXLN/h9oCt7sfj2o0+ SizFGYmGWsxFxYkAqUePDmYCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1992 Lines: 49 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 (Linux 3.19-rc5) SHA1: 252454f5cbda2c6b40c5d36f58cac2938437b85d 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() function thermal: Provide stub for thermal_cdev_update() function Documentation: dts: Documentation entry to explain how to use PWM FAN as a cooling device ARM: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3 hwmon: pwm-fan: Extract __set_pwm() function to only modify PWM duty cycle hwmon: pwm-fan: Read PWM FAN configuration from device tree hwmon: pwm-fan: Code for using PWM FAN as a cooling device .../devicetree/bindings/hwmon/pwm-fan.txt | 20 +++ arch/arm/boot/dts/exynos4.dtsi | 2 +- arch/arm/boot/dts/exynos4412-odroidu3.dts | 44 ++++++ drivers/hwmon/pwm-fan.c | 167 +++++++++++++++++++-- include/linux/thermal.h | 22 ++- 5 files changed, 236 insertions(+), 19 deletions(-) -- 2.0.0.rc2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/