From: Miquel Raynal Date: Mon, 8 Apr 2019 07:41:44 +0000 (+0200) Subject: dt-bindings: mtd: sunxi: Add new compatible X-Git-Tag: v5.4-rc1~1009^2~30^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aee02f82e19a5df848861e0883a394a4996b5bd4;p=platform%2Fkernel%2Flinux-rpi.git dt-bindings: mtd: sunxi: Add new compatible 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 --- diff --git a/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml b/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml index d5834b1..fbd4da3 100644 --- a/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml +++ b/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml @@ -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