mbox series

[v3,0/3] PCI: qcom: Add support for OPP

Message ID 1692627343-4380-1-git-send-email-quic_krichai@quicinc.com (mailing list archive)
Headers show
Series PCI: qcom: Add support for OPP | expand

Message

Krishna Chaitanya Chundru Aug. 21, 2023, 2:15 p.m. UTC
This patch adds support for OPP to vote for the performance state of RPMH
power domain based upon GEN speed it PCIe got enumerated.

Before link up PCIe driver will vote for the maximum performance state.

changes from v3:
	- Instead of using the freq based opp search use level based as suggested
	  by Dmitry Baryshkov.
Changes from v1:
        - Addressed comments from Krzysztof Kozlowski.
        - Added the rpmhpd_opp_xxx phandle as suggested by pavan.
        - Added dev_pm_opp_set_opp API call which was missed on previous patch.

Krishna chaitanya chundru (3):
  dt-bindings: pci: qcom: Add binding for operating-points-v2
  arm64: dts: qcom: sm8450: Add opp table support to PCIe
  PCI: qcom: Add OPP support for speed based performance state of RPMH

 .../devicetree/bindings/pci/qcom,pcie.yaml         |  4 ++
 arch/arm64/boot/dts/qcom/sm8450.dtsi               | 47 ++++++++++++++++++++++
 drivers/pci/controller/dwc/pcie-qcom.c             | 47 ++++++++++++++++++++++
 3 files changed, 98 insertions(+)