2021-01-07 10:50:40

by Claudiu Beznea

[permalink] [raw]
Subject: [PATCH] dt-bindings: rtc: at91rm9200: add sama7g5 compatible

Add compatible for SAMA7G5 RTC. At the moment the driver is falling
back on SAM9X60's compatible but SAMA7G5 doesn't have the tamper mode
register and tamper debounce period register thus the need for a new
compatible to differentiate b/w these two in case tamper feature will
be implemented in future.

Signed-off-by: Claudiu Beznea <[email protected]>
---
Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
index 02bbfe726c62..994de43d17fa 100644
--- a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
@@ -20,6 +20,7 @@ properties:
- atmel,sama5d4-rtc
- atmel,sama5d2-rtc
- microchip,sam9x60-rtc
+ - microchip,sama7g5-rtc

reg:
maxItems: 1
--
2.7.4


2021-01-07 14:05:53

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: rtc: at91rm9200: add sama7g5 compatible

On 07/01/2021 at 11:46, Claudiu Beznea wrote:
> Add compatible for SAMA7G5 RTC. At the moment the driver is falling
> back on SAM9X60's compatible but SAMA7G5 doesn't have the tamper mode
> register and tamper debounce period register thus the need for a new
> compatible to differentiate b/w these two in case tamper feature will
> be implemented in future.
>
> Signed-off-by: Claudiu Beznea <[email protected]>

Acked-by: Nicolas Ferre <[email protected]>

> ---
> Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
> index 02bbfe726c62..994de43d17fa 100644
> --- a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml
> @@ -20,6 +20,7 @@ properties:
> - atmel,sama5d4-rtc
> - atmel,sama5d2-rtc
> - microchip,sam9x60-rtc
> + - microchip,sama7g5-rtc
>
> reg:
> maxItems: 1
>


--
Nicolas Ferre

2021-01-13 03:28:15

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: rtc: at91rm9200: add sama7g5 compatible

On Thu, 7 Jan 2021 12:46:12 +0200, Claudiu Beznea wrote:
> Add compatible for SAMA7G5 RTC. At the moment the driver is falling
> back on SAM9X60's compatible but SAMA7G5 doesn't have the tamper mode
> register and tamper debounce period register thus the need for a new
> compatible to differentiate b/w these two in case tamper feature will
> be implemented in future.

Applied, thanks!

[1/1] dt-bindings: rtc: at91rm9200: add sama7g5 compatible
commit: 51f9b1f8ee3a066f2f874cf64afea24ae762ff93

Best regards,
--
Alexandre Belloni <[email protected]>