aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-12-08 11:51:54 +0100
committerKrzysztof Wilczyński <[email protected]>2023-12-15 23:48:18 +0000
commita711253d5f706dfc018a4a193ef401b7e8cf1d93 (patch)
tree9c41169a386e97221dac4e9236cbd39fab23ff47
parentf2ab5a2455d95e50ebbd835c92ddb2a632b2d301 (diff)
dt-bindings: PCI: qcom: Correct clocks for SM8150
PCI node in Qualcomm SM8150 should have exactly 8 clocks, including the ref clock. Suggested-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Acked-by: Rob Herring <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/pci/qcom,pcie.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
index ce841ea1578c..9dfb341e4f77 100644
--- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
@@ -555,6 +555,32 @@ allOf:
contains:
enum:
- qcom,pcie-sm8150
+ then:
+ properties:
+ clocks:
+ minItems: 8
+ maxItems: 8
+ clock-names:
+ items:
+ - const: pipe # PIPE clock
+ - const: aux # Auxiliary clock
+ - const: cfg # Configuration clock
+ - const: bus_master # Master AXI clock
+ - const: bus_slave # Slave AXI clock
+ - const: slave_q2a # Slave Q2A clock
+ - const: tbu # PCIe TBU clock
+ - const: ref # REFERENCE clock
+ resets:
+ maxItems: 1
+ reset-names:
+ items:
+ - const: pci # PCIe core reset
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
- qcom,pcie-sm8250
then:
oneOf: