From patchwork Mon Jun 15 02:53:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 6605761 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1CB7BC0020 for ; Mon, 15 Jun 2015 02:53:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D0A420562 for ; Mon, 15 Jun 2015 02:53:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 617E5205DA for ; Mon, 15 Jun 2015 02:53:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752630AbbFOCxi (ORCPT ); Sun, 14 Jun 2015 22:53:38 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:35866 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753103AbbFOCxh (ORCPT ); Sun, 14 Jun 2015 22:53:37 -0400 Received: by pabqy3 with SMTP id qy3so56032898pab.3; Sun, 14 Jun 2015 19:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ddcLeSZYpr/4zxRTqZ+pEfPk0323vQQpsX6z/tk++Pw=; b=nFsXuM5S1HoCH7HcKKq65D6StXjEAy8X+nTt1ZrcwGs3vwC5A+JGT0zuNFYT2hwBAy zYcLLuSQpyTYGaBS++gg/HUBDBM3sddqPYnutNX1uRD/6fSstWQ2Kx4wAUxB9VDF02mb 5aoEIohu2N/ROtZiZpWDscyDsCVHXUtUjv5WFdQpAhaEUGMFO7XMmp51uydqvVdLnmzF GsvRgSwLCFFVgXqYv52QknAEOrgSuI3RUJ5hcvTDFY2Sh6N3KMQSVpaFPi+Vs7hYIYZH +PN4UslXIPGlhtDtyhSTA7bvFZptoSWLGfchk2SzkkE7M3GBoxLrpEB7moxu4SBr+rVY EA9g== X-Received: by 10.68.98.133 with SMTP id ei5mr44148692pbb.51.1434336817153; Sun, 14 Jun 2015 19:53:37 -0700 (PDT) Received: from localhost.localdomain ([115.117.45.10]) by mx.google.com with ESMTPSA id oa3sm10413211pbb.23.2015.06.14.19.53.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 Jun 2015 19:53:35 -0700 (PDT) From: Anand Moon To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Kukjin Kim , Krzysztof Kozlowski , Markus Reichl Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Anand Moon Subject: [PATCHv7 1/4] ARM: dts: exynos5422-odroidxu3: Add pwm-fan node Date: Mon, 15 Jun 2015 12:23:20 +0930 Message-Id: <1434336803-4132-1-git-send-email-linux.amoon@gmail.com> X-Mailer: git-send-email 2.4.3 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add pwm-fan node to the Odroid-XU3 board. Signed-off-by: Anand Moon Tested-by: Markus Reichl Acked-by: Lukasz Majewski Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 8adf455..17e6a9a 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -107,6 +107,15 @@ clocks = <&i2s0 CLK_I2S_CDCLK>; }; }; + + fan0: pwm-fan { + compatible = "pwm-fan"; + pwms = <&pwm 0 20972 0>; + cooling-min-state = <0>; + cooling-max-state = <3>; + #cooling-cells = <2>; + cooling-levels = <0 130 170 230>; + }; }; &clock_audss { @@ -461,6 +470,7 @@ */ pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>; pinctrl-names = "default"; + samsung,pwm-outputs = <0>; status = "okay"; };