Message ID | 20250310065613.151598-1-quic_ziyuzhan@quicinc.com |
---|---|
Headers | show |
Series | pci: qcom: Add QCS615 PCIe support | expand |
On Mon, Mar 10, 2025 at 08:18:35AM +0100, Krzysztof Kozlowski wrote: > On 10/03/2025 07:56, Ziyue Zhang wrote: > > From: Krishna chaitanya chundru <quic_krichai@quicinc.com> > > > > Add dedicated schema for the PCIe controllers found on QCS615. > > Due to qcs615's clock-names do not match any of the existing > > dt-bindings, a new compatible for qcs615 is needed. > > > > Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com> > > Signed-off-by: Ziyue Zhang <quic_ziyuzhan@quicinc.com> > > --- > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Sigh, this wasn't ever tested. NAK Best regards, Krzysztof
On 3/10/25 7:56 AM, Ziyue Zhang wrote: > From: Krishna chaitanya chundru <quic_krichai@quicinc.com> > > Add configurations in devicetree for PCIe0, including registers, clocks, > interrupts and phy setting sequence. > > Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com> > Signed-off-by: Ziyue Zhang <quic_ziyuzhan@quicinc.com> > --- > arch/arm64/boot/dts/qcom/qcs615.dtsi | 142 +++++++++++++++++++++++++++ > 1 file changed, 142 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi > index f4abfad474ea..282072084435 100644 > --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi > +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi > @@ -1001,6 +1001,148 @@ mmss_noc: interconnect@1740000 { > qcom,bcm-voters = <&apps_bcm_voter>; > }; > > + pcie: pcie@1c08000 { Please set your tab size to 8 > + device_type = "pci"; > + compatible = "qcom,pcie-sm8550", "qcom,qcs615-pcie"; This is saying "this device is a SM8550 PCIe controller, which is compatible with QCS615's PCIe controller - should be the other way around.. Or according to the bindings you added in patch 1, this should just be "qcom,qcs615-pcie" > + reg = <0x0 0x01c08000 0x0 0x3000>, > + <0x0 0x40000000 0x0 0xf1d>, > + <0x0 0x40000f20 0x0 0xa8>, > + <0x0 0x40001000 0x0 0x1000>, > + <0x0 0x40100000 0x0 0x100000>, > + <0x0 0x01c0b000 0x0 0x1000>; [...] > + phys = <&pcie_phy>; > + phy-names = "pciephy"; > + > + operating-points-v2 = <&pcie_opp_table>; > + > + status = "disabled"; > + pcie_opp_table: opp-table { Please add a newline before the subnode Konrad