From patchwork Mon Jul 1 20:45:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Ebalard X-Patchwork-Id: 2810051 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 649229F3EB for ; Mon, 1 Jul 2013 20:44:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4F2AE20206 for ; Mon, 1 Jul 2013 20:44:54 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2651E20203 for ; Mon, 1 Jul 2013 20:44:53 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Utkxu-00079m-90; Mon, 01 Jul 2013 20:44:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Utkxq-0007gV-LE; Mon, 01 Jul 2013 20:44:46 +0000 Received: from [2a01:e35:139b:9f90:221:70ff:fe55:8f78] (helo=smtp.natisbad.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Utkxn-0007fi-OJ for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2013 20:44:44 +0000 Received: by smtp.natisbad.org (Postfix, from userid 5001) id 8DC452C0577; Mon, 1 Jul 2013 22:44:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1372711461; bh=JoNFXkGTbDbd7qaBm2o9rB7vxcn2SE1/jGW3xAtpFM0=; h=From:To:Cc:Subject:Date; b=EqRUerrSU3ZCMxl2rYGLkuF4MPZsFOAIcQFxp59ZBfYWGLyHge/d0LCyNFA4X8M9l ZgExxPYG6+TBsrNA8IpQfDnej4G45P7dlrdirKEzfiKpaUU8AmRhnEKfI8JoSdTbrz OwHyRP3aqVvLzQ+5BTNdbnHjktG+JVlgWiVrG1TQ= X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from small (localhost [127.0.0.1]) by smtp.natisbad.org (Postfix) with ESMTP id 343D72C0244; Mon, 1 Jul 2013 22:44:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1372711454; bh=JoNFXkGTbDbd7qaBm2o9rB7vxcn2SE1/jGW3xAtpFM0=; h=From:To:Cc:Subject:Date; b=qfPee75RJZ3fqazpZchAsIodc35iyfPOVdr1ozKq9frIv1X7vcjfyTY5aSr0t541Q XPx0yNkU3GhIgXJ95M7uNLtCvksMYbrrIsTvAl+XAxsCLK3WGdfMUgVCG679kF2ItX BF0hdJBm8n1iub5tzSO+Ij8sCdNT3gjqhBonPda0= X-Hashcash: 1:20:130701:jason@lakedaemon.net::N7XCtEl2g8MlaF5Z:000000000000000000000000000000000000000000YU2 X-Hashcash: 1:20:130701:andrew@lunn.ch::zPDBbxGE0QEF+wts:0001fn+ X-Hashcash: 1:20:130701:linux@arm.linux.org.uk::0wxdySrzSrWNbqPG:0000000000000000000000000000000000000008IGE X-Hashcash: 1:20:130701:thomas.petazzoni@free-electrons.com::o6Yyb6xlXC1WVWVw:000000000000000000000000005uWX X-Hashcash: 1:20:130701:linux-arm-kernel@lists.infradead.org::WggKYvezuAaDwUrF:00000000000000000000000002ZnA From: arno@natisbad.org (Arnaud Ebalard) To: Jason Cooper , Andrew Lunn Subject: [PATCH, RESEND] arm: kirkwood: readynas duo v2: Add GMT G762 Fan Controller X-PGP-Key-URL: http://natisbad.org/arno@natisbad.org.asc X-Fingerprint: D3A5 B68A 839B 38A5 815A 781B B77C 0748 A7AE 341B Date: Mon, 01 Jul 2013 22:45:02 +0200 Message-ID: <874nceui0h.fsf@natisbad.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130701_164444_269847_E31AA095 X-CRM114-Status: GOOD ( 12.00 ) X-Spam-Score: -1.2 (-) Cc: Thomas Petazzoni , Russell King , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Now that GMT G762 PWM Fan Controller is available upstream, let's add missing bindings in Netgear ReadyNAS Duo v2 .dts file. Signed-off-by: Arnaud Ebalard --- Hi Jason and Andrew, This one applies and has been tested against Stephen Rothwell tree. Can you make it flow to Linus tree during the merge window? Following Thomas feedback, this is a resend of previous version, this time w/o fixes for bad spaces at the end of the file. Just tell me if I should send a separate one for that purpose. Thanks in advance. Cheers, a+ .../boot/dts/kirkwood-netgear_readynas_duo_v2.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts index ad6ade7..cc43d24 100644 --- a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts +++ b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts @@ -52,6 +52,17 @@ }; }; + clocks { + #address-cells = <1>; + #size-cells = <0>; + + g762_clk: fixedclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <8192>; + }; + }; + i2c@11000 { status = "okay"; @@ -59,6 +70,15 @@ compatible = "ricoh,rs5c372a"; reg = <0x32>; }; + + g762: g762@3e { + compatible = "gmt,g762"; + reg = <0x3e>; + clocks = <&g762_clk>; /* input clock */ + fan_gear_mode = <0>; + fan_startv = <1>; + pwm_polarity = <0>; + }; }; serial@12000 {