[v3,31/50] ASoC: dt-bindings: microchip: add sam9x7

Message ID 20230728102828.266861-1-varshini.rajendran@microchip.com
State New
Headers
Series [v3,01/50] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x60, sam9x7 compatible |

Commit Message

Varshini Rajendran July 28, 2023, 10:28 a.m. UTC
  Add sam9x7 compatible in the DT documentation.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
 .../bindings/sound/microchip,sama7g5-i2smcc.yaml      | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
  

Comments

Conor Dooley July 29, 2023, 10:13 a.m. UTC | #1
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 <varshini.rajendran@microchip.com>
> ---
>  .../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 <conor.dooley@microchip.com>

Thanks,
Conor.
  

Patch

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