linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] dt-bindings: rtc: convert at91sam9 bindings to
@ 2022-03-04 16:11 Sergiu Moga
  2022-03-04 16:11 ` [PATCH v4 1/4] ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property Sergiu Moga
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Sergiu Moga @ 2022-03-04 16:11 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, krzysztof.kozlowski,
	nicolas.ferre, claudiu.beznea
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-kernel, Sergiu Moga

This patch series addresses the conversion of the RTC binding for
Atmel/Microchip SoCs to Device Tree Schema format. It also changes
the node names from some of the "dtsi" files from "rtt" to the more
generic "rtc", while adding the `atmel,rtt-rtc-time-reg` required
property to the board files that were missing it.

Changes since v3:
- Removed unnecessary additional `rtc` node from
  `arch/arm/boot/dts/at91sam9263ek.dts`.
- Squashed commit related to the conversion of the binding to
  json-schema with the commit related to the usage of macros
  for the IRQ type of the binding's example.

Sergiu Moga (4):
  ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property
  ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs
  dt-bindings: rtc: convert at91sam9 bindings to json-schema
  dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list

 .../bindings/rtc/atmel,at91sam9-rtc.txt       | 25 -------
 .../bindings/rtc/atmel,at91sam9-rtc.yaml      | 69 +++++++++++++++++++
 arch/arm/boot/dts/at91sam9261ek.dts           |  4 ++
 arch/arm/boot/dts/at91sam9263ek.dts           |  4 ++
 arch/arm/boot/dts/at91sam9rlek.dts            |  4 ++
 arch/arm/boot/dts/sam9x60.dtsi                |  2 +-
 arch/arm/boot/dts/sama7g5.dtsi                |  2 +-
 7 files changed, 83 insertions(+), 27 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml

-- 
2.25.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH v4 1/4] ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property
  2022-03-04 16:11 [PATCH v4 0/4] dt-bindings: rtc: convert at91sam9 bindings to Sergiu Moga
@ 2022-03-04 16:11 ` Sergiu Moga
  2022-03-08 17:20   ` [PATCH v4 1/4] ARM: dts: at91: Add the required `atmel, rtt-rtc-time-reg` property Tudor.Ambarus
  2022-03-04 16:11 ` [PATCH v4 2/4] ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs Sergiu Moga
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Sergiu Moga @ 2022-03-04 16:11 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, krzysztof.kozlowski,
	nicolas.ferre, claudiu.beznea
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-kernel, Sergiu Moga

Add the required `atmel,rtt-rtc-time-reg` property to the `rtt` nodes
of the board files that were missing it.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
---
 arch/arm/boot/dts/at91sam9261ek.dts | 4 ++++
 arch/arm/boot/dts/at91sam9263ek.dts | 4 ++++
 arch/arm/boot/dts/at91sam9rlek.dts  | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts
index beed819609e8..3c1f40b4a13e 100644
--- a/arch/arm/boot/dts/at91sam9261ek.dts
+++ b/arch/arm/boot/dts/at91sam9261ek.dts
@@ -178,6 +178,10 @@ dbgu: serial@fffff200 {
 				status = "okay";
 			};
 
+			rtc@fffffd20 {
+				atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
+			};
+
 			watchdog@fffffd40 {
 				status = "okay";
 			};
diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts/at91sam9263ek.dts
index 71f60576761a..4d922c10c26c 100644
--- a/arch/arm/boot/dts/at91sam9263ek.dts
+++ b/arch/arm/boot/dts/at91sam9263ek.dts
@@ -102,6 +102,10 @@ mtd_dataflash@0 {
 				};
 			};
 
+			rtc@fffffd20 {
+				atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
+			};
+
 			watchdog@fffffd40 {
 				status = "okay";
 			};
diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts
index 62981b39c815..a26f9f70b6b2 100644
--- a/arch/arm/boot/dts/at91sam9rlek.dts
+++ b/arch/arm/boot/dts/at91sam9rlek.dts
@@ -212,6 +212,10 @@ watchdog@fffffd40 {
 				status = "okay";
 			};
 
+			rtc@fffffd20 {
+				atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
+			};
+
 			rtc@fffffe00 {
 				status = "okay";
 			};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v4 2/4] ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs
  2022-03-04 16:11 [PATCH v4 0/4] dt-bindings: rtc: convert at91sam9 bindings to Sergiu Moga
  2022-03-04 16:11 ` [PATCH v4 1/4] ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property Sergiu Moga
@ 2022-03-04 16:11 ` Sergiu Moga
  2022-03-04 16:11 ` [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema Sergiu Moga
  2022-03-04 16:11 ` [PATCH v4 4/4] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list Sergiu Moga
  3 siblings, 0 replies; 11+ messages in thread
From: Sergiu Moga @ 2022-03-04 16:11 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, krzysztof.kozlowski,
	nicolas.ferre, claudiu.beznea
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-kernel,
	Sergiu Moga, Tudor Ambarus

As the DT specification recommends, the node names should be of a
generic nature. Thus, the most appropriate generic node name for
the at91 rtt IPs is the "rtc" node name.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
 arch/arm/boot/dts/sam9x60.dtsi | 2 +-
 arch/arm/boot/dts/sama7g5.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/sam9x60.dtsi b/arch/arm/boot/dts/sam9x60.dtsi
index 998629a3c34f..c328b67bea0c 100644
--- a/arch/arm/boot/dts/sam9x60.dtsi
+++ b/arch/arm/boot/dts/sam9x60.dtsi
@@ -684,7 +684,7 @@ shutdown_controller: shdwc@fffffe10 {
 				status = "disabled";
 			};
 
-			rtt: rtt@fffffe20 {
+			rtt: rtc@fffffe20 {
 				compatible = "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
 				reg = <0xfffffe20 0x20>;
 				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index e6d0c90cf710..5d8841d0831a 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -170,7 +170,7 @@ shdwc: shdwc@e001d010 {
 			status = "disabled";
 		};
 
-		rtt: rtt@e001d020 {
+		rtt: rtc@e001d020 {
 			compatible = "microchip,sama7g5-rtt", "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
 			reg = <0xe001d020 0x30>;
 			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema
  2022-03-04 16:11 [PATCH v4 0/4] dt-bindings: rtc: convert at91sam9 bindings to Sergiu Moga
  2022-03-04 16:11 ` [PATCH v4 1/4] ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property Sergiu Moga
  2022-03-04 16:11 ` [PATCH v4 2/4] ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs Sergiu Moga
@ 2022-03-04 16:11 ` Sergiu Moga
  2022-03-04 22:14   ` Rob Herring
                     ` (2 more replies)
  2022-03-04 16:11 ` [PATCH v4 4/4] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list Sergiu Moga
  3 siblings, 3 replies; 11+ messages in thread
From: Sergiu Moga @ 2022-03-04 16:11 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, krzysztof.kozlowski,
	nicolas.ferre, claudiu.beznea
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-kernel, Sergiu Moga

Convert RTC binding for Atmel/Microchip SoCs to Device Tree Schema
format.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
---
 .../bindings/rtc/atmel,at91sam9-rtc.txt       | 25 -------
 .../bindings/rtc/atmel,at91sam9-rtc.yaml      | 65 +++++++++++++++++++
 2 files changed, 65 insertions(+), 25 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml

diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt
deleted file mode 100644
index 3f0e2a5950eb..000000000000
--- a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Atmel AT91SAM9260 Real Time Timer
-
-Required properties:
-- compatible: should be one of the following:
-	- "atmel,at91sam9260-rtt"
-	- "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt"
-- reg: should encode the memory region of the RTT controller
-- interrupts: rtt alarm/event interrupt
-- clocks: should contain the 32 KHz slow clk that will drive the RTT block.
-- atmel,rtt-rtc-time-reg: should encode the GPBR register used to store
-	the time base when the RTT is used as an RTC.
-	The first cell should point to the GPBR node and the second one
-	encode the offset within the GPBR block (or in other words, the
-	GPBR register used to store the time base).
-
-
-Example:
-
-rtt@fffffd20 {
-	compatible = "atmel,at91sam9260-rtt";
-	reg = <0xfffffd20 0x10>;
-	interrupts = <1 4 7>;
-	clocks = <&clk32k>;
-	atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
-};
diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
new file mode 100644
index 000000000000..d2452067bfe4
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/atmel,at91sam9-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Atmel AT91 RTT Device Tree Bindings
+
+allOf:
+  - $ref: "rtc.yaml#"
+
+maintainers:
+  - Alexandre Belloni <alexandre.belloni@bootlin.com>
+
+properties:
+  compatible:
+    oneOf:
+      - items:
+          - const: atmel,at91sam9260-rtt
+      - items:
+          - const: microchip,sam9x60-rtt
+          - const: atmel,at91sam9260-rtt
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  clocks:
+    maxItems: 1
+
+  atmel,rtt-rtc-time-reg:
+    $ref: /schemas/types.yaml#/definitions/phandle-array
+    items:
+      - items:
+          - description: Phandle to the GPBR node.
+          - description: Offset within the GPBR block.
+    description:
+      Should encode the GPBR register used to store the time base when the
+      RTT is used as an RTC. The first cell should point to the GPBR node
+      and the second one encodes the offset within the GPBR block (or in
+      other words, the GPBR register used to store the time base).
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - clocks
+  - atmel,rtt-rtc-time-reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+
+    rtc@fffffd20 {
+        compatible = "atmel,at91sam9260-rtt";
+        reg = <0xfffffd20 0x10>;
+        interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
+        clocks = <&clk32k>;
+        atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
+    };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v4 4/4] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list
  2022-03-04 16:11 [PATCH v4 0/4] dt-bindings: rtc: convert at91sam9 bindings to Sergiu Moga
                   ` (2 preceding siblings ...)
  2022-03-04 16:11 ` [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema Sergiu Moga
@ 2022-03-04 16:11 ` Sergiu Moga
  2022-03-08  8:22   ` Tudor.Ambarus
  2022-03-08 15:54   ` (subset) " Alexandre Belloni
  3 siblings, 2 replies; 11+ messages in thread
From: Sergiu Moga @ 2022-03-04 16:11 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, krzysztof.kozlowski,
	nicolas.ferre, claudiu.beznea
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-kernel, Sergiu Moga

Add compatible strings list for SAMA7G5.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
index d2452067bfe4..e5c3c384e172 100644
--- a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
@@ -21,6 +21,10 @@ properties:
       - items:
           - const: microchip,sam9x60-rtt
           - const: atmel,at91sam9260-rtt
+      - items:
+          - const: microchip,sama7g5-rtt
+          - const: microchip,sam9x60-rtt
+          - const: atmel,at91sam9260-rtt
 
   reg:
     maxItems: 1
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema
  2022-03-04 16:11 ` [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema Sergiu Moga
@ 2022-03-04 22:14   ` Rob Herring
  2022-03-05 21:09   ` Krzysztof Kozlowski
  2022-03-08 15:54   ` (subset) " Alexandre Belloni
  2 siblings, 0 replies; 11+ messages in thread
From: Rob Herring @ 2022-03-04 22:14 UTC (permalink / raw)
  To: Sergiu Moga
  Cc: a.zummo, alexandre.belloni, krzysztof.kozlowski, nicolas.ferre,
	claudiu.beznea, linux-rtc, devicetree, linux-arm-kernel,
	linux-kernel

On Fri, Mar 04, 2022 at 06:11:58PM +0200, Sergiu Moga wrote:
> Convert RTC binding for Atmel/Microchip SoCs to Device Tree Schema
> format.
> 
> Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
> ---
>  .../bindings/rtc/atmel,at91sam9-rtc.txt       | 25 -------
>  .../bindings/rtc/atmel,at91sam9-rtc.yaml      | 65 +++++++++++++++++++
>  2 files changed, 65 insertions(+), 25 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt
>  create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema
  2022-03-04 16:11 ` [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema Sergiu Moga
  2022-03-04 22:14   ` Rob Herring
@ 2022-03-05 21:09   ` Krzysztof Kozlowski
  2022-03-08 15:54   ` (subset) " Alexandre Belloni
  2 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-05 21:09 UTC (permalink / raw)
  To: Sergiu Moga, a.zummo, alexandre.belloni, robh+dt, nicolas.ferre,
	claudiu.beznea
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-kernel

On 04/03/2022 17:11, Sergiu Moga wrote:
> Convert RTC binding for Atmel/Microchip SoCs to Device Tree Schema
> format.
> 
> Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
> ---
>  .../bindings/rtc/atmel,at91sam9-rtc.txt       | 25 -------
>  .../bindings/rtc/atmel,at91sam9-rtc.yaml      | 65 +++++++++++++++++++
>  2 files changed, 65 insertions(+), 25 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt
>  create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
> 


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v4 4/4] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list
  2022-03-04 16:11 ` [PATCH v4 4/4] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list Sergiu Moga
@ 2022-03-08  8:22   ` Tudor.Ambarus
  2022-03-08 15:54   ` (subset) " Alexandre Belloni
  1 sibling, 0 replies; 11+ messages in thread
From: Tudor.Ambarus @ 2022-03-08  8:22 UTC (permalink / raw)
  To: Sergiu.Moga, a.zummo, alexandre.belloni, robh+dt,
	krzysztof.kozlowski, Nicolas.Ferre, Claudiu.Beznea
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-kernel

On 3/4/22 18:11, Sergiu Moga wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Add compatible strings list for SAMA7G5.
> 
> Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>

> ---
>  Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
> index d2452067bfe4..e5c3c384e172 100644
> --- a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
> @@ -21,6 +21,10 @@ properties:
>        - items:
>            - const: microchip,sam9x60-rtt
>            - const: atmel,at91sam9260-rtt
> +      - items:
> +          - const: microchip,sama7g5-rtt
> +          - const: microchip,sam9x60-rtt
> +          - const: atmel,at91sam9260-rtt
> 
>    reg:
>      maxItems: 1
> --
> 2.25.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: (subset) [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema
  2022-03-04 16:11 ` [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema Sergiu Moga
  2022-03-04 22:14   ` Rob Herring
  2022-03-05 21:09   ` Krzysztof Kozlowski
@ 2022-03-08 15:54   ` Alexandre Belloni
  2 siblings, 0 replies; 11+ messages in thread
From: Alexandre Belloni @ 2022-03-08 15:54 UTC (permalink / raw)
  To: krzysztof.kozlowski, robh+dt, Sergiu Moga, nicolas.ferre,
	a.zummo, claudiu.beznea
  Cc: Alexandre Belloni, linux-rtc, linux-kernel, devicetree, linux-arm-kernel

On Fri, 4 Mar 2022 18:11:58 +0200, Sergiu Moga wrote:
> Convert RTC binding for Atmel/Microchip SoCs to Device Tree Schema
> format.
> 
> 

Applied, thanks!

[3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema
      commit: 5b05198b3108d5d287da8c457183855fb91ae4cc

Best regards,
-- 
Alexandre Belloni <alexandre.belloni@bootlin.com>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: (subset) [PATCH v4 4/4] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list
  2022-03-04 16:11 ` [PATCH v4 4/4] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list Sergiu Moga
  2022-03-08  8:22   ` Tudor.Ambarus
@ 2022-03-08 15:54   ` Alexandre Belloni
  1 sibling, 0 replies; 11+ messages in thread
From: Alexandre Belloni @ 2022-03-08 15:54 UTC (permalink / raw)
  To: krzysztof.kozlowski, robh+dt, Sergiu Moga, nicolas.ferre,
	a.zummo, claudiu.beznea
  Cc: Alexandre Belloni, linux-kernel, linux-rtc, linux-arm-kernel, devicetree

On Fri, 4 Mar 2022 18:11:59 +0200, Sergiu Moga wrote:
> Add compatible strings list for SAMA7G5.
> 
> 

Applied, thanks!

[4/4] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list
      commit: 64a6497017843fc23d4c18542bdd4cfcca7878c9

Best regards,
-- 
Alexandre Belloni <alexandre.belloni@bootlin.com>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v4 1/4] ARM: dts: at91: Add the required `atmel, rtt-rtc-time-reg` property
  2022-03-04 16:11 ` [PATCH v4 1/4] ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property Sergiu Moga
@ 2022-03-08 17:20   ` Tudor.Ambarus
  0 siblings, 0 replies; 11+ messages in thread
From: Tudor.Ambarus @ 2022-03-08 17:20 UTC (permalink / raw)
  To: Sergiu.Moga, a.zummo, alexandre.belloni, robh+dt,
	krzysztof.kozlowski, Nicolas.Ferre, Claudiu.Beznea
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-kernel

On 3/4/22 18:11, Sergiu Moga wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Add the required `atmel,rtt-rtc-time-reg` property to the `rtt` nodes
> of the board files that were missing it.
> 
> Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>

Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>

> ---
>  arch/arm/boot/dts/at91sam9261ek.dts | 4 ++++
>  arch/arm/boot/dts/at91sam9263ek.dts | 4 ++++
>  arch/arm/boot/dts/at91sam9rlek.dts  | 4 ++++
>  3 files changed, 12 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts
> index beed819609e8..3c1f40b4a13e 100644
> --- a/arch/arm/boot/dts/at91sam9261ek.dts
> +++ b/arch/arm/boot/dts/at91sam9261ek.dts
> @@ -178,6 +178,10 @@ dbgu: serial@fffff200 {
>                                 status = "okay";
>                         };
> 
> +                       rtc@fffffd20 {
> +                               atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
> +                       };
> +
>                         watchdog@fffffd40 {
>                                 status = "okay";
>                         };
> diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts/at91sam9263ek.dts
> index 71f60576761a..4d922c10c26c 100644
> --- a/arch/arm/boot/dts/at91sam9263ek.dts
> +++ b/arch/arm/boot/dts/at91sam9263ek.dts
> @@ -102,6 +102,10 @@ mtd_dataflash@0 {
>                                 };
>                         };
> 
> +                       rtc@fffffd20 {
> +                               atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
> +                       };
> +
>                         watchdog@fffffd40 {
>                                 status = "okay";
>                         };
> diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts
> index 62981b39c815..a26f9f70b6b2 100644
> --- a/arch/arm/boot/dts/at91sam9rlek.dts
> +++ b/arch/arm/boot/dts/at91sam9rlek.dts
> @@ -212,6 +212,10 @@ watchdog@fffffd40 {
>                                 status = "okay";
>                         };
> 
> +                       rtc@fffffd20 {
> +                               atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
> +                       };
> +
>                         rtc@fffffe00 {
>                                 status = "okay";
>                         };
> --
> 2.25.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-03-08 17:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-04 16:11 [PATCH v4 0/4] dt-bindings: rtc: convert at91sam9 bindings to Sergiu Moga
2022-03-04 16:11 ` [PATCH v4 1/4] ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property Sergiu Moga
2022-03-08 17:20   ` [PATCH v4 1/4] ARM: dts: at91: Add the required `atmel, rtt-rtc-time-reg` property Tudor.Ambarus
2022-03-04 16:11 ` [PATCH v4 2/4] ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs Sergiu Moga
2022-03-04 16:11 ` [PATCH v4 3/4] dt-bindings: rtc: convert at91sam9 bindings to json-schema Sergiu Moga
2022-03-04 22:14   ` Rob Herring
2022-03-05 21:09   ` Krzysztof Kozlowski
2022-03-08 15:54   ` (subset) " Alexandre Belloni
2022-03-04 16:11 ` [PATCH v4 4/4] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list Sergiu Moga
2022-03-08  8:22   ` Tudor.Ambarus
2022-03-08 15:54   ` (subset) " Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).