Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: PCI: rcar-pci-host: Document missing R-Car H1 support

scripts/checkpatch.pl -f drivers/pci/controller/pcie-rcar-host.c:

WARNING: DT compatible string "renesas,pcie-r8a7779" appears un-documented -- check ./Documentation/devicetree/bindings/
#853: FILE: drivers/pci/controller/pcie-rcar-host.c:853:
+ { .compatible = "renesas,pcie-r8a7779",

Re-add the compatible value for R-Car H1, which was lost during the
json-schema conversion. Make the "resets" property optional on R-Car
H1, as it is not present yet on R-Car Gen1 SoCs.

Fixes: 0d69ce3c2c63d4db ("dt-bindings: PCI: rcar-pci-host: Convert bindings to json-schema")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/fb0bb969cd0e5872ab5eac70e070242c0d8a5b81.1619700202.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Geert Uytterhoeven and committed by
Rob Herring
62b3b366 5cd1a85a

+11 -1
+11 -1
Documentation/devicetree/bindings/pci/rcar-pci-host.yaml
··· 17 17 properties: 18 18 compatible: 19 19 oneOf: 20 + - const: renesas,pcie-r8a7779 # R-Car H1 20 21 - items: 21 22 - enum: 22 23 - renesas,pcie-r8a7742 # RZ/G1H ··· 75 74 - clocks 76 75 - clock-names 77 76 - power-domains 78 - - resets 77 + 78 + if: 79 + not: 80 + properties: 81 + compatible: 82 + contains: 83 + const: renesas,pcie-r8a7779 84 + then: 85 + required: 86 + - resets 79 87 80 88 unevaluatedProperties: false 81 89