From nobody Tue Jun 23 13:09:43 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DC34C433F5 for ; Fri, 4 Mar 2022 14:29:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239854AbiCDO37 (ORCPT ); Fri, 4 Mar 2022 09:29:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234984AbiCDO3x (ORCPT ); Fri, 4 Mar 2022 09:29:53 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC7C61B60AA; Fri, 4 Mar 2022 06:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646404143; x=1677940143; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8g3gZftiBYWV0bZd37SeIk4FX3+PNGzE1na0rqb1vFM=; b=rPJmygVjtvkY9d1w2FgX7mWnduwroe1ioqKGVi0G/R1a82diK95z/6fP mThyg4DTf1NWNQX0GpZhWQcjZ3H3h3P6tvafogBFiW3wbPSzYN0f2megC H+iT4byoOSccyrAwaXcEpQXd86u/kxHdNXefh2Tve78tJoJfOJPFuIKrq JsowQMliyLOqj0vGYaFdTquryQKglv3haHqJilXu7VF7LH4bopZnNLLqs 5cewgszGI6cOoQyGMbDhtBfblqojbpxkDKtu/d1VHYwtMa1FmKsuXqOjV 1ZI9njZnj5BIzQifew3clG1vETTZfKKus5+i06zku0C7KdVXl/HlZzuSu A==; X-IronPort-AV: E=Sophos;i="5.90,155,1643698800"; d="scan'208";a="87839011" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 07:29:03 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 4 Mar 2022 07:29:02 -0700 Received: from ROB-ULT-M68701.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Mar 2022 07:29:00 -0700 From: Sergiu Moga To: , , , , , CC: , , , , Sergiu Moga Subject: [PATCH v3 1/5] ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property Date: Fri, 4 Mar 2022 16:27:42 +0200 Message-ID: <20220304142746.121947-2-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220304142746.121947-1-sergiu.moga@microchip.com> References: <20220304142746.121947-1-sergiu.moga@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 --- arch/arm/boot/dts/at91sam9261ek.dts | 4 ++++ arch/arm/boot/dts/at91sam9263ek.dts | 8 ++++++++ arch/arm/boot/dts/at91sam9rlek.dts | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sa= m9261ek.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 =3D "okay"; }; =20 + rtc@fffffd20 { + atmel,rtt-rtc-time-reg =3D <&gpbr 0x0>; + }; + watchdog@fffffd40 { status =3D "okay"; }; diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts/at91sa= m9263ek.dts index 71f60576761a..1208bb580d14 100644 --- a/arch/arm/boot/dts/at91sam9263ek.dts +++ b/arch/arm/boot/dts/at91sam9263ek.dts @@ -102,6 +102,14 @@ mtd_dataflash@0 { }; }; =20 + rtc@fffffd20 { + atmel,rtt-rtc-time-reg =3D <&gpbr 0x0>; + }; + + rtc@fffffd50 { + atmel,rtt-rtc-time-reg =3D <&gpbr 0x4>; + }; + watchdog@fffffd40 { status =3D "okay"; }; diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam= 9rlek.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 =3D "okay"; }; =20 + rtc@fffffd20 { + atmel,rtt-rtc-time-reg =3D <&gpbr 0x0>; + }; + rtc@fffffe00 { status =3D "okay"; }; --=20 2.25.1 From nobody Tue Jun 23 13:09:43 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A97A5C433EF for ; Fri, 4 Mar 2022 14:29:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239865AbiCDOaB (ORCPT ); Fri, 4 Mar 2022 09:30:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239835AbiCDO34 (ORCPT ); Fri, 4 Mar 2022 09:29:56 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71BE61BAF22; Fri, 4 Mar 2022 06:29:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646404148; x=1677940148; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8UhWB4qageMflj2sZl7yJGGmOOPfpidhTrXSN6f9UUQ=; b=FaKTrhdxR8GzHy4ehYf3BuhnheQQYjigae+3hCtiZ9tDXWIoqYqPgPKN BkvMzbH0TI1bmGf4lKMv3+l6cJF6gSzG5FcemiYY66qTf5wlt2hrrQWRi jye3c8AfHZP3bcwrIR6PJQT6yv/ccisK2NuuWJr6qwdoLv3KylWQygypd L1jo6WBRFKNyLWU9IQmMXr93e1qqP5VFWa+ET1p9hwiNyfvJxZV3u/+GI jY+s2Nwe1jLlPhYJBXY6UNpFIwhPivwiHxvprXLF6HfK0n1G22WCifWPl vWyyGuckN/luT73cdyGzEpm8s0tHuyMLz+MhVDQv8wOSOePnPYDhi/Gny g==; X-IronPort-AV: E=Sophos;i="5.90,155,1643698800"; d="scan'208";a="155733470" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 07:29:07 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 4 Mar 2022 07:29:07 -0700 Received: from ROB-ULT-M68701.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Mar 2022 07:29:04 -0700 From: Sergiu Moga To: , , , , , CC: , , , , Sergiu Moga , Tudor Ambarus Subject: [PATCH v3 2/5] ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs Date: Fri, 4 Mar 2022 16:27:43 +0200 Message-ID: <20220304142746.121947-3-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220304142746.121947-1-sergiu.moga@microchip.com> References: <20220304142746.121947-1-sergiu.moga@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Krzysztof Kozlowski Reviewed-by: Tudor Ambarus --- 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 =3D "disabled"; }; =20 - rtt: rtt@fffffe20 { + rtt: rtc@fffffe20 { compatible =3D "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt"; reg =3D <0xfffffe20 0x20>; interrupts =3D <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 =3D "disabled"; }; =20 - rtt: rtt@e001d020 { + rtt: rtc@e001d020 { compatible =3D "microchip,sama7g5-rtt", "microchip,sam9x60-rtt", "atmel= ,at91sam9260-rtt"; reg =3D <0xe001d020 0x30>; interrupts =3D ; --=20 2.25.1 From nobody Tue Jun 23 13:09:43 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3BE9C433EF for ; Fri, 4 Mar 2022 14:29:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236978AbiCDOaP (ORCPT ); Fri, 4 Mar 2022 09:30:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239869AbiCDOaH (ORCPT ); Fri, 4 Mar 2022 09:30:07 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C259E1BAF22; Fri, 4 Mar 2022 06:29:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646404155; x=1677940155; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fwVOUiLoniEcyoRU/rHNkAjvOoKHUwW8030ZeEGzBSI=; b=Yc3IG7FA+TypQmC1g2SOexL7vpeGg6jtQ4luWZrEZl8UaU169EAvzI0J w5bJg7XgH0rtqjpqi3KTg50sVbHJijcq3Wcr4Plnx1OS+/oVTjkLhaxCJ 5Nlu785CcFBdxm44JTIsOAjb5iy5bojHPQxUfDLdidpT+bFJxSZ3H0G48 ZKTEKVDSHOaCNUfOSALlwNapOzZ81DBXZuLan7T3aCEEUcqn6I1znGf5I WzF1bFXGNU0zQeCZ0JLOXsb15kVG65rbVyfg5drToX9FhHhSJ7URC63yR zHZXRx/EZUUixFecuCr5Ioq6SJI2hvGS5ZInyBIku8Lt0csCVT45GhRHf g==; X-IronPort-AV: E=Sophos;i="5.90,155,1643698800"; d="scan'208";a="155733482" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 07:29:15 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 4 Mar 2022 07:29:14 -0700 Received: from ROB-ULT-M68701.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Mar 2022 07:29:11 -0700 From: Sergiu Moga To: , , , , , CC: , , , , Sergiu Moga Subject: [PATCH v3 3/5] dt-bindings: rtc: convert at91sam9 bindings to json-schema Date: Fri, 4 Mar 2022 16:27:44 +0200 Message-ID: <20220304142746.121947-4-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220304142746.121947-1-sergiu.moga@microchip.com> References: <20220304142746.121947-1-sergiu.moga@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Convert RTC binding for Atmel/Microchip SoCs to Device Tree Schema format. Signed-off-by: Sergiu Moga --- .../bindings/rtc/atmel,at91sam9-rtc.txt | 25 -------- .../bindings/rtc/atmel,at91sam9-rtc.yaml | 63 +++++++++++++++++++ 2 files changed, 63 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rt= c.txt create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rt= c.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 =3D "atmel,at91sam9260-rtt"; - reg =3D <0xfffffd20 0x10>; - interrupts =3D <1 4 7>; - clocks =3D <&clk32k>; - atmel,rtt-rtc-time-reg =3D <&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..af25cc275356 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml @@ -0,0 +1,63 @@ +# 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 + +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: + - | + rtc@fffffd20 { + compatible =3D "atmel,at91sam9260-rtt"; + reg =3D <0xfffffd20 0x10>; + interrupts =3D <1 4 7>; + clocks =3D <&clk32k>; + atmel,rtt-rtc-time-reg =3D <&gpbr 0x0>; + }; --=20 2.25.1 From nobody Tue Jun 23 13:09:43 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 916D5C433EF for ; Fri, 4 Mar 2022 14:29:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239862AbiCDOaU (ORCPT ); Fri, 4 Mar 2022 09:30:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239889AbiCDOaK (ORCPT ); Fri, 4 Mar 2022 09:30:10 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD0321BBF41; Fri, 4 Mar 2022 06:29:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646404161; x=1677940161; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WwJlGF2U4JLMsEwUtCwxY/YCgq4lqd75LmiAV/2FZ24=; b=16iZFnekYme/CkJdPi4YEgzV9pCC0n+zzv/bx8HWeofigZK4lEjKiuyo JHVxkP7wad+aC+NF5LSJLGDexyn/AZiVr4gof+H/WeK3YsHUKur5HnA0H fg2Zz7G1JkTFduXxsna7rJxC71hdFT6YTIhKMVJ0gtDPnWw/j0eunSVHq uG5FH0QQaDteX/nu9IfSkDucci/DT4w/qNNMkUjjqlkrhCHQjC5KJqpVx IRHyFfDNSPl5rIXHtKyMRjEQQuIMk7zrNXNPB1fgjLfn5ziQl1JxoBo7f LOw8K00RcV4Z5SiWi+vdvUD8/eFOUzuW4kkAduTGaw8iXyWInM6aQ2cqn Q==; X-IronPort-AV: E=Sophos;i="5.90,155,1643698800"; d="scan'208";a="164546135" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 07:29:20 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 4 Mar 2022 07:29:19 -0700 Received: from ROB-ULT-M68701.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Mar 2022 07:29:16 -0700 From: Sergiu Moga To: , , , , , CC: , , , , Sergiu Moga Subject: [PATCH v3 4/5] dt-bindings: rtc: at91: Use macros for the IRQ type Date: Fri, 4 Mar 2022 16:27:45 +0200 Message-ID: <20220304142746.121947-5-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220304142746.121947-1-sergiu.moga@microchip.com> References: <20220304142746.121947-1-sergiu.moga@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Prefer using macros for the IRQ type of the example node's interrupt property. Signed-off-by: Sergiu Moga --- Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml = b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml index af25cc275356..d2452067bfe4 100644 --- a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml @@ -54,10 +54,12 @@ unevaluatedProperties: false =20 examples: - | + #include + rtc@fffffd20 { compatible =3D "atmel,at91sam9260-rtt"; reg =3D <0xfffffd20 0x10>; - interrupts =3D <1 4 7>; + interrupts =3D <1 IRQ_TYPE_LEVEL_HIGH 7>; clocks =3D <&clk32k>; atmel,rtt-rtc-time-reg =3D <&gpbr 0x0>; }; --=20 2.25.1 From nobody Tue Jun 23 13:09:43 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EEC7C433EF for ; Fri, 4 Mar 2022 14:29:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239869AbiCDOa1 (ORCPT ); Fri, 4 Mar 2022 09:30:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239842AbiCDOaP (ORCPT ); Fri, 4 Mar 2022 09:30:15 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12BCF1BB71D; Fri, 4 Mar 2022 06:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646404168; x=1677940168; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ItwHa2LGg6vVjt4JwnVSxcBCS+3q6NmheNIr1H3INP4=; b=hV2BKkhr9GrRbQVc/uqhv0QZmLEEzMSZ3R2nwbCqbUwCXdsbikcgQAGY /uxvzGl7qnrD7g22UhJYSv52ZdQGV3FKAKJsRxHQcgEKs/o20eFvPU8vF WoFpbbB0/rk07JNHToIXdBxqr9JkUJ1xVkXDnqzS9XLyZNX1HS3FKn8uK 5LiuINcbONXzZtw5cc4tEKaVbcV/2u1WkXuXmCADSyXEeXTcDA7j+7cVr I9ajLb7rrnlS2pBLPyLT3hahBQpANijaWXPNCQj22OIOJpD3IA4jjnqcn WJYI3aqHVgiu5GcbNgRZjsqCNhCfCf998upgVHssX9pxpf7jXbCfbuYzy g==; X-IronPort-AV: E=Sophos;i="5.90,155,1643698800"; d="scan'208";a="155275847" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 07:29:26 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 4 Mar 2022 07:29:24 -0700 Received: from ROB-ULT-M68701.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Mar 2022 07:29:22 -0700 From: Sergiu Moga To: , , , , , CC: , , , , Sergiu Moga Subject: [PATCH v3 5/5] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list Date: Fri, 4 Mar 2022 16:27:46 +0200 Message-ID: <20220304142746.121947-6-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220304142746.121947-1-sergiu.moga@microchip.com> References: <20220304142746.121947-1-sergiu.moga@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add compatible strings list for SAMA7G5. Signed-off-by: Sergiu Moga Reviewed-by: Krzysztof Kozlowski --- 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 =20 reg: maxItems: 1 --=20 2.25.1