2023-07-28 11:18:43

by Varshini Rajendran

[permalink] [raw]
Subject: [PATCH v3 31/50] ASoC: dt-bindings: microchip: add sam9x7

Add sam9x7 compatible in the DT documentation.

Signed-off-by: Varshini Rajendran <[email protected]>
---
.../bindings/sound/microchip,sama7g5-i2smcc.yaml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml b/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml
index 651f61c7c25a..fb630a184350 100644
--- a/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml
+++ b/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml
@@ -24,9 +24,14 @@ properties:
const: 0

compatible:
- enum:
- - microchip,sam9x60-i2smcc
- - microchip,sama7g5-i2smcc
+ oneOf:
+ - enum:
+ - microchip,sam9x60-i2smcc
+ - microchip,sama7g5-i2smcc
+ - items:
+ - enum:
+ - microchip,sam9x7-i2smcc
+ - const: microchip,sam9x60-i2smcc

reg:
maxItems: 1
--
2.25.1



2023-07-29 11:12:14

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH v3 31/50] ASoC: dt-bindings: microchip: add sam9x7

On Fri, Jul 28, 2023 at 03:58:28PM +0530, Varshini Rajendran wrote:
> Add sam9x7 compatible in the DT documentation.
>
> Signed-off-by: Varshini Rajendran <[email protected]>
> ---
> .../bindings/sound/microchip,sama7g5-i2smcc.yaml | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml b/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml
> index 651f61c7c25a..fb630a184350 100644
> --- a/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml
> +++ b/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml
> @@ -24,9 +24,14 @@ properties:
> const: 0
>
> compatible:
> - enum:
> - - microchip,sam9x60-i2smcc
> - - microchip,sama7g5-i2smcc
> + oneOf:
> + - enum:
> + - microchip,sam9x60-i2smcc
> + - microchip,sama7g5-i2smcc
> + - items:
> + - enum:
> + - microchip,sam9x7-i2smcc
> + - const: microchip,sam9x60-i2smcc

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

Thanks,
Conor.


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