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

dt-bindings: memory: fsl: Add compatible string nxp,imx9-memory-controller

iMX9 memory controller is similar with other layerscape chips. But some
register layout has a little bit difference, so add new compatible string
'nxp,imx9-memory-controller' for it.

imx9 need two 'reg', one for DDR controller and the other is ECC inject
engine register space. Keep the same restriction for other compatible
string.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241016-imx95_edac-v3-4-86ae6fc2756a@nxp.com

authored by

Frank Li and committed by
Borislav Petkov (AMD)
b01a731a 9ec22ac4

+30 -1
+30 -1
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ddr.yaml
··· 40 40 - fsl,p1021-memory-controller 41 41 - fsl,p2020-memory-controller 42 42 - fsl,qoriq-memory-controller 43 + - nxp,imx9-memory-controller 43 44 44 45 interrupts: 45 46 maxItems: 1 ··· 52 51 type: boolean 53 52 54 53 reg: 55 - maxItems: 1 54 + items: 55 + - description: Controller register space 56 + - description: Inject register space 57 + minItems: 1 58 + 59 + reg-names: 60 + items: 61 + - const: ctrl 62 + - const: inject 63 + minItems: 1 56 64 57 65 required: 58 66 - compatible 59 67 - interrupts 60 68 - reg 69 + 70 + allOf: 71 + - if: 72 + properties: 73 + compatible: 74 + contains: 75 + enum: 76 + - nxp,imx9-memory-controller 77 + then: 78 + properties: 79 + reg: 80 + minItems: 2 81 + reg-names: 82 + minItems: 2 83 + else: 84 + properties: 85 + reg: 86 + maxItems: 1 87 + reg-names: false 61 88 62 89 additionalProperties: false 63 90