OSDN Git Service

dt-bindings: PCI: qcom: Convert to YAML
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 6 May 2022 15:21:00 +0000 (18:21 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 May 2022 21:41:10 +0000 (16:41 -0500)
commit075a9d55932edc8bddf85c6f8c0764928691cde4
treea96f548a646a17562caf91465821ef980123fae2
parent83013631f0f9961416abd812e228c8efbc2f6069
dt-bindings: PCI: qcom: Convert to YAML

Changes to the schema:
 - Fixed the ordering of clock-names/reset-names according to
   the dtsi files.
 - Mark vdda-supply as required only for apq/ipq8064 (as it was marked
   as generally required in the txt file).

Changes to examples:
 - Inline clock and reset numbers rather than including dt-bindings
   files because of conflicts between the headers
 - Split ranges and reg properties to follow current practice
 - Change -gpio to -gpios
 - Update IRQ flags to LEVEL_HIGH rater than NONE
 - Removed extra "snps,dw-pcie" compatibility.

Note: while it was not clearly described in text schema, the majority of
Qualcomm platforms follow the snps,dw-pcie schema and use two
compatibility strings in the DT files: platform-specific one and a
fallback to the generic snps,dw-pcie one. However the platform itself is
not compatible with the snps,dw-pcie interface, so we are going to
remove it.

Link: https://lore.kernel.org/r/20220506152107.1527552-2-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/qcom,pcie.txt [deleted file]
Documentation/devicetree/bindings/pci/qcom,pcie.yaml [new file with mode: 0644]