From patchwork Wed Jun 23 13:23:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12339835 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=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 34C57C4743C for ; Wed, 23 Jun 2021 13:25:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ED41661075 for ; Wed, 23 Jun 2021 13:25:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED41661075 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xyY7Att43TTnaRatae/z9RTJTcdRkjSvtreBX/J/tNs=; b=CnJ+K12CCjki2N JR0vil/ThvtnfuAPZdwjIzYE4lc4uJGg4zskNM+48bUl1BToLe08cknz01eVzyiefvxozsNBsjgUd wwA+f5dn5prsLNkvFBGroSslUhGddLwmj4Xhf8L25F6TR/6hVqRVD+Q6lIBN6hueO6ZOKdfczWiXf tx9kG8jv/J1dGyYwifFJY9MTGWstzz3fNq3oCJ5thYiNas+877kjwTvTyHBsGJ2SvZUbzf6CQncxe NYDGZ0AO4ClT1N/bVwRhiAgoHELbCG3FeL44UHWicb01+hzpjCfy/0Buo9drTn2x5zs2U1z9rbTi5 aFhg9AFwyUaCecyxtZOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw2qv-00Am3T-Cw; Wed, 23 Jun 2021 13:23:37 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw2qr-00Am2J-MT for linux-arm-kernel@lists.infradead.org; Wed, 23 Jun 2021 13:23:34 +0000 Received: by mail-ed1-x529.google.com with SMTP id h17so3427466edw.11 for ; Wed, 23 Jun 2021 06:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=icz3yVZaBKoKX5vfFzNoQ1deA5c6HrQTyBzJ3S/dmpU=; b=Nd8BGvHG4fkZSwrvHa0V54ds3E7zPyQ5lfq56LFsxQUsJR+m+XtJRBJVEEMNKehrjQ dHlHp8TgEwSXX0e/IpLjB2csGXnZ+bvWy8R2VIldz/oaoebFRfRLHIBxzJF0VybbrgWw POWSTxS2tTDWN25hCnLhwb7bDHhY+VznvfubBIdwh/dWK7CCXdGelLyQxRM6XjlyOAbb 0t9u53ys5llAj527SRTdmk0wd/hp3tVipUTRXyVLHsRFcU3Jy2WlUvZDtUup/86qFvm9 iyyUzk3MdplNg4FbpcpTVqb0skmLm8ZucI0+NXcgLhkWakVwvBdotHfNL8iXAWHYJbFA uznQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=icz3yVZaBKoKX5vfFzNoQ1deA5c6HrQTyBzJ3S/dmpU=; b=HWIpbmiMOVKDeFvrC/btTMvP6q+oQUhyqxx7hlj3bmcFEb90ufIOJR9cdEqIsf1W37 c9yLaKlwKQE5X+r4cOz58Aafoc4PN20pWtd905fIKzArl9uQojQp/pNTUe7f7JknT5X2 XS2tRyQDR4hrOr52bCYlk1CGvFLgLrFe78XYGLxKQa+lCr1lIcSJHMCwqFGvBYK/8TfN /P2flOABYpzXOK00M5O1adTFdMiuMU40okvkdAU14BSyaxwARqJvK3kG40SJieAwlyDH b/wuac50rM4guHyt2CNyQR7PvCzxwWJ1uRC8iNkH/1uvvgtVv8k6IHqGw+W7hRwifYm6 YZGQ== X-Gm-Message-State: AOAM530Y05n7hU5gk6g0+8HKi/qFVN63fYIqxOGFGwfObWJOU69jm0f8 S3fFaFIwJIXZCjrjusrwX+TcQw== X-Google-Smtp-Source: ABdhPJyhXeGkzrD7cnNNDLRAfHQBWl7KLjfXWEQOkdCJPTp+0+bGmwSyem9kK6cjSI+v6rQFtDRwmA== X-Received: by 2002:a05:6402:53:: with SMTP id f19mr12470179edu.200.1624454612307; Wed, 23 Jun 2021 06:23:32 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id b24sm1814916ejl.61.2021.06.23.06.23.31 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Jun 2021 06:23:31 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, bharat.kumar.gogada@xilinx.com, kw@linux.com Cc: Bjorn Helgaas , Lorenzo Pieralisi , Marc Zyngier , Ravi Kiran Gummaluri , Rob Herring , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org Subject: [PATCH v2 0/2] PCI: xilinx-nwl: Add clock handling Date: Wed, 23 Jun 2021 15:23:28 +0200 Message-Id: X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210623_062333_834784_F9347F28 X-CRM114-Status: GOOD ( 10.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, this small series add support for enabling pcie reference clock by driver. Thanks, Michal Changes in v2: - new patch in this series because I found that it has never been sent - Update commit message - reported by Krzysztof - Check return value from clk_prepare_enable() - reported by Krzysztof Hyun Kwon (1): PCI: xilinx-nwl: Enable the clock through CCF Michal Simek (1): dt-bindings: pci: xilinx-nwl: Document optional clock property .../devicetree/bindings/pci/xilinx-nwl-pcie.txt | 1 + drivers/pci/controller/pcie-xilinx-nwl.c | 12 ++++++++++++ 2 files changed, 13 insertions(+)