diff mbox series

[v2,1/8] dt-bindings: mtd: intel: lgm-nand: Fix compatible string

Message ID 20220629213508.1989600-2-martin.blumenstingl@googlemail.com
State Changes Requested
Headers show
Series intel-nand-controller: Fixes, cleanups and questions | expand

Commit Message

Martin Blumenstingl June 29, 2022, 9:35 p.m. UTC
The driver which was added at the same time as the dt-bindings uses the
compatible string "intel,lgm-ebunand". Use the same compatible string
also in the dt-bindings.

Fixes: 2f9cea8eae44f5 ("dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rob Herring July 1, 2022, 7:48 p.m. UTC | #1
On Wed, Jun 29, 2022 at 11:35:01PM +0200, Martin Blumenstingl wrote:
> The driver which was added at the same time as the dt-bindings uses the
> compatible string "intel,lgm-ebunand". Use the same compatible string
> also in the dt-bindings.
> 
> Fixes: 2f9cea8eae44f5 ("dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC")
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
>  Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml b/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml
> index 30e0c66ab0eb..c45dd87fb5fd 100644
> --- a/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml

The fix for the $id was to also rename the file.

> @@ -14,7 +14,7 @@ maintainers:
>  
>  properties:
>    compatible:
> -    const: intel,lgm-nand
> +    const: intel,lgm-ebunand
>  
>    reg:
>      maxItems: 6
> @@ -75,7 +75,7 @@ additionalProperties: false
>  examples:
>    - |
>      nand-controller@e0f00000 {
> -      compatible = "intel,lgm-nand";
> +      compatible = "intel,lgm-ebunand";
>        reg = <0xe0f00000 0x100>,
>              <0xe1000000 0x300>,
>              <0xe1400000 0x8000>,
> -- 
> 2.37.0
> 
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml b/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml
index 30e0c66ab0eb..c45dd87fb5fd 100644
--- a/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml
@@ -14,7 +14,7 @@  maintainers:
 
 properties:
   compatible:
-    const: intel,lgm-nand
+    const: intel,lgm-ebunand
 
   reg:
     maxItems: 6
@@ -75,7 +75,7 @@  additionalProperties: false
 examples:
   - |
     nand-controller@e0f00000 {
-      compatible = "intel,lgm-nand";
+      compatible = "intel,lgm-ebunand";
       reg = <0xe0f00000 0x100>,
             <0xe1000000 0x300>,
             <0xe1400000 0x8000>,