aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-07-13 15:28:46 +0000
committerKrzysztof Kozlowski <[email protected]>2023-07-25 20:09:38 +0000
commiteb6bb73f5762cd4eb1eadc42a357f8f13b0f37ef (patch)
tree33ad3d3f4a25015d11e9597d99730dd5145f17d3
parentmemory: Explicitly include correct DT includes (diff)
downloadkernel-eb6bb73f5762cd4eb1eadc42a357f8f13b0f37ef.tar.gz
kernel-eb6bb73f5762cd4eb1eadc42a357f8f13b0f37ef.zip
dt-bindings: memory-controllers: ingenic,nemc: reference peripheral properties
Ingenic NAND / External Memory Controller has children with peripheral properties, so it should reference the Memory Controller bus Peripheral-specific schema. Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml1
-rw-r--r--Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml1
2 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml b/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml
index a02724221ff3..b40cec0eb651 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml
@@ -39,6 +39,7 @@ properties:
patternProperties:
".*@[0-9]+$":
type: object
+ $ref: mc-peripheral-props.yaml#
required:
- compatible
diff --git a/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml b/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml
index 5acfcad12bb7..5ff8cc26962a 100644
--- a/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml
@@ -34,6 +34,7 @@ required:
# The controller specific properties go here.
allOf:
- $ref: st,stm32-fmc2-ebi-props.yaml#
+ - $ref: ingenic,nemc-peripherals.yaml#
- $ref: intel,ixp4xx-expansion-peripheral-props.yaml#
additionalProperties: true