[PATCH v5 2/5] dt-bindings: PCI: mediatek: Convert to YAML schema

Rob Herring (Arm) robh at kernel.org
Wed Oct 15 06:59:36 PDT 2025


On Sun, 12 Oct 2025 22:56:56 +0200, Christian Marangi wrote:
> Convert the PCI mediatek Documentation to YAML schema to enable
> validation of the supported GEN1/2 Mediatek PCIe controller.
> 
> While converting, lots of cleanup were done from the .txt with better
> specifying what is supported by the various PCIe controller variant and
> drop of redundant info that are part of the standard PCIe Host Bridge
> schema.
> 
> To reduce schema complexity the .txt is split in 2 YAML, one for
> mt7623/mt2701 and the other for every other compatible.
> 
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
> ---
>  .../bindings/pci/mediatek-pcie-mt7623.yaml    | 164 +++++++++
>  .../devicetree/bindings/pci/mediatek-pcie.txt | 289 ----------------
>  .../bindings/pci/mediatek-pcie.yaml           | 318 ++++++++++++++++++
>  3 files changed, 482 insertions(+), 289 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/pci/mediatek-pcie-mt7623.yaml
>  delete mode 100644 Documentation/devicetree/bindings/pci/mediatek-pcie.txt
>  create mode 100644 Documentation/devicetree/bindings/pci/mediatek-pcie.yaml
> 

Reviewed-by: Rob Herring (Arm) <robh at kernel.org>




More information about the linux-arm-kernel mailing list