Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: Add support for Airoha AN7583
@ 2025-09-23 19:06 Christian Marangi
  2025-09-23 19:07 ` [PATCH v2 2/2] PCI: mediatek-gen3: add support for Airoha AN7583 SoC Christian Marangi
  2025-09-24  8:36 ` [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: Add support for Airoha AN7583 AngeloGioacchino Del Regno
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Marangi @ 2025-09-23 19:06 UTC (permalink / raw)
  To: Ryder Lee, Jianjun Wang, Bjorn Helgaas, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Manivannan Sadhasivam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, linux-pci, linux-mediatek, devicetree,
	linux-kernel, linux-arm-kernel, upstream
  Cc: Christian Marangi

Introduce Airoha AN7583 SoC compatible in mediatek-gen3 PCIe controller
binding.

This differ from the Airoha EN7581 SoC by the fact that only one Gen3
PCIe controller is present on the SoC.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
Changes v2:
- Fix alphabetical order

 .../bindings/pci/mediatek-pcie-gen3.yaml      | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
index 0278845701ce..1ca9594a9739 100644
--- a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
+++ b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
@@ -58,6 +58,7 @@ properties:
           - const: mediatek,mt8196-pcie
       - const: mediatek,mt8192-pcie
       - const: mediatek,mt8196-pcie
+      - const: airoha,an7583-pcie-gen3
       - const: airoha,en7581-pcie
 
   reg:
@@ -276,6 +277,26 @@ allOf:
 
         mediatek,pbus-csr: false
 
+  - if:
+      properties:
+        compatible:
+          const: airoha,an7583-pcie-gen3
+    then:
+      properties:
+        clocks:
+          maxItems: 1
+
+        clock-names:
+          items:
+            - const: sys-ck
+
+        resets:
+          minItems: 1
+
+        reset-names:
+          items:
+            - const: phy-lane0
+
   - if:
       properties:
         compatible:
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-24  8:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-23 19:06 [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: Add support for Airoha AN7583 Christian Marangi
2025-09-23 19:07 ` [PATCH v2 2/2] PCI: mediatek-gen3: add support for Airoha AN7583 SoC Christian Marangi
2025-09-24  8:40   ` AngeloGioacchino Del Regno
2025-09-24  8:36 ` [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: Add support for Airoha AN7583 AngeloGioacchino Del Regno
2025-09-24  8:40   ` AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox