From patchwork Tue Aug 11 13:14:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 6992281 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A375E9F402 for ; Tue, 11 Aug 2015 13:15:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D57A5205DE for ; Tue, 11 Aug 2015 13:15:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A9D8E205D8 for ; Tue, 11 Aug 2015 13:15:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964835AbbHKNPN (ORCPT ); Tue, 11 Aug 2015 09:15:13 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:43141 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934136AbbHKNPL (ORCPT ); Tue, 11 Aug 2015 09:15:11 -0400 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NSX006IJ659GTC0@mailout4.samsung.com>; Tue, 11 Aug 2015 22:15:09 +0900 (KST) X-AuditID: cbfee61b-f79706d000001b96-27-55c9f55c1d24 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 45.09.07062.C55F9C55; Tue, 11 Aug 2015 22:15:09 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NSX00KPP651O250@mmp1.samsung.com>; Tue, 11 Aug 2015 22:15:08 +0900 (KST) From: Lukasz Majewski To: Eduardo Valentin , Krzysztof Kozlowski , Kukjin Kim , Kukjin Kim Cc: Linux PM list , "linux-samsung-soc@vger.kernel.org" , devicetree@vger.kernel.org, Lukasz Majewski Subject: [PATCH RESEND v6 2/3] ARM: dts: Add pwm-fan node to the Odroid-U3 board Date: Tue, 11 Aug 2015 15:14:59 +0200 Message-id: <1439298899-17645-1-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1425470624-25793-1-git-send-email-l.majewski@samsung.com> References: <1425470624-25793-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFLMWRmVeSWpSXmKPExsVy+t9jAd3YrydDDfZuZbKYf+Qcq8X8K9dY LV6/MLToXXCVzaL/8WtmizePuC0+9x5htJhxfh+TA4fHzll32T02repk81g37S2zR9+WVYwe nzfJBbBGcdmkpOZklqUW6dslcGVs7nItuMxe8WDvV6YGxmVsXYycHBICJhJfb81mhbDFJC7c Ww8U5+IQEljKKDFn021GCOcPo8T7Y9+ZQarYBPQkPt99ygSSEBFYwCgx+/t6ZhCHWWAvo8TB w1fB5goLBEi8XnaYHcRmEVCVOH25F2gUBwevgJvE515jiHWKEt3PJoCVcwq4S1x/1MICYgsB lSw5cIJ5AiPvAkaGVYwSqQXJBcVJ6blGeanlesWJucWleel6yfm5mxjBIfZMegfj4V3uhxgF OBiVeHgFPE+GCrEmlhVX5h5ilOBgVhLh5TgNFOJNSaysSi3Kjy8qzUktPsQozcGiJM6rb7Ip VEggPbEkNTs1tSC1CCbLxMEp1cDofvrH2tl6vb+3fQ+akNS1anOMWEDmBK/bWxfePxFjtv+o 4b6Ha9weKGl5qqtZWz6aU/7Zsy31XVZy0vRWdV2LaMYDuxITbEXfeWn9X3Voy6P2kJ7vE+cL ndoSuI/JP0UqkpN9cf3jgqsuU49bPfTMuNS0Ve3d7/Ni7dNrhD7xhO/+9KhbY6akEktxRqKh FnNRcSIAnYF5xC0CAAA= 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.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 From: Kamil Debski Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the cooling fan. In addition, add the "pwm" label to the pwm@139D0000 node in the exynos4412.dtsi. Signed-off-by: Kamil Debski Signed-off-by: Lukasz Majewski Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index 44684e5..4c04837 100644 --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts @@ -31,6 +31,18 @@ linux,default-trigger = "heartbeat"; }; }; + + pwm-fan { + compatible = "pwm-fan"; + pwms = <&pwm 0 10000 0>; + }; +}; + +&pwm { + pinctrl-0 = <&pwm0_out>; + pinctrl-names = "default"; + samsung,pwm-outputs = <0>; + status = "okay"; }; &usb3503 {