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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mtd: sunxi: Add H616 compatible

The H616 NAND controller is quite different from the A10 and A23 ones,
some registers offset changed, and some new one are introduced.
Also, the DMA handling is different (it uses chained descriptors)

So, introduce a new compatible to represent this version of the IP.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

authored by

Richard Genoud and committed by
Miquel Raynal
7c99743a cdf44f1a

+38 -3
+38 -3
Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml
··· 6 6 7 7 title: Allwinner A10 NAND Controller 8 8 9 - allOf: 10 - - $ref: nand-controller.yaml 11 - 12 9 maintainers: 13 10 - Chen-Yu Tsai <wens@csie.org> 14 11 - Maxime Ripard <mripard@kernel.org> ··· 15 18 enum: 16 19 - allwinner,sun4i-a10-nand 17 20 - allwinner,sun8i-a23-nand-controller 21 + - allwinner,sun50i-h616-nand-controller 22 + 18 23 reg: 19 24 maxItems: 1 20 25 ··· 24 25 maxItems: 1 25 26 26 27 clocks: 28 + minItems: 2 27 29 items: 28 30 - description: Bus Clock 29 31 - description: Module Clock 32 + - description: ECC Clock 33 + - description: MBus Clock 30 34 31 35 clock-names: 36 + minItems: 2 32 37 items: 33 38 - const: ahb 34 39 - const: mod 40 + - const: ecc 41 + - const: mbus 35 42 36 43 resets: 37 44 maxItems: 1 ··· 89 84 - clock-names 90 85 91 86 unevaluatedProperties: false 87 + 88 + allOf: 89 + - $ref: nand-controller.yaml 90 + 91 + - if: 92 + properties: 93 + compatible: 94 + contains: 95 + enum: 96 + - allwinner,sun4i-a10-nand 97 + - allwinner,sun8i-a23-nand-controller 98 + then: 99 + properties: 100 + clocks: 101 + maxItems: 2 102 + clock-names: 103 + maxItems: 2 104 + 105 + - if: 106 + properties: 107 + compatible: 108 + contains: 109 + enum: 110 + - allwinner,sun50i-h616-nand-controller 111 + then: 112 + properties: 113 + clocks: 114 + minItems: 4 115 + clock-names: 116 + minItems: 4 92 117 93 118 examples: 94 119 - |