Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp589750rwb; Thu, 6 Oct 2022 01:24:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4twyI1WJI2A+3uOmLhk3jDSHGj3r6QLABvrStQ6bj96unCyJg3JOQpJC5CLNQBxnmC2nC8 X-Received: by 2002:a17:90b:180c:b0:20a:cd8e:ad2 with SMTP id lw12-20020a17090b180c00b0020acd8e0ad2mr9549095pjb.163.1665044699087; Thu, 06 Oct 2022 01:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665044699; cv=none; d=google.com; s=arc-20160816; b=kslzwpy1RRT9iIDsmuC4whdOG7eZrhIl+XssfTOTBh0MP5Jv8YzSjlUAjIuiiGABYw HTEJ7muOEHueBX9AFKGiTXw1d3dxqsuNd1T51WkUrZ9csd3cNXE40ev6z7Nmv9MrZz+T TguHdYFIyMruMFTJPIkl61Nwu85p0fS1+0wcm9J/hSgfuVpm7xHS62kEupWKoC1UckMO M0m75DQ8dvjAa6PZgO6lzfHN91gk6KsRhuZ51YBb0PPc+JVlJxCvET+ynMrZmIiH5HwF QZxnorb+3lNWAclYglZtlBmGVz+cRpAZLm/sv8EKwu/fFVW7eTfGxF9G7gTcsiZnELay uYEw== 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; bh=R5B71qPqaTjwjXY7p5kJrtkSEz4tsM7zjyMB/6HdHbo=; b=g7d6j8/VsSDTk2L+g9FlW9PMwDCrf2YEndI9BTzQY4ynkw5pMlyZFQSJ2OCdVNoXAh 1RL9IoClXMYyLxnDBM4v1O/Th9YxmI+ZR7imac0vjpHvnlZY8SQHiTrGGEGSoudggVSF wY3ivD0iEzW1uyt9xnQBukGEBCtkNUxQuEfBorXzspxXaiA5MLarwr4G86qV0YtWfKC2 HDk+WtG8iawWfQLg6JoPW1ie5zzGkLmiai86k9XyqKY0YYfVRPZC1nC/x5JgT6SOZi2n dWfNr3Db3eRNuRmQFoQTyM4at7rDLEiXFZV9lcyX594epHrSbZiZWdogygTiMWVt1NId pJ+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h64-20020a636c43000000b0044156d65fccsi16666102pgc.177.2022.10.06.01.24.47; Thu, 06 Oct 2022 01:24:59 -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; 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 S230487AbiJFIQI (ORCPT + 99 others); Thu, 6 Oct 2022 04:16:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230360AbiJFIQE (ORCPT ); Thu, 6 Oct 2022 04:16:04 -0400 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E60F7539B; Thu, 6 Oct 2022 01:16:02 -0700 (PDT) Received: by mail-qk1-f182.google.com with SMTP id i3so578655qkl.3; Thu, 06 Oct 2022 01:16:02 -0700 (PDT) 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=R5B71qPqaTjwjXY7p5kJrtkSEz4tsM7zjyMB/6HdHbo=; b=nPmlVO+hZE7OOuT0AM0usRmfUQRHMSc3wzVuV8N7GZ9+Z/vtraSH4BgwO+JGv5zR9V sagAUiY1FYDikkYLuEPf9VuJmq9KVLOh4XWBhh0JGcDh+eB2sTh8Z0QncUnqbaZIm4us RsULE3/eKroR8/JbGfkuyPrQoqB22v1yvZgMNeQjC3OgqKQG3GdxiVzEDHAyaRDfw58y zHMWK5C2uL370nAQGA4obs4Sww06bNj2WwA3ejxdBCZO7M7V65YnJZOl6vQkjXq+wwCB 7VHT+pePeoF3yFNkW9BJ/00WmynaGBv5Q6vjn5Oh0eTwb50qomafowtY74D8Sw6ZoLHv PJSg== X-Gm-Message-State: ACrzQf1Ji4fb0RKtOuzP0Iyyy03O0AG6P3gOBiqAQf7Mp5E5BvVh0Xpc Tkj1Qfj5PIHExNshQ0xF9biniGOD1pllkQ== X-Received: by 2002:a37:9144:0:b0:6cf:5dc3:417c with SMTP id t65-20020a379144000000b006cf5dc3417cmr2240451qkd.213.1665044161354; Thu, 06 Oct 2022 01:16:01 -0700 (PDT) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id v1-20020a05620a0f0100b006bb8b5b79efsm20822915qkl.129.2022.10.06.01.16.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Oct 2022 01:16:00 -0700 (PDT) Received: by mail-yb1-f177.google.com with SMTP id 207so1398141ybn.1; Thu, 06 Oct 2022 01:16:00 -0700 (PDT) X-Received: by 2002:a05:6902:45:b0:6ae:ce15:a08d with SMTP id m5-20020a056902004500b006aece15a08dmr3586685ybh.380.1665044159991; Thu, 06 Oct 2022 01:15:59 -0700 (PDT) MIME-Version: 1.0 References: <20220919133122.167794-1-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 6 Oct 2022 10:15:48 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] clk: renesas: r9a07g044: Add WDT2 clocks to critical list To: "Lad, Prabhakar" , Biju Das Cc: 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=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 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). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds