Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1543802rwb; Fri, 23 Sep 2022 14:29:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM40jPXOzDJjS0DqxwNcdS2vXPm/lyqphTlcCrXRb3ublKgE5CVhnGiDjeXlpj1wCFyp31PE X-Received: by 2002:a17:907:2bd5:b0:76f:591c:466b with SMTP id gv21-20020a1709072bd500b0076f591c466bmr8454701ejc.504.1663968554305; Fri, 23 Sep 2022 14:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663968554; cv=none; d=google.com; s=arc-20160816; b=qLB+I08872hSdtMh2OYV/DkubXcPMkc76vQmOC0hO3YJQfv4Km/WPkU4WcBNcul6tm f4ZsuRo/3O7OADsVupYFLyCgdl6tdmwreXpGR09374LNrp5A1eg+/28ajndexnzMmSsQ E11P3UgjunaLwpZFwZsDZaPRgTtd9xfbxrLuHmGG6gK4PI9sQ/tP1ZEUmhH+W7V6dqy0 QfCaLbchzJZYyM1mcK/7wXwI/CWuiEFxjhCTF1i7YJ0cPTnGIYIWAjt3WxZ7Kl6iLNzF xNjRl1EX6yGOAEOOMTKV+oRvFw0EKAmzRid/MXlg1oo6TEOn7F3vGzRMZKmRB/+HqxCG mRVQ== 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 :message-id:subject:cc:to:from:date:dkim-signature; bh=8fYwOGHIklv1Qw817eQaQzraFFRW93vL6UYRioUe5Ms=; b=yJqjr8Az5b3vt/OvOi6TwbuBBQcQQzC6nwhHMy2h22vuhJ4osx3I2cRQW1UUIiLgJJ FY7PzA7HndnPE69MQ8LEfLlTqoT+n7qGVFZ+kH6JwBkOB75WXn5qs5P0HlRbdgp8tE6B uBrtq+uvpH6PE1RrCDkHbAlEVO7vztFf9OjHxdVUAgq45GqvQvbcTdOnKMyJunaU/2cw HSEXPhr81fjYDCw3o9aw3JUXPuXBS0z2wRwWAqRjs4HrzlVsdgIqCb84+/rH+oIeaQRR fjfybLAlZip1HVsqFTG81amKWiHy+xGh6ZObhlBcMhjuaWG1pv54ccDZdwPAijhqcomt by3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FD8sRLDP; 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 e13-20020a1709062c0d00b00780dd2b1fb3si7331797ejh.867.2022.09.23.14.28.49; Fri, 23 Sep 2022 14:29:14 -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=FD8sRLDP; 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 S232716AbiIWVOq (ORCPT + 99 others); Fri, 23 Sep 2022 17:14:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbiIWVOo (ORCPT ); Fri, 23 Sep 2022 17:14:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A000336DD3; Fri, 23 Sep 2022 14:14:42 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 2A06E616C6; Fri, 23 Sep 2022 21:14:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12C2FC433D6; Fri, 23 Sep 2022 21:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663967681; bh=5eV5oae5IogxFEibo+YbsDwpSJMyOm4+PnytOZievbw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=FD8sRLDPNfI7jbxrFwUDZleTafq1KSpS/ZiCWDfez7aZyBEW0XceQwkmHD+h2QxZ0 P6VEmsq73Mo4MQZMXQbQHz3HHdjg9PpD3auNrgVEiWmkl4L7Vzgz//hazhgEIqKMSf YhSflMFtnz7gVlbDsmF64sOQXt6+wglTsRHQzrb5RyP4be7yxAeErGQDIga7PczSAs ucUEqKwHgcFPbnBz814coUGwHpGxSNm/YSRx0T82YOLJU9yIy/hLlqzizEmUwWoXIW od/IRxWTgGW9gNdaYFQbfUAV6/o15NcqOT1uY0Y/qrr3HayWvWl1FllyEx6Jn07Lug 7gEIOX/bGHApQ== Date: Fri, 23 Sep 2022 16:14:39 -0500 From: Bjorn Helgaas To: Icenowy Zheng Cc: 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: <20220923211439.GA1418979@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220907054020.745672-1-uwu@icenowy.me> 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 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: 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