From patchwork Fri Jun 25 10:48:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12344821 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 067FBC2B9F4 for ; Fri, 25 Jun 2021 11:03:35 +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 BD98F6145C for ; Fri, 25 Jun 2021 11:03:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD98F6145C 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=0M0qGoLCZfZgElDO0nLnb4YMqWvoekEM0CXzQhn6m6s=; b=WwK5CG4NXpy7TL Z+seXhHctDhtjSQovY5qFbAjsm2fkgwYgcS0Y1uN9VgfebnZc1ztsdGYPJJCeH7GLowd18tAfCPlC 7tYEqg+xNU/6KGmJQbn6vYDX9DIXawcVcKuPuNQcQAEp5kauTpoTmXyRR+nF654f9U6MnAhceA3oK i0wU6ETWixmWjfMPj598/XgJYVF9UkTKl6EFJv1TzNxlAedVEQZNrWet4q6LL4iLBmmiRN0WDH9S5 xqYujPnf0UJXPBafe0MJhjTw0GXM5yHHoRBJuAchWafz35VWBQAlDUbGdyA7VTzdRVKxo7RSXsz5+ 2a3sIKQIRfXX4FHOiHdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwjaY-001BF8-FE; Fri, 25 Jun 2021 11:01:35 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwjNx-0016Ps-UC for linux-arm-kernel@lists.infradead.org; Fri, 25 Jun 2021 10:48:35 +0000 Received: by mail-ej1-x632.google.com with SMTP id he7so14358265ejc.13 for ; Fri, 25 Jun 2021 03:48:32 -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=WhOkJFhhcMCvG9eYnyjt7CnrRL/VDkD60CmDg5qW9qQ=; b=0UOZv1kJg5OVullQOL/2z7Z2f91Sa20xr6rC7Lkvxvlo/C7InWl5L25Kxu2zj5XNke JMAMjVznn//p0Cm45UOElhVW9+dtglXXFQ+jNYIJP2EZ0RW6joK6LkkHRTlUCtI35iVU Zmk+E3VO9roL5Du9cMY1OviNp77QIQy+fAiHZw5SzsbzjXN01yFqF2T1oZIm3Qmgqu++ UT5Z5Xm0nioJhJuIMRRxu38V45s8D+BR3kb3GvMuXD7wpM9tzXWvOEio8PnQ3nQjUCXU eNf49OgRWCAMG0iaIek4l5NTtGwW/DQHbwafUJPaDu/G3eL8OuLy1YR9pV4OLWbjEZfS HfrA== 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=WhOkJFhhcMCvG9eYnyjt7CnrRL/VDkD60CmDg5qW9qQ=; b=ZMivfZPGo/vI363/WnrJYmMkE3Kn1hZnxL3gYQBwd+Pgu+w8Hvhy1LH87VkmJDzls8 CAYsxYvIblUdwrDqPdyIpruBK3Rn1j4OB1AmUDG1vvU2VxEuBKNNssFxUKtt6JVhLrZf TkKpO7mtplNU+qb/xQgof83jAdhZ4eo3JHnarO386pGavP/zOk6HPa3VmmzqfEIcqYYK hMgAGzHuHJfr99LfjbrRdyayAQGbl71VfBFBqJmmloOTvSbmxQE66aTXMj1wYm06ynmX ac485GM/53dwnSvl1dV9YH3ztsdeBgzjBi2xp8Yt/JSWIiaE+23lcGl7lMs+43Xep1bb faCQ== X-Gm-Message-State: AOAM530MbM7Rn+0uHqA9puzdlt28cFcStqH3GC0J0GL9o93u1wYhwuSM mMRwi4N2y68iilC1fYHZaCMdZg== X-Google-Smtp-Source: ABdhPJyWv17CkFrPZyhAwT2UtrVpT95SIEZDss7AqBVx48NZh0LsFkNBBAX6d1Z6H81W1kERmmJl9w== X-Received: by 2002:a17:906:3c56:: with SMTP id i22mr10280007ejg.369.1624618111901; Fri, 25 Jun 2021 03:48:31 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id p17sm3653387eds.92.2021.06.25.03.48.31 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Jun 2021 03:48: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 v3 0/2] PCI: xilinx-nwl: Add clock handling Date: Fri, 25 Jun 2021 12:48:21 +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-20210625_034834_106995_D8BBEE2E X-CRM114-Status: GOOD ( 11.06 ) 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 v3: - use PCIe instead of pcie - add stable cc - update commit message - reported by Krzysztof 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(+)