2022-06-29 21:37:58

by Martin Blumenstingl

[permalink] [raw]
Subject: [PATCH v2 1/8] dt-bindings: mtd: intel: lgm-nand: Fix compatible string

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 <[email protected]>
---
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
@@ -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


2022-07-01 20:03:51

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 1/8] dt-bindings: mtd: intel: lgm-nand: Fix compatible string

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 <[email protected]>
> ---
> 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
>
>