Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4695227rdb; Fri, 15 Sep 2023 09:28:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJfE0yNbR5uC6XFTW2pt4rqpBu/zjl6BkKWLCOrFbsNhg1LWSqd9L4XFC+5coQQzBgqfEZ X-Received: by 2002:a17:90a:f401:b0:26d:1a46:1646 with SMTP id ch1-20020a17090af40100b0026d1a461646mr1785183pjb.48.1694795331786; Fri, 15 Sep 2023 09:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694795331; cv=none; d=google.com; s=arc-20160816; b=EeFiF9hH7s83OqXIUFmccJYy7Gqezo6ayMtgzyBS4AN6oUfYLULmpqVgCbmD8mj40G VJxDSPYWvao3hB6oFFEgk11HnwG8pr7uIdD3l9MgSTbtwGpytW2z+UbL9eZt8HRjFM1T 5Bibyby+E3D0JKcS4WZZ3iQM+zwO4sySQRaoh1QLxUWGqw0fKe7oQtqUKfRxpv3s0Wxw JPX/jjD160EhDR+H/Tk5tokqqM51wp9H95L/zDaLGZWF26VwmhNSbe8Y6NVyttPd1Aki 2bSgnAaVPt4KnxGop9fW5UpBMQ6NUZ2vX1llTp86mHikVavXVOW5FJwNtL3Tik7l0AqH 5Psw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mClZXEGSNnJrMU5yPF0CrbEDF0lrJX5nJWaXZOJ3BUU=; fh=9WUlotjdcho09YgDC581cPl/eySsmGPZyQaqau6O77w=; b=dmyp/mVRYFCla0b54qK5xfuGDsVcb8vlm/LLg64Y17+DgYZCWQJcUmZB0IY2oKA2Rv cbPuSiAgsP/T4Now+M/HVcK9WhrdZuP5cgGGAkYBscBzfnrW7Mf9xpulcKL3ED82JbQY PNdZIAS89ok+yYQaLRD4egKxaw8rvh8gIvpgUXWFZS3si/cklOlohCan87je2Xo35V1m Sc09YbGnbZ4rpOw3msRWxPwud98zomcjTpoaDHrVlJLFD2xyVkugSRf2ORz8rNeA/QFt SgLDCv4bDNtk7AeDKDNgvmFQ41+NLmk6Axl/RRc+khSonmH2cx0CnboxOuv7vcLAIkz8 pigw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b="DvW/ksLH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id gl20-20020a17090b121400b00262ecc1963fsi4276235pjb.33.2023.09.15.09.28.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 09:28:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b="DvW/ksLH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 08DF882AAC63; Thu, 14 Sep 2023 22:48:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232143AbjIOFsN (ORCPT + 99 others); Fri, 15 Sep 2023 01:48:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229754AbjIOFsM (ORCPT ); Fri, 15 Sep 2023 01:48:12 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B8EC2D61 for ; Thu, 14 Sep 2023 22:47:47 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-9a21b6d105cso215190966b.3 for ; Thu, 14 Sep 2023 22:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1694756866; x=1695361666; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mClZXEGSNnJrMU5yPF0CrbEDF0lrJX5nJWaXZOJ3BUU=; b=DvW/ksLHY7MnOj0pAEb1t1YI/9qJK8E1UmLGDS4Iiz6fuhRE6+KCGXlySorsn3T/BZ 0G7AJGGazd+k37SJg/0IxXJvjcykzNosgwOgsygvydsEsiZLbw/f/vMMRbMVJnqrF5QV bHHFrr/1/HpKk0lckp9gzrJi2CDFPognvNY7sWJndYskxko1XXYKo+94CFRmevkCK1Tc 1O98iLzmTUSV7Bz1260UUG/NMqhee2yyloyy7Ww+n3dZvQED02QjpO7lT4B5GnpPvkSx X3Qlbcpw9vzD69UlGzXCjnMC3PjO48nNLRUPrZJX7eRmnYUitzENSGIrqv9v0/J8zGiI 2gIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694756866; x=1695361666; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mClZXEGSNnJrMU5yPF0CrbEDF0lrJX5nJWaXZOJ3BUU=; b=CfbsRq4z6+B+cpiEQ2N18exGtllYr3VCDx8FSM+4G0yFEGC3xJpFmIrNuVtUd0k78n 788yvRFEmWr4FsNu7YtKImlNDmzBt7pasT02mswStEBotTYdxqrVCnTVERfZ857O1Kag NMbiOXdqrQMo3uoLICCQ/Dqe3W4TsL9+ORfzMfKzL4Z/iSwSj+tmBQRX7K4MYHq3OV6V hEdgAP3PCZCN0N+GK1sWN7fw5YQxzyQBp/LRlMYUJLoRG09b5e4NOqSytXVB29oOXuYG hHIU+j2olOD5TD2rQcODmuEZ31jfEPmD491o07fJjB4C3Kf263MoF8vrQOmgCrfz0MxU K4nw== X-Gm-Message-State: AOJu0YyBcIa19/Jl/G1kZ50x5vhfsNs1YtkskQmLbiJig7wyFFiYxIkL 5TwVc/wlaBdBiKJ3dcikQ72s3w== X-Received: by 2002:a17:906:220e:b0:9a1:beb2:1cb8 with SMTP id s14-20020a170906220e00b009a1beb21cb8mr484383ejs.39.1694756865698; Thu, 14 Sep 2023 22:47:45 -0700 (PDT) Received: from [192.168.32.2] ([82.78.167.145]) by smtp.gmail.com with ESMTPSA id r11-20020a170906350b00b009a5f1d1564dsm1893684eja.126.2023.09.14.22.47.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Sep 2023 22:47:45 -0700 (PDT) Message-ID: Date: Fri, 15 Sep 2023 08:47:42 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH 10/37] clk: renesas: rzg2l: use core->name for clock name Content-Language: en-US To: Geert Uytterhoeven 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 References: <20230912045157.177966-1-claudiu.beznea.uj@bp.renesas.com> <20230912045157.177966-11-claudiu.beznea.uj@bp.renesas.com> From: claudiu beznea In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 14 Sep 2023 22:48:25 -0700 (PDT) On 14.09.2023 16:04, Geert Uytterhoeven wrote: > Hi Claudiu, > > 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. > >> init.ops = &rzg2l_cpg_sd_clk_mux_ops; >> init.flags = 0; >> init.num_parents = core->num_parents; > > Reviewed-by: Geert Uytterhoeven > > Gr{oetje,eeting}s, > > Geert >