PCI: xilinx-nwl: Enable the clock through CCF
authorHyun Kwon <hyun.kwon@xilinx.com>
Fri, 25 Jun 2021 10:48:23 +0000 (12:48 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 13 Aug 2021 14:39:27 +0000 (15:39 +0100)
commitde0a01f5296651d3a539f2d23d0db8f359483696
treecc0cbed132cee411e9db3d1ab3fe71848bde32cf
parent4d79e367185dc8e3f83525a38b77e36fac69a85e
PCI: xilinx-nwl: Enable the clock through CCF

Enable PCIe reference clock. There is no remove function that's why
this should be enough for simple operation.
Normally this clock is enabled by default by firmware but there are
usecases where this clock should be enabled by driver itself.
It is also good that PCIe clock is recorded in a clock framework.

Link: https://lore.kernel.org/r/ee6997a08fab582b1c6de05f8be184f3fe8d5357.1624618100.git.michal.simek@xilinx.com
Fixes: ab597d35ef11 ("PCI: xilinx-nwl: Add support for Xilinx NWL PCIe Host Controller")
Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: stable@vger.kernel.org
drivers/pci/controller/pcie-xilinx-nwl.c