Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753434AbbDHHrD (ORCPT ); Wed, 8 Apr 2015 03:47:03 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:60350 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751300AbbDHHq7 (ORCPT ); Wed, 8 Apr 2015 03:46:59 -0400 X-AuditID: cbfee61a-f79516d000006302-4e-5524dcee8961 Date: Wed, 08 Apr 2015 09:46:48 +0200 From: Lukasz Majewski To: Anand Moon Cc: Eduardo Valentin , Sjoerd Simons , Russell King , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH 1/6] ARM: dts :exynos5422-odroidxu3 Add pwm-fan node to the Odroid-XU3 board. Message-id: <20150408094648.337d3f0c@amdc2363> In-reply-to: <1427387955-5129-2-git-send-email-linux.amoon@gmail.com> References: <1427387955-5129-1-git-send-email-linux.amoon@gmail.com> <1427387955-5129-2-git-send-email-linux.amoon@gmail.com> Organization: SPRC Poland X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJLMWRmVeSWpSXmKPExsVy+t9jAd13d1RCDZ69ELSYf+Qcq8X8K9dY Lfofv2a22PQYyLq8aw6bxd27qxgtZpzfx2SxbuMtdovbl3ktph9/y+rA5dHS3MPm8ff5dRaP nbPusntsWtXJ5rF5Sb3H501yAWxRXDYpqTmZZalF+nYJXBlbH5xgLNjIWbFhUiNLA+Ma9i5G Tg4JAROJr2/XsEDYYhIX7q1nA7GFBBYxSpycn97FyAVkv2GU+H9wI1gRi4CqxMsFd5lAbDYB PYnPd5+C2SICahJXnq5gBWlgFjjOJHHq5z5mkISwQLJEy4sbYDYvUMOCPZfANnAKuEosXDkJ aCgH0IZ6iZ19kiBhfgFJifZ/P5ghDrKTOPdpAztEq6DEj8n3wG5gFtCS2LytiRXClpfYvOYt 8wRGwVlIymYhKZuFpGwBI/MqRtHUguSC4qT0XEO94sTc4tK8dL3k/NxNjOAIeSa1g3Flg8Uh RgEORiUeXoHFKqFCrIllxZW5hxglOJiVRHhFbwCFeFMSK6tSi/Lji0pzUosPMUpzsCiJ887R lQsVEkhPLEnNTk0tSC2CyTJxcEo1MJ4oX/ooR8HNtPVtyLQnT8y2Pb5WolGhZzdxs4tEyBKr oKIyWy7l5n/X+P76xkpzRtWUvfsblFfys26Nyb92xR+dPO+FVR8e6XFklthVtXt26fItn6+a HM4X1FF/EVbz/lHlq0VTmsQfr3MIFPmk9vZLTfsezuuXpE2PCHQ7JSfu1e1k4sjpU2Ipzkg0 1GIuKk4EAGFbdCyMAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1395 Lines: 56 Hi Anand, > Add pwm-fan node to the OdroidXU3 board. > > Tested on OdroidXU3 board. > > Signed-off-by: Anand Moon > --- > arch/arm/boot/dts/exynos5422-odroidxu3.dts | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts > b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index a519c86..eaec006 > 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts > +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts > @@ -278,6 +278,15 @@ > rtc@101E0000 { > status = "okay"; > }; > + > + 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 90 130 170 230>; > + }; > }; > > &hdmi { > @@ -369,3 +378,10 @@ > shunt-resistor = <10000>; > }; > }; > + > +&pwm { > + pinctrl-0 = <&pwm0_out>; > + pinctrl-names = "default"; > + samsung,pwm-outputs = <0>; > + status = "okay"; > +}; Acked-by: Lukasz Majewski -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group -- 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/