Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1548585rwb; Fri, 23 Sep 2022 14:34:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6EbKGrjfNAwYo56jIxPLQmBWq4D4xXv8Zrz2SrhwsqYZD2HyPkiKgKfNfiyPUkapp0psKD X-Received: by 2002:a17:903:11c7:b0:178:afa2:43fd with SMTP id q7-20020a17090311c700b00178afa243fdmr10481645plh.126.1663968843258; Fri, 23 Sep 2022 14:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663968843; cv=none; d=google.com; s=arc-20160816; b=uR9S3HLdNODChsCPvGNFVhPGZhkV8m4ZOmDtWYperuxxMm1vOwB+DjtO2zPsyOqRzn TLu8vGsFECrMA7mNCvxzB2iE0RXisonLPY9YabXIY8WUKggfb93GG/Fu2GwesP8fXiiL 1csHtnsjO/BNCjADx6eIK4uYR+1wZI1vrxsTwfgs28Ep+RAKoKBVNI8GdkemWerUFYqt dQ8FOUnyh552gqQ9UWavA8JZEPLaIqWWSt99jHdfhqfHfTKgappYFuElagPv+i/rgwuQ yo/5DavYgPU5pdkp18TDGHUAXoteblv3XkRMA3Tlk+u+sA+DuxyQi2XdgE/LR188B6xA rnhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=n5rZpyXb03PcRBUKBYYkZIvOkjWP3sRjJdoWGb2hFP0=; b=oIXEOAYmjgCA/3/qtUZTJFn0pxhi/Y5alZ3yKpusnmTCrc+XCYY+IpBo9YJgPO/rod 50URTnSe9PwG6/00uH2oF3fgNcFP021Xh2FVAvZkcvBUNgHa0BRVvU3vTcGRz0T4iIDx YxRe9J/A8Te9ABuDZTn+n+19d1XBwCTN0PmBdXgQKwIRQzTr7kdsO0b9Agks4nyUVMz1 gUbHrYkDSei8hM7U3pcXaRfgbNGNFMnTtlZwNt/0lVEnmP1NRerFrIIE9GKcIvMSgUBB x9WG4NrvRM9O4mnzrbAWXOz54hrzr6sI11yqJbTlCAGxZfQL5lUuIeryeNako9RRAn7R IJCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="W/IhEsOK"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a170902864400b001768f32f952si3894566plt.538.2022.09.23.14.33.50; Fri, 23 Sep 2022 14:34:03 -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=@kernel.org header.s=k20201202 header.b="W/IhEsOK"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230018AbiIWVZq (ORCPT + 99 others); Fri, 23 Sep 2022 17:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231205AbiIWVZW (ORCPT ); Fri, 23 Sep 2022 17:25:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39AAD12414D; Fri, 23 Sep 2022 14:25:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E2495B816E1; Fri, 23 Sep 2022 21:25:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 660F5C433C1; Fri, 23 Sep 2022 21:25:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663968318; bh=hsD/lZITtHJp72cz/xXd+DURtS1POakzVq0Ixobci8g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W/IhEsOKbcxSPvU3zcTj1Y6sdZN7FRaXkT41fjCAYlwbL8RBsyhTXkfSnAFLArfDX R/VzThTTE91mtv2qyBs6xjIvfGccKwp1V5CWhGdWJHkvlgKSfI8lsnMEhvTym5Sb6g xvF8CcJvVPKImsccq9nkknvb8j8u1Dpyf1LswNuzip+bWuOrp7nKmr9aaQtVz9pCxY tBPVA2kgmhckorZ3sOu+AudJDSCikzaPBfknqb5mkVaHco0J/uMHFSU5Ss5HwUqKvu B98nePFTXvaMUi97S9HLuLfy9GL4QvXknaLMweV9BTuAEF0Ctn6OpRlYU96CraofYf yU6GLzDAmBsfA== Date: Fri, 23 Sep 2022 22:25:13 +0100 From: Conor Dooley To: Bjorn Helgaas Cc: Icenowy Zheng , Paul Walmsley , Greentime Hu , Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH] PCI: fu740: do not use clock name when requesting clock Message-ID: References: <20220907054020.745672-1-uwu@icenowy.me> <20220923211439.GA1418979@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220923211439.GA1418979@bhelgaas> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Fri, Sep 23, 2022 at 04:14:39PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 07, 2022 at 01:40:20PM +0800, Icenowy Zheng wrote: > > The DT binding of FU740 PCIe does not enforce a clock-names property, > > and there exist some device tree that has a clock name that does not > > stick to the one used by Linux DT (e.g. the one shipped with current > > U-Boot mainline). > > > > Drop the name in the clock request, instead just pass NULL (because > > this device should have only a single clock). > > If you rework this for any reason, please capitalize the subject line > to match the convention: It prob needs a v2 because the first sentence of the commit message is wrong, I recently added the binding enforcement. Thanks, Conor. > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/pci/controller/dwc/pcie-fu740.c > > > Signed-off-by: Icenowy Zheng > > --- > > drivers/pci/controller/dwc/pcie-fu740.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/pci/controller/dwc/pcie-fu740.c b/drivers/pci/controller/dwc/pcie-fu740.c > > index 0c90583c078b..edb218a37a4f 100644 > > --- a/drivers/pci/controller/dwc/pcie-fu740.c > > +++ b/drivers/pci/controller/dwc/pcie-fu740.c > > @@ -315,7 +315,7 @@ static int fu740_pcie_probe(struct platform_device *pdev) > > return dev_err_probe(dev, PTR_ERR(afp->pwren), "unable to get pwren-gpios\n"); > > > > /* Fetch clocks */ > > - afp->pcie_aux = devm_clk_get(dev, "pcie_aux"); > > + afp->pcie_aux = devm_clk_get(dev, NULL); > > if (IS_ERR(afp->pcie_aux)) > > return dev_err_probe(dev, PTR_ERR(afp->pcie_aux), > > "pcie_aux clock source missing or invalid\n"); > > -- > > 2.37.1 > > > > > > _______________________________________________ > > linux-riscv mailing list > > linux-riscv@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-riscv > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv