mbox series

[v2,0/2] dt-bindings: PCI: uniphier: Convert bindings and fix devicetree warning issue

Message ID 1648617814-9217-1-git-send-email-hayashi.kunihiko@socionext.com
Headers show
Series dt-bindings: PCI: uniphier: Convert bindings and fix devicetree warning issue | expand

Message

Kunihiko Hayashi March 30, 2022, 5:23 a.m. UTC
Convert dt-bindings description for UniPhier PCI controller into a JSON
description, and remove unused compatible from devicetree to fix dtbs_check
warnings after convertion.

Changes since v1:
- Remove a redundant item list of reg-names and add minItems
- Add patch 2 to fix warnings

Kunihiko Hayashi (2):
  dt-bindings: PCI: uniphier: Convert uniphier-pcie.txt to json-schema
  arm64: dts: uniphier: Remove compatible "snps,dw-pcie" from pcie node

 .../bindings/pci/socionext,uniphier-pcie.yaml | 96 +++++++++++++++++++
 .../devicetree/bindings/pci/uniphier-pcie.txt | 82 ----------------
 MAINTAINERS                                   |  2 +-
 .../boot/dts/socionext/uniphier-ld20.dtsi     |  2 +-
 .../boot/dts/socionext/uniphier-pxs3.dtsi     |  2 +-
 5 files changed, 99 insertions(+), 85 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pci/socionext,uniphier-pcie.yaml
 delete mode 100644 Documentation/devicetree/bindings/pci/uniphier-pcie.txt

Comments

Kunihiko Hayashi April 18, 2022, 12:56 a.m. UTC | #1
On 2022/03/30 14:23, Kunihiko Hayashi wrote:
> UniPhier PCIe host controller doesn't use "snps,dw-pcie" compatible, so
> this is no longer needed. Remove the compatible string from the pcie node
> to fix the following warning.
> 
>    uniphier-ld20-akebi96.dtb: pcie@66000000: compatible:
> ['socionext,uniphier-pcie', 'snps,dw-pcie'] is too long
>        From schema:
> Documentation/devicetree/bindings/pci/socionext,uniphier-pcie.yaml
> 
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
> ---
>   arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 +-
>   arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)

This patch 2 is for the devicetree and patch 1 has already been merged,
so I'll post it as a new patch series along with other devicetree patches.

Thank you,

---
Best Regards
Kunihiko Hayashi