2024-02-23 17:26:27

by Varshini Rajendran

[permalink] [raw]
Subject: [PATCH v4 06/39] dt-bindings: i2c: at91: Add sam9x7 compatible string

Add compatible string for sam9x7.

Signed-off-by: Varshini Rajendran <[email protected]>
---
Changes in v4:
- Made sam9x7 compatible as an enum with sama7g5 compatible
- Removed the sam9x7 compatible from allOf section as it was not needed
like pointed out
---
Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
index 6adedd3ec399..b1c13bab2472 100644
--- a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
@@ -25,7 +25,9 @@ properties:
- atmel,sama5d2-i2c
- microchip,sam9x60-i2c
- items:
- - const: microchip,sama7g5-i2c
+ - enum:
+ - microchip,sama7g5-i2c
+ - microchip,sam9x7-i2c
- const: microchip,sam9x60-i2c

reg:
--
2.25.1



2024-02-24 19:50:04

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH v4 06/39] dt-bindings: i2c: at91: Add sam9x7 compatible string

On Fri, Feb 23, 2024 at 10:54:59PM +0530, Varshini Rajendran wrote:
> Add compatible string for sam9x7.
>
> Signed-off-by: Varshini Rajendran <[email protected]>

Acked-by: Conor Dooley <[email protected]>

Cheers,
Conor.

> ---
> Changes in v4:
> - Made sam9x7 compatible as an enum with sama7g5 compatible
> - Removed the sam9x7 compatible from allOf section as it was not needed
> like pointed out
> ---
> Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
> index 6adedd3ec399..b1c13bab2472 100644
> --- a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
> @@ -25,7 +25,9 @@ properties:
> - atmel,sama5d2-i2c
> - microchip,sam9x60-i2c
> - items:
> - - const: microchip,sama7g5-i2c
> + - enum:
> + - microchip,sama7g5-i2c
> + - microchip,sam9x7-i2c
> - const: microchip,sam9x60-i2c
>
> reg:
> --
> 2.25.1
>


Attachments:
(No filename) (1.24 kB)
signature.asc (235.00 B)
Download all attachments