diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-07-27 18:01:05 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-08-02 14:40:44 -0600 |
commit | dbe60e5d7f15454ecc9c7d93dce6240fdaa70da9 (patch) | |
tree | 530cb149ee9be514dd2c78e0db0649904c979682 /Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml | |
parent | 1dbd981fcf2a4498bbf66b55b830ca0aadff9476 (diff) | |
download | linux-stable-dbe60e5d7f15454ecc9c7d93dce6240fdaa70da9.tar.gz linux-stable-dbe60e5d7f15454ecc9c7d93dce6240fdaa70da9.tar.bz2 linux-stable-dbe60e5d7f15454ecc9c7d93dce6240fdaa70da9.zip |
dt-bindings: memory: renesas,rpc-if: Miscellaneous improvements
- Fix rejection of legitimate flash subnodes containing multiple
compatible values,
- Add missing list of required properties.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/d81b59a513c2a5204c8378b4a89cd07f97c46797.1627401508.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml index 990489fdd2ac..d25072c414e4 100644 --- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml @@ -61,12 +61,23 @@ patternProperties: type: object properties: compatible: - enum: - - cfi-flash - - jedec,spi-nor + contains: + enum: + - cfi-flash + - jedec,spi-nor unevaluatedProperties: false +required: + - compatible + - reg + - reg-names + - clocks + - power-domains + - resets + - '#address-cells' + - '#size-cells' + examples: - | #include <dt-bindings/clock/renesas-cpg-mssr.h> |