Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5663368pxj; Wed, 23 Jun 2021 06:26:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKIFlC86NE6gJAh+nEtFaZegaUE6cdOksbvtYcHpldXsQunVOMHck9yssKRDkJBjo9j5W8 X-Received: by 2002:a17:906:1486:: with SMTP id x6mr9895431ejc.69.1624454815424; Wed, 23 Jun 2021 06:26:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624454815; cv=none; d=google.com; s=arc-20160816; b=Jiv/D+ZhL1G1PtJ0VwiM4/ZIGplR8ZkHCz5a/DeA9pcp5pcK6WcLTsp+ngkOR4Qay0 5yUfvyBXN9VK3pOEmow84JOavDmOskfmxv5baWAgwTKGmW5EFZde5ocHyJdCMVtNV9Ot +FStvo+/sOe6QAipRh56gopK19mo/QkWuVV5897hBQCqEh8km0irxuhZTewQgf76I93e hpO/ii+IzK9Rsdp0lhqkJmSdAtqumwX9BWWGRheqnzdCtlDNguJi33HXbUbBXa/6H9JE k97p3L8glL+6P2c8SVNiZ8sZnqspLW2YJkmbHdGM43IDJX1ItbO8jTBcWAUgAL7bibDq qyqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=icz3yVZaBKoKX5vfFzNoQ1deA5c6HrQTyBzJ3S/dmpU=; b=jjVPDk22KmL9J9WfTTn1RyLzvdEwQx42ArnmqVAmW0JhNY6QumUIEXSsU9Ov6FsJ8e 2EoDRx4dyhRUb5trGLnLsPt1PE2LLuSdU2iHUk/dKXPQhNXe1FfEXcEiSGfW6bRvvp72 KAtE1ORb98x87diffibtvUhIxGJZy4i2oDCWNTDEIQq3B9Q6kamGDcieE4/loMNuADQK qiDSnEz3Sb61ClZzMXUygUoopMzHySoWJhrYDHfrEts4rKL9fluXmXuzzQdd9Od2tx/a NAt9DST78MWsF+IZ4OEsN8VP4G0lGQBiTH1cNgCK/ic1IeYjf1Zv2HblkuMjZU54kSKG MbYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=Nd8BGvHG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si14978071edc.164.2021.06.23.06.26.31; Wed, 23 Jun 2021 06:26:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=Nd8BGvHG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230505AbhFWNZw (ORCPT + 99 others); Wed, 23 Jun 2021 09:25:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230274AbhFWNZv (ORCPT ); Wed, 23 Jun 2021 09:25:51 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCAA6C06175F for ; Wed, 23 Jun 2021 06:23:33 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id c7so3458617edn.6 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=hsLvcLkiTTQ8DceIHwIKtf1sWPIBs4vVD9NaiM/J0Qkd3ObzYYig79f4+ss5EoLcir czBk0LY5TekS1e7fUF/2HuxJJHqz/VWPW1Dz/eFkiBTy046O0oq91h38CevXTEJNyYXK /HpLyAHplcgygSLuMTHVCjcpRep62ccjhngUixqOXiKRgvrEJP0LwxqFdX7AHk+uYzzL ATTJGCXJeyv3FClxHyN/rRPRZv4kZURbRdErpwdiFHpQs26rdc6CVhL1vpg6NNDnKck6 pjOZxTxvWyGcKHS2Wfhr4SQzn4RWrGTg7+WygpPbp/5+Yd7A9Uf7s4WgXGRhpQJYSIwC Pnhg== X-Gm-Message-State: AOAM532W9w0W+oIg9aTSYcc6p8jYb02rRsxQAm+NNAwlvtX4/YikvP2N loXf8nEEDEijBLAcUuVXRTev6iyHr+R1Jn0m 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) 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 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(+) -- 2.32.0