diff mbox series

[v2,2/3] dt-bindings: mtd: mchp48l640 add mb85rs128ty compatible

Message ID 20241203-mb85rs128ty-v2-2-42df3e7ff147@pengutronix.de
State New
Headers show
Series Add support for Fujitsu MB85RS128TY | expand

Commit Message

Jonas Rebmann Dec. 3, 2024, 9:37 a.m. UTC
Add a compatible string to support Fujitsu MB85RS128TY.

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
---
 Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Krzysztof Kozlowski Dec. 3, 2024, 9:47 a.m. UTC | #1
On 03/12/2024 10:37, Jonas Rebmann wrote:
> Add a compatible string to support Fujitsu MB85RS128TY.
> 
> Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
> ---
>  Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml b/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
> index 0ff32bd00bf6aee279fa78c624d8d47c6162f7f1..11f64056a28f98ad633265b00605ffd2c3e026c8 100644
> --- a/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
> +++ b/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
> @@ -16,8 +16,9 @@ description: |
>  
>  properties:
>    compatible:
> -    items:
> -      - const: microchip,48l640
> +    enum:
> +      - microchip,48l640
> +      - fujitsu,mb85rs128ty


Keep alphabetical order. That's generic rule for all compatible lists in
bindings and drivers. It's a rule for many other growing things as well,
because it helps to avoid conflicts.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml b/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
index 0ff32bd00bf6aee279fa78c624d8d47c6162f7f1..11f64056a28f98ad633265b00605ffd2c3e026c8 100644
--- a/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
+++ b/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
@@ -16,8 +16,9 @@  description: |
 
 properties:
   compatible:
-    items:
-      - const: microchip,48l640
+    enum:
+      - microchip,48l640
+      - fujitsu,mb85rs128ty
 
   reg:
     maxItems: 1