Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758196AbbBFQ70 (ORCPT ); Fri, 6 Feb 2015 11:59:26 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:39741 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754684AbbBFQ7X (ORCPT ); Fri, 6 Feb 2015 11:59:23 -0500 X-AuditID: cbfee61a-f79c06d000004e71-66-54d4f2e96017 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 v3 0/8] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan Date: Fri, 06 Feb 2015 17:59:00 +0100 Message-id: <1423241948-31981-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+NgFrrILMWRmVeSWpSXmKPExsVy+t9jAd2Xn66EGGx9JWXxeM1iJov5R86x Wsy/co3VYundT2wWP15fYLNY81fJonfBVTaL/sevmS3ePOK2ePNwM6PF5V1z2Cw+9x5htJhx fh+TxZOFZ5gs7kzby2Yx/fhbVgcBj7/Pr7N47Jx1l91j06pONo8HE3ezeayb9pbZY+f3BnaP vi2rGD02n672+LxJLoAzissmJTUnsyy1SN8ugSuj7Y9dwX/eioadE9gaGJ9zdTFycEgImEhc 2hbTxcgJZIpJXLi3nq2LkYtDSGARo0TX6VssEE4Xk8SOzxOZQarYBPQkPt99ygSSEBHYziix Yt43sBZmgWvMEvs2H2UCqRIWCJPYfeAdM8gKFgFViZ6pWSBhXgE3iaXr9zNCrFOU6H42gQ3E 5hRwl5jzHMIWAqpp+nuJeQIj7wJGhlWMoqkFyQXFSem5hnrFibnFpXnpesn5uZsYwQH9TGoH 48oGi0OMAhyMSjy8CbxXQoRYE8uKK3MPMUpwMCuJ8PYsBQrxpiRWVqUW5ccXleakFh9ilOZg URLnVbJvCxESSE8sSc1OTS1ILYLJMnFwSjUwrl+o8KDjsdVRbj6eDomKdU5NjxXrJH6oVkzi kav+8SiTM6kuSDP80eFpzw/q39hz5r6mw5zuetWPF6UzGHQVWWv5DRa0JM9g0e+yTs+Kv2y/ LPChWHru/d2r0xMklwUq5f6cMcFuue9BybdlJW5W33Innr3z5eo5fn7dbtUJO6crev00t96v xFKckWioxVxUnAgALS3qJ2QCAAA= 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 | 171 +++++++++++++++++++-- include/linux/thermal.h | 22 ++- 5 files changed, 239 insertions(+), 20 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/