diff mbox series

[1/2] dt-bindings: PCI: mediatek-gen3: Add support for MT8188 and MT8195

Message ID 20220716074349.28655-2-jianjun.wang@mediatek.com (mailing list archive)
State Superseded
Headers show
Series dt-bindings: PCI: mediatek-gen3: Add support for MT8188 and MT8195 | expand

Commit Message

Jianjun Wang (王建军) July 16, 2022, 7:43 a.m. UTC
MT8188 and MT8195 are ARM platform SoCs with the same PCIe IP as MT8192.

Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com>
---
 .../devicetree/bindings/pci/mediatek-pcie-gen3.yaml      | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
index 0499b94627ae..67d2ba25e336 100644
--- a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
+++ b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
@@ -48,7 +48,14 @@  allOf:
 
 properties:
   compatible:
-    const: mediatek,mt8192-pcie
+    oneOf:
+      - items:
+          - enum:
+              - mediatek,mt8188-pcie
+              - mediatek,mt8195-pcie
+          - const: mediatek,mt8192-pcie
+      - items:
+          - const: mediatek,mt8192-pcie
 
   reg:
     maxItems: 1