From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3430C433F5 for ; Thu, 23 Sep 2021 09:50:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8186C6124C for ; Thu, 23 Sep 2021 09:50:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240234AbhIWJvf (ORCPT ); Thu, 23 Sep 2021 05:51:35 -0400 Received: from mail-vs1-f51.google.com ([209.85.217.51]:35682 "EHLO mail-vs1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240220AbhIWJve (ORCPT ); Thu, 23 Sep 2021 05:51:34 -0400 Received: by mail-vs1-f51.google.com with SMTP id f18so5935996vsp.2; Thu, 23 Sep 2021 02:50:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nx4BEiyhea77H9mPMjM3vQX/tvU8/t/qrKRNMVmCHfw=; b=tqdNMiT295EVVy19PDWVnS+bBt4d7Jg/d/stVROca7WKWv4pKvtsDSh20+1DDPguwB m23UUb5NgmRxxV/AF5zF7VIuTVK+vDtZtC6/ySh0nFXY+TIRmU19hAk0jsdkGzvGvrRd Nrm3wxlb7iXijYdjK3m3O6sLkDGEhzlBHegY5O11fzLg17bYyk6GrG1kBz58FFn3KpCJ u6Z5Pklcqs+1xcOFDHOi5O+uergKh2zcRpFIGOSAdsO9V+OTAtFzwBx4vq5JtF7rfw/A cXdiF9jVMvnXSzxFYmiqnntmJSlSmn8Q8zCeuFTSdHdYZgTALMQ6B+4NyxCbKg0Oy+zP +2Iw== X-Gm-Message-State: AOAM530p7H+LWpu6Z7l5omApF6Y3sHkPK7H2ZeVTB1JCcyb8AgXSGtVo U2kSH0EiNdHVsBp8PPCh3g72AelUHPrtLZMxvOw= X-Google-Smtp-Source: ABdhPJwulXv7V2ZQB9Y3KmEQOubAutrTGeDwiglQnT4FHOuk9kx9i6dxiQjG5JE19HF07NYYZ1XHoaFcUbPmhnbuRbg= X-Received: by 2002:a67:cb0a:: with SMTP id b10mr3248945vsl.9.1632390603128; Thu, 23 Sep 2021 02:50:03 -0700 (PDT) MIME-Version: 1.0 References: <20210922155145.28156-1-biju.das.jz@bp.renesas.com> <20210922155145.28156-4-biju.das.jz@bp.renesas.com> In-Reply-To: <20210922155145.28156-4-biju.das.jz@bp.renesas.com> From: Geert Uytterhoeven Date: Thu, 23 Sep 2021 11:49:51 +0200 Message-ID: Subject: Re: [PATCH v4 3/4] clk: renesas: rzg2l: Add support to handle coupled clocks To: Biju Das Cc: Michael Turquette , Stephen Boyd , Linux-Renesas , linux-clk , Chris Paterson , Biju Das , Prabhakar Mahadev Lad Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Hi Biju, On Wed, Sep 22, 2021 at 6:04 PM Biju Das wrote: > The AXI and CHI clocks use the same register bit for controlling clock > output. Add a new clock type for coupled clocks, which sets the > CPG_CLKON_ETH.CLK[01]_ON bit when at least one clock is enabled, and > clears the bit only when both clocks are disabled. > > Signed-off-by: Biju Das > Reviewed-by: Lad Prabhakar > --- > v3->v4: > * Added locking, in case both clocks are changed concurrently > * initialized mstp_clock.enabled to match the current hardware state. Thanks for the update! Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-clk-for-v5.16, together with the other patches in this series. 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