From patchwork Tue Feb 16 07:17:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 8322171 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-renesas-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 9AA86C02AA for ; Tue, 16 Feb 2016 07:16:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F0C8F202EC for ; Tue, 16 Feb 2016 07:16:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3FA71202BE for ; Tue, 16 Feb 2016 07:16:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754163AbcBPHPP (ORCPT ); Tue, 16 Feb 2016 02:15:15 -0500 Received: from mail-pf0-f172.google.com ([209.85.192.172]:36168 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753466AbcBPHPM (ORCPT ); Tue, 16 Feb 2016 02:15:12 -0500 Received: by mail-pf0-f172.google.com with SMTP id e127so100323826pfe.3; Mon, 15 Feb 2016 23:15:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=Nj/7cwebGVHRIGzER6aX5vfyhUqDz1NSepHDFuaWEsk=; b=s0lwjrQ61S9DXVWtcCySC4+gi9GQKrfWk60kE9D2pu8o9YDLC67rnv1yHSCPDQ9blt i2DMowWHvHWxZPeD65WNzoSo1+Cf+mhtt709RFh5hGp5tWzPc+RstUEtsIVgQ5YF7lvt 79kqLIeADsaw/Rd/FapbFLWMRX1c2GVhozW9QYV1FQzV9kSsBfM+8ici1BCScQVzjjEP 2PKjBVFjY3mRrZcnwbBgvlxLLhq7E8RCCWBjdiYUBKoI/8B7SwZe3HAilOtKAMYUxNbo JUGBxa8GjSbGMxOBluLypLGdJWD9PdnGvM7xrUcpYWlvOvckKbMbtbspxEomy8Iul7jv b8+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=Nj/7cwebGVHRIGzER6aX5vfyhUqDz1NSepHDFuaWEsk=; b=LOK26NiP0gjqIZQOxOcuV4zv/gOPtG6zQfVMBX7AzTeqInp1OJDs3YFP/oDaBbgpBW kO+rMOt3iZ+x7fYaWeovdSQtib87rQ5kH7ssaSaQ0vGUAq33dWriwFpLBpaNt4OBuBJw PSANdAKJ+IZ6thvrcnm0ObJ7FW8MOr0tMPndmhfoo9VdrS3M1qRED+gr4BwNqh3+Mliv E+FywNEfPHss0uUueU0yCweskx8rIKYcqmRITh3NuuQZA0rsqm7rDxUqBfp7X0NDtzyl 4YEqteBo5VSqG8ZHTj/GjTWWnP0aWAA7esJVXwTST+DgaiZzM82gC32rB7glSXaWP7wH w/cA== X-Gm-Message-State: AG10YOTf8J6UEYRUEK9kCRegU5noD32sUSbxL0ZIVdkjcaLolNF6g1NTF4SXtCaZHiM/lg== X-Received: by 10.98.33.70 with SMTP id h67mr28666809pfh.54.1455606911726; Mon, 15 Feb 2016 23:15:11 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id e14sm43201346pap.24.2016.02.15.23.15.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Feb 2016 23:15:10 -0800 (PST) From: Magnus Damm To: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, robh@kernel.org, daniel.lezcano@linaro.org, linux-renesas-soc@vger.kernel.org, horms+renesas@verge.net.au, Magnus Damm , tglx@linutronix.de Date: Tue, 16 Feb 2016 16:17:59 +0900 Message-Id: <20160216071759.25461.53185.sendpatchset@little-apple> In-Reply-To: <20160216071722.25461.61862.sendpatchset@little-apple> References: <20160216071722.25461.61862.sendpatchset@little-apple> Subject: [PATCH v3 04/06] devicetree: bindings: Deprecate property, update example Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 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=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: Magnus Damm Deprecate "renesas,channels-mask" and update the r8a7790 CMT example. Signed-off-by: Magnus Damm Acked-by: Geert Uytterhoeven Acked-by: Laurent Pinchart Acked-by: Rob Herring Acked-by: Simon Horman --- Changes since V2: - Added Acked-by from Rob - Removed Tested-by tag from DT binding patch - duh! Changes since V1: - Added Acked-by and Tested-by from Geert - Added Acked-by from Laurent Documentation/devicetree/bindings/timer/renesas,cmt.txt | 24 ++++++++++----- 1 file changed, 17 insertions(+), 7 deletions(-) --- 0009/Documentation/devicetree/bindings/timer/renesas,cmt.txt +++ work/Documentation/devicetree/bindings/timer/renesas,cmt.txt 2015-09-17 17:39:47.080513000 +0900 @@ -60,21 +60,31 @@ Required Properties: in clock-names. - clock-names: must contain "fck" for the functional clock. - - renesas,channels-mask: bitmask of the available channels. + - renesas,channels-mask: , information kept in device driver. -Example: R8A7790 (R-Car H2) CMT0 node - - CMT0 on R8A7790 implements hardware channels 5 and 6 only and names - them channels 0 and 1 in the documentation. +Example: R8A7790 (R-Car H2) CMT0 and CMT1 nodes cmt0: timer@ffca0000 { - compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2"; + compatible = "renesas,cmt0-r8a7790", "renesas,cmt0-rcar-gen2"; reg = <0 0xffca0000 0 0x1004>; interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>, <0 142 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp1_clks R8A7790_CLK_CMT0>; clock-names = "fck"; + }; - renesas,channels-mask = <0x60>; + cmt1: timer@e6130000 { + compatible = "renesas,cmt1-r8a7790", "renesas,cmt1-rcar-gen2"; + reg = <0 0xe6130000 0 0x1004>; + interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>, + <0 121 IRQ_TYPE_LEVEL_HIGH>, + <0 122 IRQ_TYPE_LEVEL_HIGH>, + <0 123 IRQ_TYPE_LEVEL_HIGH>, + <0 124 IRQ_TYPE_LEVEL_HIGH>, + <0 125 IRQ_TYPE_LEVEL_HIGH>, + <0 126 IRQ_TYPE_LEVEL_HIGH>, + <0 127 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp3_clks R8A7790_CLK_CMT1>; + clock-names = "fck"; };