* [PATCH v2] dt-bindings: memory: renesas,rpc-if: Miscellaneous improvements
@ 2021-07-27 16:01 Geert Uytterhoeven
2021-08-02 20:40 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-07-27 16:01 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring, Sergei Shtylyov
Cc: devicetree, linux-renesas-soc, linux-spi, linux-mtd,
linux-kernel, Geert Uytterhoeven
- 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>
---
v2:
- Drop #{address,size}-cells.
---
.../memory-controllers/renesas,rpc-if.yaml | 17 ++++++++++++++---
1 file 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 990489fdd2ac33fe..d25072c414e45326 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>
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] dt-bindings: memory: renesas,rpc-if: Miscellaneous improvements
2021-07-27 16:01 [PATCH v2] dt-bindings: memory: renesas,rpc-if: Miscellaneous improvements Geert Uytterhoeven
@ 2021-08-02 20:40 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-08-02 20:40 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Rob Herring, Krzysztof Kozlowski, linux-renesas-soc,
linux-kernel, linux-spi, devicetree, Sergei Shtylyov, linux-mtd
On Tue, 27 Jul 2021 18:01:05 +0200, Geert Uytterhoeven wrote:
> - 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>
> ---
> v2:
> - Drop #{address,size}-cells.
> ---
> .../memory-controllers/renesas,rpc-if.yaml | 17 ++++++++++++++---
> 1 file changed, 14 insertions(+), 3 deletions(-)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-02 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 16:01 [PATCH v2] dt-bindings: memory: renesas,rpc-if: Miscellaneous improvements Geert Uytterhoeven
2021-08-02 20:40 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).