Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6030880rdb; Mon, 18 Sep 2023 01:38:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHkoTGRSTKo15EaD7NoHBEp1QOfwu1C70zKSvCbjYmDV+YvlFeIzV54gqIamZLXVhhaJqXM X-Received: by 2002:a17:90a:fc89:b0:268:b0b:a084 with SMTP id ci9-20020a17090afc8900b002680b0ba084mr5757673pjb.46.1695026296890; Mon, 18 Sep 2023 01:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695026296; cv=none; d=google.com; s=arc-20160816; b=pjeiuw17tAAhA+f+7mhJCYP2vZhm1InndcsNoiBUbiKM7i7KdytvKS2yuZNseTJd78 QTuipKSYm2wzIcmB4hwV8HOcrxTpn35q8pY2VS0VpQOvVDLxFb4XCKEu8Ld8IWH0Nhqq qQg/2usX8QogAPdhNXBZYMSXj5TcWoJ2yQyIPNtZPnaSrghWQy0dAywoMqstnf3ElyJp s9ZaWEnSr+HTeuPqhJFfvLR5QafF1/LpMBOWF4y/iLmR67Y7PMWR+6M2TWZTuIT4JUq7 bRC0Qzd/L18OL8H1feNqLWJ2NEYosHsG/TCi7qpgiMgmCAmuFuMTLyOGeRXsh5vzz3wf OCFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=anKXPFi9w2rIuYAtwmFUm1p8giU2YlIK32VnXJ3LBDU=; fh=143eE9DS2le8RySaq6umKKHSqfVU7Kyu29xx3zp+TcQ=; b=ZFjwVZGhqnWtf2T681EMtr9CtvE8Fv7+Eyit8gWeJV8QyLlcbhZmLZa4f6MKBxLkJp EgVE+Fxrar8Xp/1KpTpS3E2XJekPldbgmORzB9aAnLgl6I2GwkqZTHsl0Y1ISIqkTqXJ QkMAt5kireMLrt6I1pE6GBfU10GrrZLYtS1E7kke+6VXnzfq3pBagCnLf1TweI2v0Pnz RiDuZd69Sk79Xva9wYpDD0p++biwUZaDlPY3fi4DJFGVhZc309E3cTBc4WLHtO8Kgm/C EODm4BeKDM5G9+y2z0hcTSNF3DeotLeZvigqqKzxduc5dnWTYhsqN/dWhcxABZUwAS47 vtHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id kk10-20020a17090b4a0a00b002683fd38fd4si8240936pjb.31.2023.09.18.01.38.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 01:38:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id BA37E8095F68; Mon, 18 Sep 2023 01:05:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240550AbjIRIFB convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 Sep 2023 04:05:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238743AbjIRIEY (ORCPT ); Mon, 18 Sep 2023 04:04:24 -0400 Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21A43CD3; Mon, 18 Sep 2023 01:03:52 -0700 (PDT) Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-d815a5eee40so3749360276.2; Mon, 18 Sep 2023 01:03:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695024228; x=1695629028; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vO8AVtHDIpoQwzownXUxstbhdvdc8FtTt4K0IUKijtA=; b=BF2APwXvqVRWBfP8Dw8dY/brG/bVMwUGWaAqyFrRYw+hqYCUZOglBDSlEDYBpW64Ak kl8a0MfcZswnHNwff+RLLTiSt7ipL14Kh2Yn7SPMhTDfbATFCxbVINuG4wNVvtNyNB4b 8tMF9xudMNQgTr5Sm0bBynbqeVFOPWlLAoEc9Yz0mDCYstgmgDDxxrAEcuprf1nJdv6j gS2o3TNzVIftjIZE3NIRhIKCkpihZD3XtwnklvwxOWVlqOqM1pyoZkkWmT8Fc4I1rMNv FWNAkNOqE1B9VNj1IDPzU1NRJ4Z7At60B8fXvY225Ak8aXXsT5lj6g4nA9aeSz2YO+F0 8LYw== X-Gm-Message-State: AOJu0YxK58bXlzjYnJgwbyXqXmPcOOICByzL1RgPm7S4eQcTUT2JLBPN yA6nCbmDdRbEVAi1WtvsnE+UpeSqMIFV8w== X-Received: by 2002:a5b:347:0:b0:d84:d709:7966 with SMTP id q7-20020a5b0347000000b00d84d7097966mr2114718ybp.0.1695024228432; Mon, 18 Sep 2023 01:03:48 -0700 (PDT) Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com. [209.85.128.173]) by smtp.gmail.com with ESMTPSA id 185-20020a2519c2000000b00d8514dcbbfdsm182700ybz.13.2023.09.18.01.03.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Sep 2023 01:03:47 -0700 (PDT) Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-59bd2e19c95so44472397b3.0; Mon, 18 Sep 2023 01:03:47 -0700 (PDT) X-Received: by 2002:a0d:df43:0:b0:59a:b7b2:5f02 with SMTP id i64-20020a0ddf43000000b0059ab7b25f02mr9659667ywe.18.1695024227472; Mon, 18 Sep 2023 01:03:47 -0700 (PDT) MIME-Version: 1.0 References: <20230912045157.177966-1-claudiu.beznea.uj@bp.renesas.com> <20230912045157.177966-11-claudiu.beznea.uj@bp.renesas.com> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 18 Sep 2023 10:03:35 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 10/37] clk: renesas: rzg2l: use core->name for clock name To: claudiu beznea Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, magnus.damm@gmail.com, catalin.marinas@arm.com, will@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com, quic_bjorande@quicinc.com, arnd@arndb.de, konrad.dybcio@linaro.org, neil.armstrong@linaro.org, nfraprado@collabora.com, rafal@milecki.pl, wsa+renesas@sang-engineering.com, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:05:38 -0700 (PDT) On Fri, Sep 15, 2023 at 7:47 AM claudiu beznea wrote: > On 14.09.2023 16:04, Geert Uytterhoeven wrote: > > On Tue, Sep 12, 2023 at 6:52 AM Claudiu wrote: > >> From: Claudiu Beznea > >> > >> core->name already contains the clock name thus, there is no > >> need to check the GET_SHIFT(core->conf) to decide on it. > >> > >> Signed-off-by: Claudiu Beznea > > > > Thanks for your patch! > > > >> --- a/drivers/clk/renesas/rzg2l-cpg.c > >> +++ b/drivers/clk/renesas/rzg2l-cpg.c > >> @@ -266,7 +266,7 @@ rzg2l_cpg_sd_mux_clk_register(const struct cpg_core_clk *core, > >> clk_hw_data->priv = priv; > >> clk_hw_data->conf = core->conf; > >> > >> - init.name = GET_SHIFT(core->conf) ? "sd1" : "sd0"; > >> + init.name = core->name; > > > > Note that this does change the case of the names (e.g. "SD0" => "sd0"). > > I guess no one cares... > > As of my experiments and investigation we should be good with it. Thx, will queue in renesas-clk-for-v6.7. 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