mbox series

[v5,0/5] convert designware-pcie.txt to yaml

Message ID cover.1626608375.git.mchehab+huawei@kernel.org
Headers show
Series convert designware-pcie.txt to yaml | expand

Message

Mauro Carvalho Chehab July 18, 2021, 11:40 a.m. UTC
This series convert designware-pcie.txt to DT schema.

I opted to move the pcie-kirin.txt changes out of this series. I'll submit
it in separate, as they should come after some changes I'm doing at
pcie-kirin.c driver.

v5:
- Addressed some issues pointed by Rob Herring:
  Added interrupts and interrupt-cells to DT;
  Addressed warnings generated with make dbs-check on existing
  *.dts* files.

Mauro Carvalho Chehab (5):
  dt-bindings: PCI: add snps,dw-pcie.yaml
  dt-bindings: PCI: add snps,dw-pcie-ep.yaml
  dt-bindings: PCI: update references to Designware schema
  dt-bindings: PCI: remove designware-pcie.txt
  dt-bindings: arm64: tegra: fix pcie-ep DT nodes

 .../bindings/pci/amlogic,meson-pcie.txt       |   4 +-
 .../bindings/pci/axis,artpec6-pcie.txt        |   2 +-
 .../bindings/pci/designware-pcie.txt          |  77 -------------
 .../bindings/pci/fsl,imx6q-pcie.txt           |   2 +-
 .../bindings/pci/hisilicon-histb-pcie.txt     |   2 +-
 .../devicetree/bindings/pci/kirin-pcie.txt    |   2 +-
 .../bindings/pci/layerscape-pci.txt           |   2 +-
 .../bindings/pci/nvidia,tegra194-pcie.txt     |   7 +-
 .../devicetree/bindings/pci/pci-armada8k.txt  |   2 +-
 .../devicetree/bindings/pci/pcie-al.txt       |   2 +-
 .../devicetree/bindings/pci/qcom,pcie.txt     |  14 +--
 .../bindings/pci/samsung,exynos-pcie.yaml     |   4 +-
 .../bindings/pci/sifive,fu740-pcie.yaml       |   4 +-
 .../bindings/pci/snps,dw-pcie-ep.yaml         |  90 ++++++++++++++++
 .../devicetree/bindings/pci/snps,dw-pcie.yaml | 102 ++++++++++++++++++
 .../pci/socionext,uniphier-pcie-ep.yaml       |   4 +-
 .../devicetree/bindings/pci/ti-pci.txt        |   4 +-
 .../devicetree/bindings/pci/uniphier-pcie.txt |   2 +-
 MAINTAINERS                                   |   3 +-
 .../boot/dts/nvidia/tegra194-p2972-0000.dts   |   2 +-
 .../boot/dts/nvidia/tegra194-p3509-0000.dtsi  |   2 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi      |   6 +-
 22 files changed, 228 insertions(+), 111 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pci/designware-pcie.txt
 create mode 100644 Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml
 create mode 100644 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml

Comments

Rob Herring (Arm) July 19, 2021, 10:02 p.m. UTC | #1
On Sun, 18 Jul 2021 13:40:49 +0200, Mauro Carvalho Chehab wrote:
> Currently, the designware schema is defined on a text file:

> 	designware-pcie.txt

> 

> It contains two separate schemas on it:

> 

> - snps,dw-pcie

>   This one uses the pci-bus.yaml schema;

> - snps,dw-pcie-ep

>   This one uses the pci-ep.yaml schema.

> 

> As the:

> 	AllOf:

> 	  - $ref: <foo>

> 

> for the endpoint part is different than the PCI one, place

> it on a separate yaml file.

> 

> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

> ---

>  .../bindings/pci/snps,dw-pcie-ep.yaml         | 90 +++++++++++++++++++

>  MAINTAINERS                                   |  1 +

>  2 files changed, 91 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml

> 


Applied, thanks!
Rob Herring (Arm) July 19, 2021, 10:02 p.m. UTC | #2
On Sun, 18 Jul 2021 13:40:50 +0200, Mauro Carvalho Chehab wrote:
> Now that its contents were converted to a DT schema, replace

> the references for the old file on existing properties.

> 

> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

> ---

>  .../devicetree/bindings/pci/amlogic,meson-pcie.txt |  4 ++--

>  .../devicetree/bindings/pci/axis,artpec6-pcie.txt  |  2 +-

>  .../devicetree/bindings/pci/fsl,imx6q-pcie.txt     |  2 +-

>  .../bindings/pci/hisilicon-histb-pcie.txt          |  2 +-

>  .../devicetree/bindings/pci/kirin-pcie.txt         |  2 +-

>  .../devicetree/bindings/pci/layerscape-pci.txt     |  2 +-

>  .../bindings/pci/nvidia,tegra194-pcie.txt          |  5 +++--

>  .../devicetree/bindings/pci/pci-armada8k.txt       |  2 +-

>  Documentation/devicetree/bindings/pci/pcie-al.txt  |  2 +-

>  .../devicetree/bindings/pci/qcom,pcie.txt          | 14 +++++++-------

>  .../bindings/pci/samsung,exynos-pcie.yaml          |  4 ++--

>  .../devicetree/bindings/pci/sifive,fu740-pcie.yaml |  4 ++--

>  .../bindings/pci/socionext,uniphier-pcie-ep.yaml   |  4 ++--

>  Documentation/devicetree/bindings/pci/ti-pci.txt   |  4 ++--

>  .../devicetree/bindings/pci/uniphier-pcie.txt      |  2 +-

>  15 files changed, 28 insertions(+), 27 deletions(-)

> 


Applied, thanks!
Rob Herring (Arm) July 19, 2021, 10:02 p.m. UTC | #3
On Sun, 18 Jul 2021 13:40:51 +0200, Mauro Carvalho Chehab wrote:
> Now that the properties defined there were converted to DT schema,

> and the other dt-bindings are pointing to the new schemas,

> drop it.

> 

> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

> ---

>  .../bindings/pci/designware-pcie.txt          | 77 -------------------

>  MAINTAINERS                                   |  1 -

>  2 files changed, 78 deletions(-)

>  delete mode 100644 Documentation/devicetree/bindings/pci/designware-pcie.txt

> 


Applied, thanks!