mbox series

[v4,0/3] PCI: qcom: ep: Add basic interconnect support

Message ID 1686752666-13426-1-git-send-email-quic_krichai@quicinc.com
Headers show
Series PCI: qcom: ep: Add basic interconnect support | expand

Message

Krishna chaitanya chundru June 14, 2023, 2:24 p.m. UTC
Add basic support for managing "pcie-mem" interconnect path by setting
a low constraint before enabling clocks and updating it after the link
is up based on link speed and width the device got enumerated.

changes from v3:
	- ran make DT_CHECKER_FLAGS=-m dt_binding_check and fixed
	 errors.
	- Added macros in the qcom ep driver patch as suggested by Dmitry
changes from v2:
        - changed the logic for getting speed and width as suggested
         by bjorn.
        - fixed compilation errors.

Krishna chaitanya chundru (3):
  dt-bindings: PCI: qcom: ep: Add interconnects path
  arm: dts: qcom: sdx55: Add interconnect path
  PCI: qcom-ep: Add ICC bandwidth voting support

 .../devicetree/bindings/pci/qcom,pcie-ep.yaml      | 13 ++++
 arch/arm/boot/dts/qcom-sdx55.dtsi                  |  4 ++
 drivers/pci/controller/dwc/pcie-qcom-ep.c          | 73 ++++++++++++++++++++++
 3 files changed, 90 insertions(+)

Comments

Krzysztof Kozlowski June 15, 2023, 8:38 a.m. UTC | #1
On 14/06/2023 16:24, Krishna chaitanya chundru wrote:
> Some platforms may not boot if a device driver doesn't
> initialize the interconnect path. Mostly it is handled
> by the bootloader but we have starting to see cases
> where bootloader simply ignores them.
> 
> Add the "pcie-mem" interconnect path as a required property
> to the bindings.
> 

I did not receive third patch in the series, so I hope you corrected all
DTS in the linux-next (sdx55, sdx65).


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof