PCI: qcom-ep: Disable Master AXI Clock when there is no PCIe traffic
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 14 Sep 2022 07:53:45 +0000 (13:23 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Oct 2022 22:15:47 +0000 (17:15 -0500)
commit0391632948d9c1394601ae56d0cb25a1630874ed
treefa04e3830f9187ac3d828b49adf6092d8273afbe
parentc457ac029e443faa5886f59f849e94701375b80f
PCI: qcom-ep: Disable Master AXI Clock when there is no PCIe traffic

The Master AXI clock can be disabled when it is not used i.e., when there
is no traffic on the PCIe bus. This helps to save power during idle state.

[bhelgaas: tidy and wrap comment]
Link: https://lore.kernel.org/r/20220914075350.7992-8-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pcie-qcom-ep.c