diff mbox series

dt-bindings: rtc: at91rm9200: add sama7g5 compatible

Message ID 1610016372-31784-1-git-send-email-claudiu.beznea@microchip.com
State Not Applicable, archived
Headers show
Series dt-bindings: rtc: at91rm9200: add sama7g5 compatible | expand

Checks

Context Check Description
robh/checkpatch success
robh/dt-meta-schema success
robh/dtbs-check fail build log

Commit Message

Claudiu Beznea Jan. 7, 2021, 10:46 a.m. UTC
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 <claudiu.beznea@microchip.com>
---
 Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Nicolas Ferre Jan. 7, 2021, 2:01 p.m. UTC | #1
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 <claudiu.beznea@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>   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
>
Alexandre Belloni Jan. 12, 2021, 11:18 p.m. UTC | #2
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,
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 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