From patchwork Mon Jun 17 09:16:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10998633 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3EF2514DB for ; Mon, 17 Jun 2019 09:15:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E9E928723 for ; Mon, 17 Jun 2019 09:15:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 220B528732; Mon, 17 Jun 2019 09:15:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C1B0028723 for ; Mon, 17 Jun 2019 09:15:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726793AbfFQJP0 (ORCPT ); Mon, 17 Jun 2019 05:15:26 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:33789 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726753AbfFQJP0 (ORCPT ); Mon, 17 Jun 2019 05:15:26 -0400 Received: by mail-pg1-f195.google.com with SMTP id k187so5466126pga.0 for ; Mon, 17 Jun 2019 02:15:26 -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=hC21z8H3svuyIJTy660QJObfqNz2CLNT3XWoDEhxrwY=; b=RRJQwafTnbw9ZMmCckAkGIMeUFuAkRgIq77j7h6UIJReRprbHsCng3pWPAFO+8DOuZ J63sHpT/+wnzTVpBmKPp2jVOl2n1Hu3AZPnkngB3mjcwVb2BS0mcpgGNrmDF8gW2DdRv PNh3TYPooyinkosUFd/+nmkfHT8vy0WoaS6RlVgtXM6825vL5R+FWWyQu5UFDfvALbrf tw+Szu2vfBuouqaETH/DUM+KVkAfe+byOZ6pgk8dwj6f5MymG6fsNUxxfb8n2yOavKzR DuaTh4PjyI1ewTcZpcwMXln5nBOex+LB3O7fk938ndllafHmOt4CIGvfN4yZv0lBHAiG dGOw== 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=hC21z8H3svuyIJTy660QJObfqNz2CLNT3XWoDEhxrwY=; b=BbJOzWSrEzOf6vZ49Ja2oH/o3v5vVLzFt4+6IuMnXJ2A5GaWlKpyYyQE5KESUzeL96 NjM4cMeWqsTvIez1+IEHc6nchbrqH2TiEvNQE2Xil6zQBNZBNXJTNxALp1ZHpyWw3JiR YPbgQYD1Md+U6u7QDC6INWr7NLXlSP5mP635d6PmKvGbYeiLiSkAaCvl6lOsToipuqjL iAdAUi2wg5aUQeao6zHUZwcUKKENux/RqD70mTCCs16GBOlzczZfmkJhUb98118/82UH DP1RPJE4dzSp1BNyjrF8Q6WCFpPnZDvOq2migSoSzkCepFx7IOsUmbB7yLxfZBOjl1nL qC5A== X-Gm-Message-State: APjAAAWaPQZNRg8hDOQaJcc1kBfi9Y2NMxufj/jy8SXXmcu56iv/Yt69 76TrR/Om2dqG2b01+zQYSUVl1B6N X-Google-Smtp-Source: APXvYqx2cBpzNoiZZgDKPW2HQScp4zYt8WIw77sL0dUAHRHorf10kouwhKpnPRRWMSPmvU9WpsBq0w== X-Received: by 2002:aa7:8b55:: with SMTP id i21mr5538271pfd.155.1560762925043; Mon, 17 Jun 2019 02:15:25 -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 k184sm10698210pgk.7.2019.06.17.02.15.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 02:15:24 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 17 Jun 2019 18:16:51 +0900 Message-Id: <156076301133.5827.18087893489480810339.sendpatchset@octo> In-Reply-To: <156076300266.5827.16345352064689583105.sendpatchset@octo> References: <156076300266.5827.16345352064689583105.sendpatchset@octo> Subject: [PATCH 1/3] ARM: dts: Update CMT1 DT compat strings on r8a7740 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Update the r8a7740 to use the CMT1 DT compat string documented in: [PATCH 2/8] dt-bindings: timer: renesas, cmt: Update CMT1 on sh73a0 and r8a7740 The "renesas,cmt-48" portion is left as-is to avoid breakage until the CMT driver has been updated to make use of the new DT compat strings. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/r8a7740.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 0001/arch/arm/boot/dts/r8a7740.dtsi +++ work/arch/arm/boot/dts/r8a7740.dtsi 2019-06-17 14:21:14.647792561 +0900 @@ -83,7 +83,7 @@ }; cmt1: timer@e6138000 { - compatible = "renesas,cmt-48-r8a7740", "renesas,cmt-48"; + compatible = "renesas,r8a7740-cmt1", "renesas,cmt-48"; reg = <0xe6138000 0x170>; interrupts = ; clocks = <&mstp3_clks R8A7740_CLK_CMT1>; From patchwork Mon Jun 17 09:16:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10998635 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 41CD5112C for ; Mon, 17 Jun 2019 09:15:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F40428723 for ; Mon, 17 Jun 2019 09:15:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2338728732; Mon, 17 Jun 2019 09:15:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B507E28723 for ; Mon, 17 Jun 2019 09:15:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727323AbfFQJPe (ORCPT ); Mon, 17 Jun 2019 05:15:34 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:43856 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726753AbfFQJPe (ORCPT ); Mon, 17 Jun 2019 05:15:34 -0400 Received: by mail-pl1-f194.google.com with SMTP id cl9so3827373plb.10 for ; Mon, 17 Jun 2019 02:15:34 -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=jP7zi3dmKrIb97iuExUNfcK90C1rjRR0NYbpWGJy7us=; b=tNSS6zm2IBtklxNaOYOoorgeSBkngVlX5kkUtzNXRFhWWs3cZNz+qSGH8SbNnkLyPs AdZSnDxo3KhwpSSYTTY3IOp1zdb08+xk5a267EdLkrQpO1c5R8aICk35fY+LL+dJSQmh HmUzaMK20ckOIWF+O64+m2v9PNnMKK+bBtxP8hKyBNisSI/YOw8LphLXvBlu+tVI3HEg 1NrbCWNCOcNvayWfBovHGh3UhVV+k6QX11dDxbOqcPTskYrDyr3OHMtSxwsdsIwQNzd3 Bp578osE4wO3PwSaEsGYMmJ80GixvMIBsJlqd4TGipzCSb9p9ssQ9gP4GQMT/G0m5bGF 3Xwg== 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=jP7zi3dmKrIb97iuExUNfcK90C1rjRR0NYbpWGJy7us=; b=ITtB0A8vE/N6NAStMmFK022ZyZOsF+p9tCcf2LzJDrgJytgzlPFRlbvONfE8BVRKPk i1VEX2kWWnsc4qr7hfNna2Guqq6RCGzEkJrBBuwBwqCzodfAi7u2van8brupjIcZMBRM ZES+HaLnN7VUbNkW9CgAcewHsr2oJxmMOOzAxIUUa6D1IAqtwXMbKLQ29WQ2/G6ZVizA WGBsX2C5Nywzt54+trvUn/muzf1X6U4+/zTkBh8Tv3JIygIIELR/nHhZmfo9iWeQFJk2 9hziqhdDBe/o4IdfmoKlwMvi2HYbdmwKIhaX8JzJZXUy/K3E8C2MMZ1x65MmBOWhjeE8 02og== X-Gm-Message-State: APjAAAWGK0wxzZgYgzkCfL1+s6ahRyZAVGO2fM4PbSlW5jD3/sHBiAUl Ogh28NYbsuKja0FqOkzVTH9egH3Y X-Google-Smtp-Source: APXvYqyBsw9ih3YzdpGxjbpCtA4nLBcBfiiFcdSASM3HS1Pg9LZc1mMAGFKfeR3EDMD9ca+jSbRs7g== X-Received: by 2002:a17:902:2b8a:: with SMTP id l10mr68269459plb.283.1560762933454; Mon, 17 Jun 2019 02:15:33 -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 d4sm9503659pju.19.2019.06.17.02.15.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 02:15:32 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 17 Jun 2019 18:16:59 +0900 Message-Id: <156076301977.5827.3699303660557384258.sendpatchset@octo> In-Reply-To: <156076300266.5827.16345352064689583105.sendpatchset@octo> References: <156076300266.5827.16345352064689583105.sendpatchset@octo> Subject: [PATCH 2/3] ARM: dts: Update CMT1 DT compat strings on sh73a0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Update the sh73a0 to use the CMT1 DT compat string documented in: [PATCH 2/8] dt-bindings: timer: renesas, cmt: Update CMT1 on sh73a0 and r8a7740 The "renesas,cmt-48" portion is left as-is to avoid breakage until the CMT driver has been updated to make use of the new DT compat strings. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/sh73a0.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 0001/arch/arm/boot/dts/sh73a0.dtsi +++ work/arch/arm/boot/dts/sh73a0.dtsi 2019-06-17 14:23:20.096369624 +0900 @@ -92,7 +92,7 @@ }; cmt1: timer@e6138000 { - compatible = "renesas,cmt-48-sh73a0", "renesas,cmt-48"; + compatible = "renesas,sh73a0-cmt1", "renesas,cmt-48"; reg = <0xe6138000 0x200>; interrupts = ; clocks = <&mstp3_clks SH73A0_CLK_CMT1>; From patchwork Mon Jun 17 09:17:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10998637 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 08EBB14DB for ; Mon, 17 Jun 2019 09:15:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E930728723 for ; Mon, 17 Jun 2019 09:15:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC88728732; Mon, 17 Jun 2019 09:15:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83E6628723 for ; Mon, 17 Jun 2019 09:15:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728007AbfFQJPn (ORCPT ); Mon, 17 Jun 2019 05:15:43 -0400 Received: from mail-pg1-f170.google.com ([209.85.215.170]:42381 "EHLO mail-pg1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726753AbfFQJPn (ORCPT ); Mon, 17 Jun 2019 05:15:43 -0400 Received: by mail-pg1-f170.google.com with SMTP id l19so5443310pgh.9 for ; Mon, 17 Jun 2019 02:15:42 -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=aQQhF4a5ODeRWKp5nHOWqVFeQNOqkE3OtPCAFw2UAdA=; b=WFk4hqZylfZzn0ybQoq7UJfH/jK5BdCuzSP6gyqKvVUxHkQ98SNzMauNN1i5n4dDrz oE6cJGCedRlzmhWa6plPM+eN+I9FpXvQFeoGMZ4mwyeDvs5SMc+goLN9OYcIOhAiwJ/g mk9sk6AdLhNLk/u8OPIYeFbJY3eKqiG5uen6BnfTTgYiLSifu2OPfxbBOjA7hfVVGjaU SObj7trMP5+9WN8ChTddYbcKRCm0XmktjyChUE9gV+69UOcxmhiNSl/rEMDUdbLTNffX 5kuAhTNYGybi6nBUz6CIVTtfk+db5Yzx2LtGPHZRwrQqys2hNXDn/vpDvoT0ZorS5mvj 3Kaw== 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=aQQhF4a5ODeRWKp5nHOWqVFeQNOqkE3OtPCAFw2UAdA=; b=V7bDP6qMhW8YQ7AbFqcFqmd8c3PGqIfMNANf/xq5E1S2Hs71xqNXYpjCzsXXVOEO9s iA+bZilzJ0HmdgdphWxzaH8adPvQ/ke8CXEEHLV5CEDNY23SETTcmZtHLRCfFo4TWPIa DOsraj/u6yAesp5idG6KNXUU14gNQJQ0VbtKMCenMgP2CEOtYl9tsGpjQa4uuu7ELMDb qJgrhj3QrLIaIYwliJ9MXPIM3EDMx08/x3GqTAWv4Hzf9/KZq/sqypsTVXAZ4r5SCzzd 4WDXTiQh1VuMaaDagU6LZMP2J4cG+JJpoGWUajCF8x8+61u6ZJ+b5Jm009qxIrdUwmMK z1NQ== X-Gm-Message-State: APjAAAXoehMM9teHpVCmbvYIg8VoDO7UaHHTRWZgeyr6Lv0qqxZss24I l8xUQGhe/AywKULm4DWUJzulCBnW X-Google-Smtp-Source: APXvYqwex/mqXbhC9oOBhEA9UtsTHgshyHiaP1iDxyhOOkNO8Cj5mh6Du3UjGXYZ3a9yUqc/82ZJZg== X-Received: by 2002:aa7:818c:: with SMTP id g12mr8324394pfi.170.1560762941956; Mon, 17 Jun 2019 02:15:41 -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 p65sm12696127pfp.58.2019.06.17.02.15.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 02:15:40 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 17 Jun 2019 18:17:08 +0900 Message-Id: <156076302818.5827.976723043537886578.sendpatchset@octo> In-Reply-To: <156076300266.5827.16345352064689583105.sendpatchset@octo> References: <156076300266.5827.16345352064689583105.sendpatchset@octo> Subject: [PATCH 3/3] ARM: dts: Add CMT0 and CMT1 to r8a7792 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add CMT0 and CMT1 to the R-Car Gen2 V2H (r8a7792) SoC. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7792.dtsi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) --- 0001/arch/arm/boot/dts/r8a7792.dtsi +++ work/arch/arm/boot/dts/r8a7792.dtsi 2019-06-17 14:28:36.306948031 +0900 @@ -875,6 +875,40 @@ compatible = "renesas,prr"; reg = <0 0xff000044 0 4>; }; + + cmt0: timer@ffca0000 { + compatible = "renesas,r8a7792-cmt0", + "renesas,rcar-gen2-cmt0"; + reg = <0 0xffca0000 0 0x1004>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 124>; + clock-names = "fck"; + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; + resets = <&cpg 124>; + + status = "disabled"; + }; + + cmt1: timer@e6130000 { + compatible = "renesas,r8a7792-cmt1", + "renesas,rcar-gen2-cmt1"; + reg = <0 0xe6130000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 329>; + clock-names = "fck"; + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; + resets = <&cpg 329>; + + status = "disabled"; + }; }; timer {