[1/3] dt-bindings: memory-controllers: ingenic,nemc: reference peripheral properties
Commit Message
Ingenic NAND / External Memory Controller has children with peripheral
properties, so it should reference the Memory Controller bus
Peripheral-specific schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/memory-controllers/ingenic,nemc.yaml | 1 +
.../bindings/memory-controllers/mc-peripheral-props.yaml | 1 +
2 files changed, 2 insertions(+)
Comments
On Thu, Jul 13, 2023 at 05:28:46PM +0200, Krzysztof Kozlowski wrote:
> Ingenic NAND / External Memory Controller has children with peripheral
> properties, so it should reference the Memory Controller bus
> Peripheral-specific schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Cheers,
Conor.
@@ -39,6 +39,7 @@ properties:
patternProperties:
".*@[0-9]+$":
type: object
+ $ref: mc-peripheral-props.yaml#
required:
- compatible
@@ -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