OSDN Git Service

dt-bindings: pci: qcom: Document PCIe bindings for SM8450
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 23 Feb 2022 10:14:32 +0000 (13:14 +0300)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 23 Feb 2022 10:56:43 +0000 (10:56 +0000)
Document the PCIe DT bindings for SM8450 SoC. The PCIe IP is similar
to the one used on SM8250, however unlike SM8250, PCIe0 and PCIe1 use
different set of clocks, so two compatible entries are required.

Link: https://lore.kernel.org/r/20220223101435.447839-2-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Documentation/devicetree/bindings/pci/qcom,pcie.txt

index a0ae024..0adb56d 100644 (file)
@@ -15,6 +15,8 @@
                        - "qcom,pcie-sc8180x" for sc8180x
                        - "qcom,pcie-sdm845" for sdm845
                        - "qcom,pcie-sm8250" for sm8250
+                       - "qcom,pcie-sm8450-pcie0" for PCIe0 on sm8450
+                       - "qcom,pcie-sm8450-pcie1" for PCIe1 on sm8450
                        - "qcom,pcie-ipq6018" for ipq6018
 
 - reg:
                        - "ddrss_sf_tbu" PCIe SF TBU clock
                        - "pipe"        PIPE clock
 
+- clock-names:
+       Usage: required for sm8450-pcie0 and sm8450-pcie1
+       Value type: <stringlist>
+       Definition: Should contain the following entries
+                       - "aux"         Auxiliary clock
+                       - "cfg"         Configuration clock
+                       - "bus_master"  Master AXI clock
+                       - "bus_slave"   Slave AXI clock
+                       - "slave_q2a"   Slave Q2A clock
+                       - "tbu"         PCIe TBU clock
+                       - "ddrss_sf_tbu" PCIe SF TBU clock
+                       - "pipe"        PIPE clock
+                       - "pipe_mux"    PIPE MUX
+                       - "phy_pipe"    PIPE output clock
+                       - "ref"         REFERENCE clock
+                       - "aggre0"      Aggre NoC PCIe0 AXI clock, only for sm8450-pcie0
+                       - "aggre1"      Aggre NoC PCIe1 AXI clock
+
 - resets:
        Usage: required
        Value type: <prop-encoded-array>
                        - "ahb"                 AHB reset
 
 - reset-names:
-       Usage: required for sc8180x, sdm845 and sm8250
+       Usage: required for sc8180x, sdm845, sm8250 and sm8450
        Value type: <stringlist>
        Definition: Should contain the following entries
                        - "pci"                 PCIe core reset