Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3997820ybl; Tue, 20 Aug 2019 05:36:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwsz8xdLbJuSf0Oz5ZjRKaXBfPsZmCchp8oq2dwjvdm/LjQ4NCGlrAzwSGUIIadnQjZbhRj X-Received: by 2002:aa7:9682:: with SMTP id f2mr29537125pfk.256.1566304605777; Tue, 20 Aug 2019 05:36:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566304605; cv=none; d=google.com; s=arc-20160816; b=OK0C4kV6FHaA1pL2KXZPUNhY7ORYi3sVAMbDB4RpvKWRJEUWZgFg4tXimKUI8de1YX wt3AZ2pf06I1DGpl2VxLcR/ANwr7UMu0KAuQb9yi7vVtftd2hczIFxRJCQ9flbTw80Yc iH7Qu8+kzq61peZY9FjCT+5VaFoElm1SAMOi5w6PMmmJ9C24R7wz8Ey32z51VVo+skLp k721N6j0OLRqPSCX4mG1iXO37CdD8cloj7X7kD3M9ui9JNywYh2eXG2JCBLbyR9oNPm2 Bc997qL1DZi6rh1mnobRVwXXwruCyAuMiXmxvuHH4LoDof5zY0kSOfwAza/31eyDUFru jX9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:references:in-reply-to:message-id :date:cc:to:from:dkim-signature; bh=8oA63snBNV/Bkd2YgxYNdAqVER+7qy7bykyIGizRM1o=; b=dWjKStJC2k2L54CFqrZJzHnNhzcYCLGaTp0TnVouO1UqT/T4OdrVJP4alJEzA7VTYF UMivyQMBt4GrD3HGvcO01L7HJsmF23CynGyNwNp70p3PxSHb597TYtuUz4RuS4lcKfy+ hOXxN7JB17077ZKM921aYFUiNRng9GZ1t9ABOXjWYb4WalSQqICBs/mz4wuZAezclXdD ylv/lTcwHdWVFA6Uv0eaQuNwSI1T10XYad0wxeyhso1B2yemYLGn5w7NY81FyC4fa94B omLbW7kvKDpVd+yWPzOD4FqXLe0R/S/aycwoAx1aoJbaORJzAj0F+dQK+mtdCFaFnsii DEeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=GMfp5wAl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si12434481plx.417.2019.08.20.05.36.30; Tue, 20 Aug 2019 05:36:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=GMfp5wAl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729966AbfHTMeJ (ORCPT + 99 others); Tue, 20 Aug 2019 08:34:09 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:34279 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728366AbfHTMeI (ORCPT ); Tue, 20 Aug 2019 08:34:08 -0400 Received: by mail-pf1-f196.google.com with SMTP id b24so3322764pfp.1; Tue, 20 Aug 2019 05:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=8oA63snBNV/Bkd2YgxYNdAqVER+7qy7bykyIGizRM1o=; b=GMfp5wAlSvjY+4Z6ww9ftI1o5kNGBET8O9vkKcZ57Ls5ay+Ydg3AMNxJRjaD7aNfQY brX/6EWkcMWAv04zJCl9JELIUiKpq+3Y8Sitfyly45AhElOVvpW41MnT11Qw5u5gnnAK VLvhZ0u4k/wArBuU8Dev9ByzPKL86C1Laz+lVn+Z+Iqucp8bE50a7K08otZLSonLvOL+ a+eqkEM67wCcRQ95lm75SqntzeY+durTNVm0xjH6wMmu9lV0EvIgp9yKHZK5skxI0GNG OFRJuDC8CsVGFB2aC/hoGEF63+wIwtWC6YKd1uLVLPjm8ZauCodRZSfSHaXd7XgORgdy X2xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=8oA63snBNV/Bkd2YgxYNdAqVER+7qy7bykyIGizRM1o=; b=d3weRaljrdTpiVFTX7EXX057YrEldZd+6nUyfLfxLr5ZhwVB/rFrYNRSK0aWBIskYG WdRDaAyRQjVhT1fHHLCPVPvfCQ8NZtASQVjGr0FvIR9h4m9y4Zbl4hR+3O5l9zdJ72I/ GHYb36RM348ZbvLzrM0FS8w9gHgWsQiyVJNxU3anTSghRhj5bCr7mdpZUi9mA9rqkDER AyZEcaaxdU+HqUU7XnxwmUW3A25HlmV/cAmAo52hLeHmPISJakpmO2sEdoryq9wjM44W +ta8ktZgwEvU3K9RIJ2fxgkJfwA1DAtNDtCe9AKcGpkLj+O63DMR/fxU5JAN6gOWbtQa oaWQ== X-Gm-Message-State: APjAAAWt0gAgohCbCJiT21beCoTYMNE7U/MucGLC+Zd0l+AXFA/gplr/ igNLKlhcU3QmJfqc8P08QcAhUQKc X-Received: by 2002:a65:68c8:: with SMTP id k8mr24242054pgt.192.1566304447287; Tue, 20 Aug 2019 05:34:07 -0700 (PDT) Received: from [127.0.0.1] (l193216.ppp.asahi-net.or.jp. [218.219.193.216]) by smtp.gmail.com with ESMTPSA id e66sm19797874pfe.142.2019.08.20.05.34.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Aug 2019 05:34:06 -0700 (PDT) From: Magnus Damm To: linux-kernel@vger.kernel.org Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, geert+renesas@glider.be, daniel.lezcano@linaro.org, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, horms+renesas@verge.net.au, Magnus Damm , tglx@linutronix.de Date: Tue, 20 Aug 2019 21:35:46 +0900 Message-Id: <156630454613.17444.12802355338071222783.sendpatchset@octo> In-Reply-To: <156630449239.17444.11157306180861080402.sendpatchset@octo> References: <156630449239.17444.11157306180861080402.sendpatchset@octo> Subject: [PATCH v2 5/7] dt-bindings: timer: renesas, cmt: Update R-Car Gen3 CMT1 usage Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Magnus Damm The R-Car Gen3 SoCs so far come with a total for 4 on-chip CMT devices: - CMT0 - CMT1 - CMT2 - CMT3 CMT0 includes two rather basic 32-bit timer channels. The rest of the on-chip CMT devices support 48-bit counters and have 8 channels each. Based on the data sheet information "CMT2/3 are exactly same as CMT1" it seems that CMT2 and CMT3 now use the CMT1 compat string in the DTSI. Clarify this in the DT binding documentation by describing R-Car Gen3 and RZ/G2 CMT1 as "48-bit CMT devices". Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven Reviewed-by: Rob Herring Reviewed-by: Simon Horman --- Changes since last version: - Use "devices" for fallback entry - thanks Geert! - Keen to Gen3 so removed out-of-scope Gen2 portions Documentation/devicetree/bindings/timer/renesas,cmt.txt | 20 +++++++-------- 1 file changed, 10 insertions(+), 10 deletions(-) --- 0008/Documentation/devicetree/bindings/timer/renesas,cmt.txt +++ work/Documentation/devicetree/bindings/timer/renesas,cmt.txt 2019-07-18 19:24:05.195643742 +0900 @@ -28,9 +28,9 @@ Required Properties: - "renesas,r8a77470-cmt0" for the 32-bit CMT0 device included in r8a77470. - "renesas,r8a77470-cmt1" for the 48-bit CMT1 device included in r8a77470. - "renesas,r8a774a1-cmt0" for the 32-bit CMT0 device included in r8a774a1. - - "renesas,r8a774a1-cmt1" for the 48-bit CMT1 device included in r8a774a1. + - "renesas,r8a774a1-cmt1" for the 48-bit CMT devices included in r8a774a1. - "renesas,r8a774c0-cmt0" for the 32-bit CMT0 device included in r8a774c0. - - "renesas,r8a774c0-cmt1" for the 48-bit CMT1 device included in r8a774c0. + - "renesas,r8a774c0-cmt1" for the 48-bit CMT devices included in r8a774c0. - "renesas,r8a7790-cmt0" for the 32-bit CMT0 device included in r8a7790. - "renesas,r8a7790-cmt1" for the 48-bit CMT1 device included in r8a7790. - "renesas,r8a7791-cmt0" for the 32-bit CMT0 device included in r8a7791. @@ -42,19 +42,19 @@ Required Properties: - "renesas,r8a7794-cmt0" for the 32-bit CMT0 device included in r8a7794. - "renesas,r8a7794-cmt1" for the 48-bit CMT1 device included in r8a7794. - "renesas,r8a7795-cmt0" for the 32-bit CMT0 device included in r8a7795. - - "renesas,r8a7795-cmt1" for the 48-bit CMT1 device included in r8a7795. + - "renesas,r8a7795-cmt1" for the 48-bit CMT devices included in r8a7795. - "renesas,r8a7796-cmt0" for the 32-bit CMT0 device included in r8a7796. - - "renesas,r8a7796-cmt1" for the 48-bit CMT1 device included in r8a7796. + - "renesas,r8a7796-cmt1" for the 48-bit CMT devices included in r8a7796. - "renesas,r8a77965-cmt0" for the 32-bit CMT0 device included in r8a77965. - - "renesas,r8a77965-cmt1" for the 48-bit CMT1 device included in r8a77965. + - "renesas,r8a77965-cmt1" for the 48-bit CMT devices included in r8a77965. - "renesas,r8a77970-cmt0" for the 32-bit CMT0 device included in r8a77970. - - "renesas,r8a77970-cmt1" for the 48-bit CMT1 device included in r8a77970. + - "renesas,r8a77970-cmt1" for the 48-bit CMT devices included in r8a77970. - "renesas,r8a77980-cmt0" for the 32-bit CMT0 device included in r8a77980. - - "renesas,r8a77980-cmt1" for the 48-bit CMT1 device included in r8a77980. + - "renesas,r8a77980-cmt1" for the 48-bit CMT devices included in r8a77980. - "renesas,r8a77990-cmt0" for the 32-bit CMT0 device included in r8a77990. - - "renesas,r8a77990-cmt1" for the 48-bit CMT1 device included in r8a77990. + - "renesas,r8a77990-cmt1" for the 48-bit CMT devices included in r8a77990. - "renesas,r8a77995-cmt0" for the 32-bit CMT0 device included in r8a77995. - - "renesas,r8a77995-cmt1" for the 48-bit CMT1 device included in r8a77995. + - "renesas,r8a77995-cmt1" for the 48-bit CMT devices included in r8a77995. - "renesas,sh73a0-cmt0" for the 32-bit CMT0 device included in sh73a0. - "renesas,sh73a0-cmt1" for the 48-bit CMT1 device included in sh73a0. - "renesas,sh73a0-cmt2" for the 32-bit CMT2 device included in sh73a0. @@ -69,7 +69,7 @@ Required Properties: listed above. - "renesas,rcar-gen3-cmt0" for 32-bit CMT0 devices included in R-Car Gen3 and RZ/G2. - - "renesas,rcar-gen3-cmt1" for 48-bit CMT1 devices included in R-Car Gen3 + - "renesas,rcar-gen3-cmt1" for 48-bit CMT devices included in R-Car Gen3 and RZ/G2. These are fallbacks for R-Car Gen3 and RZ/G2 entries listed above.