From patchwork Thu Nov 3 20:55:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 15193 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a40e:b0:83:7221:86ba with SMTP id ck14csp1105357dyb; Thu, 3 Nov 2022 14:00:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6vmjmDi/jnJyS34UGvw6YxlaiWYVmFQQmGZz5H/wLAChykssyEgL1P+mLzjAElsj5SHm86 X-Received: by 2002:a05:6402:501b:b0:459:df91:983 with SMTP id p27-20020a056402501b00b00459df910983mr31134335eda.85.1667509203984; Thu, 03 Nov 2022 14:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667509203; cv=none; d=google.com; s=arc-20160816; b=EiFmJVxBFC8MyuNqqB6DZflbhice40LypYAftoAHI6AUiRmgBfq2OoTvgHUavrisx1 k6IXz73garXI/2eWULM2yBTh2wqww7xHvIG2P/3Xc6KpeEVvOJ5g6zc+S9Ld213M+dF1 9WRi+ot6b0tbLHit4pSkilhra29xHk3GnNiH8vkus39dcod0flEsGqclPxakq6sTGYL2 vw6GjwmLpNeuT58HKSf7YLjMGZZuXd6tMgvsX+XWs3xxWAsZqmVOMfmMSuUkhoKn1UdU SpyGMAbsVI+gN9zqV7RJCBgTR3Fg7UYSL7ZJXPqAljc9ztvYArbElkmg83Xor8OXsX0H sOVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NWPMMw7jBebRIkPPbA5D6UBcXNBN4TT56mNMU2CTXOs=; b=AKL1DIe3DCqfIp4UnTCv6d9L0yX2NFQO7K0qcxqC+luNIw7a1Ev4A31jK7qdBg2oao lGEHaXzkfI522cgp7VaIUZC4Ka2NHB31FesFVoeSwy0Q47qN5P7U61zklyGrqWWMew0L dooTOoil0SdDyYNLKCAteV0a8JBHQDxye7uCKyJOmy/j9ypDlYNTQF4SDqH22bLZVOJH 3LNF2vkUjTGRFsMARTARNh49/kTgLNrBI0vO45ZLI6U8AiNG/VpMmW7VuJW2r65n5ZBX KF6ZpRpBhtl//jEg3tsLgTn3iWOqhf9K2wtrmaoahMkjvRRNLW6hNUkbRSr8WogW+RJ/ kvDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=rvYUVJHh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf10-20020a1709077f0a00b007ad96737de4si2540740ejc.624.2022.11.03.13.59.40; Thu, 03 Nov 2022 14:00:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=rvYUVJHh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231273AbiKCU4N (ORCPT + 99 others); Thu, 3 Nov 2022 16:56:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230473AbiKCUz4 (ORCPT ); Thu, 3 Nov 2022 16:55:56 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27C4C20F66 for ; Thu, 3 Nov 2022 13:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=k1; bh=ZIsxFHujLlY59v 14nd1/go7NFo8ITL4grttW9boU+P0=; b=rvYUVJHhBvBABJeLNcU2iXlOnR7lLF j3WYwhgX/hOOkVWmKBq6gizIoU4CZAb9KfrL5vNMZSJCsGoMzFcwyGdz26iZCY89 oWKkV21MYYBxFdR8nANc+N5hbryLytuWiRG3CMu/0oeoW2WufFMM/+tByF+etrCX qqyymmEqelzLg= Received: (qmail 2787695 invoked from network); 3 Nov 2022 21:55:51 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 3 Nov 2022 21:55:51 +0100 X-UD-Smtp-Session: l3s3148p1@eJq5LpfsvOUujns0 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] clk: renesas: r8a779g0: Add TMU and SASYNCRT clocks Date: Thu, 3 Nov 2022 21:55:42 +0100 Message-Id: <20221103205546.24836-2-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221103205546.24836-1-wsa+renesas@sang-engineering.com> References: <20221103205546.24836-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748510131361484059?= X-GMAIL-MSGID: =?utf-8?q?1748510131361484059?= Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a779g0-cpg-mssr.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesas/r8a779g0-cpg-mssr.c index 5cc0dc9149bc..7f0b4f75ff4d 100644 --- a/drivers/clk/renesas/r8a779g0-cpg-mssr.c +++ b/drivers/clk/renesas/r8a779g0-cpg-mssr.c @@ -130,6 +130,7 @@ static const struct cpg_core_clk r8a779g0_core_clks[] __initconst = { DEF_FIXED("s0d4_hsc", R8A779G0_CLK_S0D4_HSC, CLK_S0_HSC, 4, 1), DEF_FIXED("cl16m_hsc", R8A779G0_CLK_CL16M_HSC, CLK_S0_HSC, 48, 1), DEF_FIXED("s0d2_cc", R8A779G0_CLK_S0D2_CC, CLK_S0, 2, 1), + DEF_FIXED("sasyncrt", R8A779G0_CLK_SASYNCRT, CLK_PLL5_DIV4, 48, 1), DEF_FIXED("sasyncperd1",R8A779G0_CLK_SASYNCPERD1, CLK_SASYNCPER,1, 1), DEF_FIXED("sasyncperd2",R8A779G0_CLK_SASYNCPERD2, CLK_SASYNCPER,2, 1), DEF_FIXED("sasyncperd4",R8A779G0_CLK_SASYNCPERD4, CLK_SASYNCPER,4, 1), @@ -185,6 +186,11 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = { DEF_MOD("sdhi", 706, R8A779G0_CLK_SD0), DEF_MOD("sydm0", 709, R8A779G0_CLK_S0D6_PER), DEF_MOD("sydm1", 710, R8A779G0_CLK_S0D6_PER), + DEF_MOD("tmu0", 713, R8A779G0_CLK_SASYNCRT), + DEF_MOD("tmu1", 714, R8A779G0_CLK_SASYNCPERD2), + DEF_MOD("tmu2", 715, R8A779G0_CLK_SASYNCPERD2), + DEF_MOD("tmu3", 716, R8A779G0_CLK_SASYNCPERD2), + DEF_MOD("tmu4", 717, R8A779G0_CLK_SASYNCPERD2), DEF_MOD("tpu0", 718, R8A779G0_CLK_SASYNCPERD4), DEF_MOD("wdt1:wdt0", 907, R8A779G0_CLK_R), DEF_MOD("pfc0", 915, R8A779G0_CLK_CL16M), From patchwork Thu Nov 3 20:55:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 15190 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a40e:b0:83:7221:86ba with SMTP id ck14csp1104101dyb; Thu, 3 Nov 2022 13:57:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4OE7mnpAjrhrUcgfOus6Er4iT30+58f2sRHm2/WgubB8l42wm6vMh6scwRgza/hfRQIx4P X-Received: by 2002:a05:6402:4441:b0:454:8a74:5459 with SMTP id o1-20020a056402444100b004548a745459mr31434363edb.155.1667509057834; Thu, 03 Nov 2022 13:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667509057; cv=none; d=google.com; s=arc-20160816; b=uBREPhp9KPLu0BynotSHzVHznm/zVSdJdScFy4NKBHZ1y+DKam5CQ4Vvv2goJlkc1x 9IGsEX2qalkP7dQrZXKo3jITuFdbYmy3hoGFlvzXLUxWAjHFaoa26rbiRQCbHdFaG27+ 3SmWfG7a1Kxu8seIypOYksOAKul75GbBeYkWUVlyymESPuUbBUqXk413dYBKeL8OO2TU t8zCxJpzAGzDtqKeWTkFPTO4HI4cT4z4UHruL99CQy66V1XyF8Xn+Qn1FO6i8zy5jlzK M4u1PfxaiBT7fwtw3W10NBK9c2g3yG92wUgWnYLlQRvLyR/ruJHemlVoT2+dVdAJafoY RN8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9uTFDiBeXK0d0ZGtQnpTrg55YbM1b13/5UtEiShWlpQ=; b=g81V9HEa8aqqEAVAgheuG18Xo5uhqmcH5u8sM+KX0jZTuXYydYZyRmqZWNDguVUhuc SVigY3nM+ncyNbH81a0XqQKJo04YPNJPYvmUaevSegxpx85vRQeeCB4fx6HvbpPrGcnx 1uvEG1kkwSRjEJMbDyNt9jefHVik1YhfseCMagYeoc7ATctnwiqT7ApYfT5A8rl87/jX Gb4i0Tg+HWNEbI8tPT+6w6WSF5za0/7hTxrZCFlmFusK00KOWLLpjOcf2WA+R3EQEPjR X/iFof0+tfc6t2cY1bfuccW0gCFhOcFe9+y3VEM1fRUosoIbGaqHJ3SCQ1Cjoji848Yw ApLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=E2Kt0i2T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd41-20020a17090796a900b007aa784a3cb8si2777518ejc.687.2022.11.03.13.57.13; Thu, 03 Nov 2022 13:57:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=E2Kt0i2T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230376AbiKCU4F (ORCPT + 99 others); Thu, 3 Nov 2022 16:56:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231160AbiKCUz4 (ORCPT ); Thu, 3 Nov 2022 16:55:56 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B44C20F6D for ; Thu, 3 Nov 2022 13:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=k1; bh=myS9CkonMnXwhk d/gaWzxpB4v/QisnjTI6pGGjF2ReE=; b=E2Kt0i2TwNJlt236QTLkBwb4ptqmx/ abFm+k0RYq5RjK2H7AaHKofl6EV0ez+fQ2znH2yklQ6ydieeOZru34dYsPq3UBFj xsjukKU5HqMIq+GFqmVqZVbECfzz4hxj1LEKEJyChYH6lzWBWhr+BPLCkhSLz6aU GAlie3pYjaSiM= Received: (qmail 2787739 invoked from network); 3 Nov 2022 21:55:52 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 3 Nov 2022 21:55:52 +0100 X-UD-Smtp-Session: l3s3148p1@YcHELpfsyuUujns0 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] arm64: dts: renesas: r8a779g0: Add TMU nodes Date: Thu, 3 Nov 2022 21:55:43 +0100 Message-Id: <20221103205546.24836-3-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221103205546.24836-1-wsa+renesas@sang-engineering.com> References: <20221103205546.24836-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748509977983202169?= X-GMAIL-MSGID: =?utf-8?q?1748509977983202169?= Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 65 +++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi index 8141ffc38a08..fbab9817cc8c 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -251,6 +251,71 @@ intc_ex: interrupt-controller@e61c0000 { resets = <&cpg 611>; }; + tmu0: timer@e61e0000 { + compatible = "renesas,tmu-r8a779g0", "renesas,tmu"; + reg = <0 0xe61e0000 0 0x30>; + interrupts = , + , + ; + clocks = <&cpg CPG_MOD 713>; + clock-names = "fck"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 713>; + status = "disabled"; + }; + + tmu1: timer@e6fc0000 { + compatible = "renesas,tmu-r8a779g0", "renesas,tmu"; + reg = <0 0xe6fc0000 0 0x30>; + interrupts = , + , + ; + clocks = <&cpg CPG_MOD 714>; + clock-names = "fck"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 714>; + status = "disabled"; + }; + + tmu2: timer@e6fd0000 { + compatible = "renesas,tmu-r8a779g0", "renesas,tmu"; + reg = <0 0xe6fd0000 0 0x30>; + interrupts = , + , + ; + clocks = <&cpg CPG_MOD 715>; + clock-names = "fck"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 715>; + status = "disabled"; + }; + + tmu3: timer@e6fe0000 { + compatible = "renesas,tmu-r8a779g0", "renesas,tmu"; + reg = <0 0xe6fe0000 0 0x30>; + interrupts = , + , + ; + clocks = <&cpg CPG_MOD 716>; + clock-names = "fck"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 716>; + status = "disabled"; + }; + + tmu4: timer@ffc00000 { + compatible = "renesas,tmu-r8a779g0", "renesas,tmu"; + reg = <0 0xffc00000 0 0x30>; + interrupts = , + , + ; + clocks = <&cpg CPG_MOD 717>; + clock-names = "fck"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 717>; + status = "disabled"; + }; + i2c0: i2c@e6500000 { compatible = "renesas,i2c-r8a779g0", "renesas,rcar-gen4-i2c"; From patchwork Thu Nov 3 20:55:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 15191 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a40e:b0:83:7221:86ba with SMTP id ck14csp1104964dyb; Thu, 3 Nov 2022 13:59:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7k53bWFCQQNlZbaQc7v14/orrs0Yp+S6Qw+NSd51/6kBNoie/3Eg5wh17lzCDh4LDf9Av3 X-Received: by 2002:a17:906:d550:b0:7ad:d2f1:dba5 with SMTP id cr16-20020a170906d55000b007add2f1dba5mr22949039ejc.52.1667509156920; Thu, 03 Nov 2022 13:59:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667509156; cv=none; d=google.com; s=arc-20160816; b=KDRKMLZx7F9fUS0zfHtfJ5qaPib+EjwCMXfkw+NU9rYv4Xy9Y8GksptHlhh5jZ6DSE Ux7rPEKQyo4iQlD6xoFsxSdvPs1c4l2z87YBgE4IuKc0VK6J85nibyH/oJRcEwmxKBq2 5kEGuGXHhRbDoI+ElzwbvK9CorMEw4pV2mm4xCSaVzpRgA7WVnp03B/id5CSJdQO/Ben HKXvqDDMsmhB3IMgBe2qWVjO72YzucmQeGaKdf+tM0pgYuc1QlipSWUQ5wREUFp+CqDY 8TMxdRpCL+1mlwbubrH8QfjTn3zz4Ta7VmfheNlyalJOZcvCjVXaX3bx1BJ9KjIJvJFc yoTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AKyw6kcz81xaNm9cqE2guAP/niV/He9fiq14Pds+LRo=; b=JzpODwDHIk/h2Qdgcdg2ZL4myF5MvE5OIGLztE2csr1gHMj4SW0TVOIAYmLol7HWoW N7wymHZiWfUv4Aj1l23dd619Gy6uAkouPhzerwF9VnGb52mJP5RZMZKO3L73TEgjX3pT k72fxs0+4mz+66QDp1RU7SzraxcF1ditcFxDj90W5MwzZz20T8heytZaBIP3SxNCkVqU YU5kDglr5KL1pVBcuP+q071ginMZ5BghNGgEWydd6B5f/YoXROc7Lx77Apm3bSyjd39n yfO4ACHgXXtKdA4OxKIUIjnVNOywmIWqvOxtJrf5XWeiQt2GkPFLjCZ9qLLZiG+LauYs g9sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=W31qJy04; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h12-20020aa7cdcc000000b0046154f0f866si2051646edw.159.2022.11.03.13.58.29; Thu, 03 Nov 2022 13:59:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=W31qJy04; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231217AbiKCU4J (ORCPT + 99 others); Thu, 3 Nov 2022 16:56:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbiKCUz5 (ORCPT ); Thu, 3 Nov 2022 16:55:57 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D113020F7A for ; Thu, 3 Nov 2022 13:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=k1; bh=CiKT0ywaHu2HO7 FbV7S4AwMwEyA49BBUMacykFfoyPM=; b=W31qJy04SHtTgx7i/F28BGNUYjerLj MfFydYpBWrUv/JeLYmNWn1UmSULQCQKjVeLs7Ng7Mjsavgww7x0fL1pnO3tHFbEN wREorCYevco0Fof4Stho+PE/zJBRUmLt0dyf7L4hlTePj+ohItU8bnxiUjXErGEd ODaU+jQ+owwJM= Received: (qmail 2787789 invoked from network); 3 Nov 2022 21:55:53 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 3 Nov 2022 21:55:53 +0100 X-UD-Smtp-Session: l3s3148p1@S9DPLpfs0uUujns0 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] arm64: dts: renesas: white-hawk-cpu: sort RWDT entry correctly Date: Thu, 3 Nov 2022 21:55:44 +0100 Message-Id: <20221103205546.24836-4-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221103205546.24836-1-wsa+renesas@sang-engineering.com> References: <20221103205546.24836-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748510082087170326?= X-GMAIL-MSGID: =?utf-8?q?1748510082087170326?= Fixes: 495e36c3a313 ("arm64: dts: renesas: white-hawk-cpu: Enable watchdog timer") Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi index bb4dd08781ca..c10740aee9f6 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi @@ -271,11 +271,11 @@ user@1200000 { }; }; -&scif_clk { - clock-frequency = <24000000>; -}; - &rwdt { timeout-sec = <60>; status = "okay"; }; + +&scif_clk { + clock-frequency = <24000000>; +}; From patchwork Thu Nov 3 20:55:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 15192 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a40e:b0:83:7221:86ba with SMTP id ck14csp1105079dyb; Thu, 3 Nov 2022 13:59:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM77EetutQP9mDT1lzO1yud4iQ355NBu5y3VkBhBK8+n3c5wJIFm5XeGfB2bhA9/dDYD3k8N X-Received: by 2002:a50:85ca:0:b0:461:168c:83ab with SMTP id q10-20020a5085ca000000b00461168c83abmr32239026edh.359.1667509172613; Thu, 03 Nov 2022 13:59:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667509172; cv=none; d=google.com; s=arc-20160816; b=oMYSTkG1maxu7zeZoBKSqFwD0c7oe6zT+0SuMdeFRjK5gcMBtlQu3/z2FNFxbdgIRS yf9UKuCyzI37s0d2ItEjr+RH2kla/myw6vpdVa/71iuH6jzEwWqsLBOF05fTEv3eduup AzS2CnSfyFGvjVNF/9KzoSIWKMjGMLflKGGYGZWs/KwmgKper8PMTJKnQzOsA5Pr/+yB YfAffBjrMqzXr8uwWF9brk1ZkYf/YqIqgXapVQFLB29FrKxHwnsxjqYbMTv3vXI2qAlX ur0SaFXcLNNL//HKUV3KATcrUj9ctZVUdtIw3Dd2Fa02pT2Y4BdLCu4IAmDcZlEOsbFj Bnrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=njtk4MBuueG1jEFyoP33U2bygjIhn1TcfsJysVUilB8=; b=MarXQiHuxBYmqP6Hg1vqITgyRiIzACsELPa4vGIIM0UWAcPRkGlnhJKdjUPiUleOC4 7gBQeXWDGnwE3FOHsWS2qJ/WXzhgSGNYMlvvbnPP+547PMq2Avn5vv0wvIwr4U8IDQrz yh1zS8AGWxR0DkZuQoIj1pFn93sQfKLdG3EyXNXQYuLd3RIGvlZuT97+VAkcpfp/e8Fg yBn8SOiVxtJnEIZfpQwitOS6kuKWc2+rRfRTpc/ilczlT8sRmGAyGEFtJUe6deRqoCQ+ 7N1o5R3C6hl4bu6T5X8Pf52+adyV2NfCnTo2HpHqh2fYVS46Mk5OoPl0PgLOMPLmdZgo F8xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b="rX/0hWWf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho42-20020a1709070eaa00b00781dbeebeb1si2779640ejc.585.2022.11.03.13.59.08; Thu, 03 Nov 2022 13:59:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b="rX/0hWWf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbiKCU4S (ORCPT + 99 others); Thu, 3 Nov 2022 16:56:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbiKCUz6 (ORCPT ); Thu, 3 Nov 2022 16:55:58 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E91320BE8 for ; Thu, 3 Nov 2022 13:55:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=k1; bh=URqIf3QgMum3iU DS/tShDMnRSXC+8dEdK//RHXmsfwA=; b=rX/0hWWfvsbSvBWAvOu01nN826F/Nf CTJ4z10HimKEj0UdbcNZIdjKtqoIpMr4m1THXFt3efaeTtw9jGbLU3Bm/PV/bLN/ fq9LqKgpYI72G+MnXgqrCjNxyIMWa34cPIuaXeAZsAxRDAFeRv9RwH5qZL+V2ujw oknSuK02U7ghQ= Received: (qmail 2787830 invoked from network); 3 Nov 2022 21:55:54 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 3 Nov 2022 21:55:54 +0100 X-UD-Smtp-Session: l3s3148p1@+NTZLpfs2OUujns0 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] TEST: arm64: dts: renesas: white-hawk-cpu: Enable TMU Date: Thu, 3 Nov 2022 21:55:45 +0100 Message-Id: <20221103205546.24836-5-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221103205546.24836-1-wsa+renesas@sang-engineering.com> References: <20221103205546.24836-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748510097797464450?= X-GMAIL-MSGID: =?utf-8?q?1748510097797464450?= This patch enables TMU{0|1|2|3|4} on the WhiteHawk board. Only for testing, not for upstream! Signed-off-by: Wolfram Sang --- .../dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi index c10740aee9f6..976e37ea0d7b 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi @@ -279,3 +279,23 @@ &rwdt { &scif_clk { clock-frequency = <24000000>; }; + +&tmu0 { + status = "okay"; +}; + +&tmu1 { + status = "okay"; +}; + +&tmu2 { + status = "okay"; +}; + +&tmu3 { + status = "okay"; +}; + +&tmu4 { + status = "okay"; +};