]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
dt-bindings: mtd: sunxi: Add new compatible
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 07:41:44 +0000 (09:41 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 18 Apr 2019 06:54:05 +0000 (08:54 +0200)
The A23/A33 NAND controller is slightly different than the A10+ ones,
eg. DMA handling is a bit different and a few register offsets
changed.

Introduce a new compatible to represent this version of the IP.

Also append '-controller' to the new compatible (which is required for
new compatibles) as this is describing a NAND controller and not a
NAND chip.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml

index d5834b197e96004108325fcb9d62ab5d95716361..fbd4da3684fc7939d1ff92cdeaad16cc70048c2e 100644 (file)
@@ -18,8 +18,9 @@ properties:
   "#size-cells": true
 
   compatible:
-    const: allwinner,sun4i-a10-nand
-
+    enum:
+      - allwinner,sun4i-a10-nand
+      - allwinner,sun8i-a23-nand-controller
   reg:
     maxItems: 1