[PATCH v5 0/5] PCI: mediatek: add support AN7583 + YAML rework

Christian Marangi posted 5 patches 2 months, 1 week ago
There is a newer version of this series
.../bindings/pci/mediatek-pcie-mt7623.yaml    | 164 +++++++
.../devicetree/bindings/pci/mediatek-pcie.txt | 289 ------------
.../bindings/pci/mediatek-pcie.yaml           | 438 ++++++++++++++++++
arch/arm/boot/dts/mediatek/mt2701.dtsi        |   2 +-
arch/arm/boot/dts/mediatek/mt7623.dtsi        |   3 +-
drivers/pci/controller/pcie-mediatek.c        | 120 +++--
6 files changed, 690 insertions(+), 326 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
[PATCH v5 0/5] PCI: mediatek: add support AN7583 + YAML rework
Posted by Christian Marangi 2 months, 1 week ago
This little series convert the PCIe GEN2 Documentation to YAML schema
and adds support for Airoha AN7583 GEN2 PCIe Controller.

Changes v5:
- Drop redudant entry from AN7583 patch
- Fix YAML error for AN7583 patch (sorry)
Changes v4:
- Additional fix/improvement for YAML conversion
- Add review tag
- Fix wording on hifsys patch
- Rework PCI driver to flags and improve PBus logic
Changes v3:
- Rework patch 1 to drop syscon compatible
Changes v2:
- Add cover letter
- Describe skip_pcie_rstb variable
- Fix hifsys schema (missing syscon)
- Address comments on the YAML schema for PCIe GEN2
- Keep alphabetical order for AN7583

Christian Marangi (5):
  ARM: dts: mediatek: drop wrong syscon hifsys compatible for
    MT2701/7623
  dt-bindings: PCI: mediatek: Convert to YAML schema
  dt-bindings: PCI: mediatek: Add support for Airoha AN7583
  PCI: mediatek: convert bool to single flags entry and bitmap
  PCI: mediatek: add support for Airoha AN7583 SoC

 .../bindings/pci/mediatek-pcie-mt7623.yaml    | 164 +++++++
 .../devicetree/bindings/pci/mediatek-pcie.txt | 289 ------------
 .../bindings/pci/mediatek-pcie.yaml           | 438 ++++++++++++++++++
 arch/arm/boot/dts/mediatek/mt2701.dtsi        |   2 +-
 arch/arm/boot/dts/mediatek/mt7623.dtsi        |   3 +-
 drivers/pci/controller/pcie-mediatek.c        | 120 +++--
 6 files changed, 690 insertions(+), 326 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

-- 
2.51.0
Re: [PATCH v5 0/5] PCI: mediatek: add support AN7583 + YAML rework
Posted by Bjorn Helgaas 2 months ago
On Sun, Oct 12, 2025 at 10:56:54PM +0200, Christian Marangi wrote:
> This little series convert the PCIe GEN2 Documentation to YAML schema
> and adds support for Airoha AN7583 GEN2 PCIe Controller.

> Christian Marangi (5):
>   ARM: dts: mediatek: drop wrong syscon hifsys compatible for
>     MT2701/7623
>   dt-bindings: PCI: mediatek: Convert to YAML schema
>   dt-bindings: PCI: mediatek: Add support for Airoha AN7583
>   PCI: mediatek: convert bool to single flags entry and bitmap
>   PCI: mediatek: add support for Airoha AN7583 SoC

If you repost,

s/convert bool/Convert bool/
s/add support/Add support/

to match the history (use "git log --oneline
drivers/pci/controller/pcie-mediatek.c" to see it).
Re: (subset) [PATCH v5 0/5] PCI: mediatek: add support AN7583 + YAML rework
Posted by AngeloGioacchino Del Regno 2 months ago
On Sun, 12 Oct 2025 22:56:54 +0200, Christian Marangi wrote:
> This little series convert the PCIe GEN2 Documentation to YAML schema
> and adds support for Airoha AN7583 GEN2 PCIe Controller.
> 
> Changes v5:
> - Drop redudant entry from AN7583 patch
> - Fix YAML error for AN7583 patch (sorry)
> Changes v4:
> - Additional fix/improvement for YAML conversion
> - Add review tag
> - Fix wording on hifsys patch
> - Rework PCI driver to flags and improve PBus logic
> Changes v3:
> - Rework patch 1 to drop syscon compatible
> Changes v2:
> - Add cover letter
> - Describe skip_pcie_rstb variable
> - Fix hifsys schema (missing syscon)
> - Address comments on the YAML schema for PCIe GEN2
> - Keep alphabetical order for AN7583
> 
> [...]

Applied to v6.18-next/dts32, thanks!

[1/5] ARM: dts: mediatek: drop wrong syscon hifsys compatible for MT2701/7623
      commit: 5416aeee4ef761b79d2e1c35f6d9a35bf3104709

Cheers,
Angelo