* [PATCH v2 0/2] PCI: xilinx-nwl: Add clock handling
@ 2021-06-23 13:23 Michal Simek
2021-06-23 13:23 ` [PATCH v2 1/2] dt-bindings: pci: xilinx-nwl: Document optional clock property Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2021-06-23 13:23 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git, bharat.kumar.gogada, kw
Cc: Bjorn Helgaas, Lorenzo Pieralisi, Marc Zyngier,
Ravi Kiran Gummaluri, Rob Herring, Rob Herring, devicetree,
linux-arm-kernel, linux-pci
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2 1/2] dt-bindings: pci: xilinx-nwl: Document optional clock property
2021-06-23 13:23 [PATCH v2 0/2] PCI: xilinx-nwl: Add clock handling Michal Simek
@ 2021-06-23 13:23 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2021-06-23 13:23 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git, bharat.kumar.gogada, kw
Cc: Bjorn Helgaas, Rob Herring, devicetree, linux-arm-kernel,
linux-pci
Clock property hasn't been documented in binding document but it is used
for quite a long time where clock was specified by commit 9c8a47b484ed
("arm64: dts: xilinx: Add the clock nodes for zynqmp").
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Changes in v2:
- new patch in this series because I found that it has never been sent
Bharat: Can you please start to work on converting it to yaml?
---
Documentation/devicetree/bindings/pci/xilinx-nwl-pcie.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pci/xilinx-nwl-pcie.txt b/Documentation/devicetree/bindings/pci/xilinx-nwl-pcie.txt
index 2d677e90a7e2..f56f8c58c5d9 100644
--- a/Documentation/devicetree/bindings/pci/xilinx-nwl-pcie.txt
+++ b/Documentation/devicetree/bindings/pci/xilinx-nwl-pcie.txt
@@ -35,6 +35,7 @@ Required properties:
Optional properties:
- dma-coherent: present if DMA operations are coherent
+- clocks: Input clock specifier. Refer to common clock bindings
Example:
++++++++
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-23 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-23 13:23 [PATCH v2 0/2] PCI: xilinx-nwl: Add clock handling Michal Simek
2021-06-23 13:23 ` [PATCH v2 1/2] dt-bindings: pci: xilinx-nwl: Document optional clock property Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).