Add compatible for SAM9X7 RTC.
Signed-off-by: Varshini Rajendran <[email protected]>
---
.../bindings/rtc/atmel,at91rm9200-rtc.yaml | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
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
--
2.25.1
On 28/07/2023 12:27, Varshini Rajendran wrote:
> Add compatible for SAM9X7 RTC.
>
> Signed-off-by: Varshini Rajendran <[email protected]>
> ---
> .../bindings/rtc/atmel,at91rm9200-rtc.yaml | 18 +++++++++++-------
> 1 file changed, 11 insertions(+), 7 deletions(-)
>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
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,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com