diff mbox series

[v3,23/50] dt-bindings: rtc: at91rm9200: add sam9x7 compatible

Message ID 20230728102710.266457-1-varshini.rajendran@microchip.com
State Not Applicable, archived
Headers show
Series [v3,01/50] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x60, sam9x7 compatible | expand

Commit Message

Varshini Rajendran July 28, 2023, 10:27 a.m. UTC
Add compatible for SAM9X7 RTC.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
 .../bindings/rtc/atmel,at91rm9200-rtc.yaml     | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Comments

Krzysztof Kozlowski July 28, 2023, 12:41 p.m. UTC | #1
On 28/07/2023 12:27, Varshini Rajendran wrote:
> Add compatible for SAM9X7 RTC.
> 
> Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
> ---
>  .../bindings/rtc/atmel,at91rm9200-rtc.yaml     | 18 +++++++++++-------
>  1 file changed, 11 insertions(+), 7 deletions(-)
> 


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

Best regards,
Krzysztof
Alexandre Belloni Aug. 16, 2023, 11:16 p.m. UTC | #2
On Fri, 28 Jul 2023 15:57:10 +0530, Varshini Rajendran wrote:
> Add compatible for SAM9X7 RTC.
> 
> 

Applied, thanks!

[23/50] dt-bindings: rtc: at91rm9200: add sam9x7 compatible
        commit: 0197a7cb44872e49919b0068a512aaf4e06f1850

Best regards,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
index 4d2bef15fb7a..c8bb2eef442d 100644
--- a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
@@ -14,13 +14,17 @@  maintainers:
 
 properties:
   compatible:
-    enum:
-      - atmel,at91rm9200-rtc
-      - atmel,at91sam9x5-rtc
-      - atmel,sama5d4-rtc
-      - atmel,sama5d2-rtc
-      - microchip,sam9x60-rtc
-      - microchip,sama7g5-rtc
+    oneOf:
+      - enum:
+          - atmel,at91rm9200-rtc
+          - atmel,at91sam9x5-rtc
+          - atmel,sama5d4-rtc
+          - atmel,sama5d2-rtc
+          - microchip,sam9x60-rtc
+          - microchip,sama7g5-rtc
+      - items:
+          - const: microchip,sam9x7-rtc
+          - const: microchip,sam9x60-rtc
 
   reg:
     maxItems: 1