Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp642428rwb; Thu, 6 Oct 2022 02:24:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5FXhanzaJtKsc4Dt8xDNxFfC1mHqvzViHNx4brnYSyCX8lO52UWC4HfhZ0ojX0kRiHQVE3 X-Received: by 2002:a17:906:9b87:b0:733:1795:2855 with SMTP id dd7-20020a1709069b8700b0073317952855mr3227113ejc.156.1665048257799; Thu, 06 Oct 2022 02:24:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665048257; cv=none; d=google.com; s=arc-20160816; b=TCSrC33O4siwijsByzgJX1hJj6HVoZL10fz6+99UeOIWbbJ3PWzcFvYbbEMHtQUtBJ kfHe5xAydJGi7mKszDK8uA+sPuWrPn1DssWtX3ZS3ADvazjBkFahC89lhO7y2pzTtUxc o136p8I2iV5WaCWGsr96GihUnp7nz6T9Nvlv8km7coOIgYCp/MqikX1JArTqPOLzlRO9 WDq1fJzGoW2xAEaQKlDQE7q8uDfhxrluHOzz4w0wr6ozzm0zH2w1ROny7ICBlz6bAsyX OjnZD0883zr0kgku4U6tEweWcRiwj0CS8S7dz1RObewNy336dnfcQqgSW2VaDti4UhZT 0LWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=nA04VVvZv5Bn1xVBn3M3j3znxj4LObeNF3b5A2ql07Q=; b=rvrUkjErnNw7pyD+8cxs3Lg9pKFCXUm/Sk6RGi+6NU8SGz/hM+JqYA+oO0tSTvdila cUh3yAAZKLS399zoNyxxBKbvAV0LoS4HnsiFaQ4uvREliVgCqt/2mahFsOjGPZXfHern 9Z631TpHZi4ps3EjAi+3yxhwyrNDT4R0K1DKHZSI0pKtNtVRF3WVnvJwgsGBMJ/4I/Ea BIeUvyjROBGy21vJmnhKtNaG0HOX7L2GS6WUotDr1d0Zi4j5psHYPbK1d3HauaictEQE Ff29BrtICv09ipFANhhhW5j7JWvVIPpG0PgjS5p+u99VqD3Ema4a37gQxsBbCMJtZtGg R0rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PV3LqS92; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg15-20020a170906f88f00b007829f6fed9dsi12289554ejb.232.2022.10.06.02.23.44; Thu, 06 Oct 2022 02:24:17 -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=pass header.i=@gmail.com header.s=20210112 header.b=PV3LqS92; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229796AbiJFIdb (ORCPT + 99 others); Thu, 6 Oct 2022 04:33:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230362AbiJFId2 (ORCPT ); Thu, 6 Oct 2022 04:33:28 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16F208E450; Thu, 6 Oct 2022 01:33:27 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id z3so784826edc.10; Thu, 06 Oct 2022 01:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=nA04VVvZv5Bn1xVBn3M3j3znxj4LObeNF3b5A2ql07Q=; b=PV3LqS92zg0PtR5MyndvQnm7iltQPx4Utf3smnACujE2OltGCdkLNExogDBNlxZXMh 1GUmKis+CXfjBGv33N804F6c+dotf4rLsmLHfu8g+RcxrWZPj1IdXMtjAgX+GOCjNlCi KTb8mrESreQ4s3X1Y7NRJhvlGObM1vYeFkM80q9drWMjlhSYXff+y+VNZYTH95ip6tNV IU4h71CpoXIrZLYTEHPfZUMh1ij1OWJgGkXSzupNXWiFAV2D3XHgYhgiypTIxfbgtKku i08Bi9qq8D8qbtmfnEBbDVG+FqxF01gt4KjmC5m1satruMhPcRKqzlTykfhtmwA6pENi scww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=nA04VVvZv5Bn1xVBn3M3j3znxj4LObeNF3b5A2ql07Q=; b=N5NqNw9qyA4YkR/T5VfXWQQ8xJZ4TrQwtL4iuH0HAVAaGkBV+vJzoi9OCkRuZ0Z8kU r+CjhGL7UXiUKo7w89f/Omp7vjL2qbAlmBL2X07y/JoI73mVS+7wmdttnNxYz4QiMnF4 NJRgTVr7wfDP/4xvZCkQfp0c5m9IIEYQTr0iZPrB5FKY/X+VDmGpWaSDrOwuAmnKNSqJ BL/m8BuW4q6hAyCR52oVh3aXMMyLT4jMul3CVeMRTAudCAlU05cx5fHxmAdLdodbvBeC rXFCtDfQyTSlHDnGFFwP0MpftdZhRE71u2nuHIG2UTxj6gUr1sDoNINM2cGJnWKA8MBX jOyQ== X-Gm-Message-State: ACrzQf1ikFJQ59QCcwadCuOSt4YRXSxaSvy+q+GzX5cMHBfFifJFjNV9 IA2cDlyErTLBFMWkHZF8iwNhdTa+Z4xjUM15FOc= X-Received: by 2002:a05:6402:5255:b0:459:ebaa:c2b8 with SMTP id t21-20020a056402525500b00459ebaac2b8mr1194197edd.150.1665045205330; Thu, 06 Oct 2022 01:33:25 -0700 (PDT) MIME-Version: 1.0 References: <20220919133122.167794-1-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Thu, 6 Oct 2022 09:32:58 +0100 Message-ID: Subject: Re: [PATCH] clk: renesas: r9a07g044: Add WDT2 clocks to critical list To: Geert Uytterhoeven Cc: Biju Das , Michael Turquette , Stephen Boyd , "linux-renesas-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Prabhakar Mahadev Lad Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Hi Geert, On Thu, Oct 6, 2022 at 9:16 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, Biju, > > On Wed, Oct 5, 2022 at 2:56 PM Lad, Prabhakar > wrote: > > On Wed, Oct 5, 2022 at 9:27 AM Biju Das wrote: > > > > > On Mon, Sep 19, 2022 at 2:52 PM Biju Das wrote: > > > > > > > On Mon, Sep 19, 2022 at 2:35 PM Biju Das wrote: > > > > > > > > > From: Lad Prabhakar > > > lad.rj@bp.renesas.com> > > > > > > > > > Add the WDT2 clocks to r9a07g044_crit_mod_clks[] list as WDT CH2 is > > > > > > > > > specifically to check the operation of Cortex-M33 CPU on the > > > > > > > > > RZ/{G2L, G2LC, V2L} SoCs and we dont want to turn off the clocks of > > > > > > > > > WDT2 if it isn't enabled by Cortex-A55. > > > > > > > > > > > > > > > > > > This patch is in preparation to disable WDT CH2 from the RZ/G2L > > > > > > > > > (alike > > > > > > > > > SoCs) DTS/I by default. > > > > > > > > > > > > > > > > > > Reported-by: Biju Das > > > > > > > > > Signed-off-by: Lad Prabhakar > > > > > > I got confirmation that that using WDT2 from CA55 is prohibited. > > > WDT2 is only for CM33. > > > > > > With CPG register, we can select whether CM33 to trigger CM33 cpu reset, or trigger system reset > > > when WDT2 overflows. > > > > > > If WDT2 is used by CA55, it may result in unexpected behaviour. > > > > > Thanks. > > > > > So we may need to take WDT2 entries from binding + dtsi + clock table?? > > > > > > Or > > > > > > Added it to critical clock list, to avoid changes in binding + dtsi + clock table > > > at the expense of turning on the WDT2 clk unnecessarily. > > ... plus still risking to interfere with the CM33. > > > I'm in favour of option#1 except that we keep WDT2 entries in binding. > > Agreed (bindings are append-only). > I'll get the patches out to get rid of WDT2. Cheers, Prabhakar