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: 12344805 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 33B89C49EA7 for ; Fri, 25 Jun 2021 10:48:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 17E506144F for ; Fri, 25 Jun 2021 10:48:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231484AbhFYKu4 (ORCPT ); Fri, 25 Jun 2021 06:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231434AbhFYKuy (ORCPT ); Fri, 25 Jun 2021 06:50:54 -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 4864DC061760 for ; Fri, 25 Jun 2021 03:48:33 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id d16so10942760ejm.7 for ; Fri, 25 Jun 2021 03:48: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=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=T7Ro78mA8OwAQ45E74goxDFZlw3xzwoF0IfOJAG1tcIjXypA4Xne2uNu406aMJVZeD q9WcKxx/EXZ5aXuPBgNi9Dai5IbMA0MgGgEsKtSX32sk8eyKBVdhr9x7peALII68z7/D 3XZVMibxLH396eDSQHhxAPcyH0lLtHV1/uZkAI/kSyZqM4TD0hOwMN/zmGrfynKL8PBk 66CRmjuUk+ytTY2sWbj2sYiVu9BzbdkB6wdWRwnA+T+AKnqKC3NlTXhPi7JK1Rbws8Pv sCtap8Oex/uCgfAE+orR5wtsCfBVTGdWBegMjt+igdrWYNckm6UrquZ7Fhnn9b2HWCKv NFaQ== X-Gm-Message-State: AOAM533nPBNN/oytzVEaaaCNewWRogJrSGVqQAke1AnapN9Pknc9Dyjg nnvqGtplOdKV8koiUjnhsIEfmQ== 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) Sender: Michal Simek 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 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.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(+)