Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1001767pxm; Thu, 3 Mar 2022 08:29:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzikT7W7KmqCKLxW8/5sJIx62BzT3qwQ3OfVF/3NSVcw0uqtqkZ21jTvjiM8Av7nxHEHU6h X-Received: by 2002:a17:906:7307:b0:6da:92e1:9c83 with SMTP id di7-20020a170906730700b006da92e19c83mr2788331ejc.459.1646324977312; Thu, 03 Mar 2022 08:29:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646324977; cv=none; d=google.com; s=arc-20160816; b=MXkzjtcNCUIxSseIbVgDuzFIHb/s+9LJGJvutmlwAC/5wjonQ2tjnw0b1qr2I3LP7n a0WmypV92UtlAGrXAJ0FjNOIpnnLNC+x4zK1lmPFRvg91vNkV2Lfwq2cATiJXrfZo5JT q1NWS8LpbW2ggBwQhSmhC1Jakpm1pejmOnGdON2NH5bAhm1DHvRf0lIUhEqMUZhSyN3s L5sbJcw1lHCrSuSlG0Fv/8n7n6INDYKlGJfZHoTe2YuS5HO2mw+8hbnvGP/jM/Lhtki6 cHchWRMAlhmDD2fPNx/LgaORoDAewNT7GRyBfhlC9CnadYNteQJWwOQ/wHXqcDjUi7mn Enyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ymNBe7bNzg4I8sVIxXdRpsCkpNVuaPKYWNMjdgmJJ0U=; b=oBerftxIuUjHMRcH99YBj0xThLadKB/u6IzPrvuKll5OTQcS0joUIivImWHNyypmoT Zv+6ievpxau9o8XK66xgh72aM0IY5b1r7SVLJnf7hNwYTanOftegO37u8RhbkQp9e2RS yJvDKG1IzUyQ84qJ19T5NHHt+QO8HmykDz4HkhhPaGPtouTqOXFWKz+KR1fKHQoIX5bP ND4LfP922QaTlXnm5FBx04cx0lUZcJrctsNJChV9BtEzi7m7FhZ8wjA61OCQGa24M29T HEmiVIMKjNmXy3NqnAI2I82830lcB4pF+rStbPvQ1rPICcdel7N17pFxMbL8KjPN1Ixx qtxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=aTwDrlzx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020a170906154200b006b640982042si1367253ejd.406.2022.03.03.08.29.13; Thu, 03 Mar 2022 08:29:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=aTwDrlzx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233948AbiCCONL (ORCPT + 99 others); Thu, 3 Mar 2022 09:13:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbiCCONK (ORCPT ); Thu, 3 Mar 2022 09:13:10 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA71A18CC0E; Thu, 3 Mar 2022 06:12:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646316745; x=1677852745; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OmW3wFitWOZ9d4nCwITn7KMkbSxKvXR3UNgpfKrtjjc=; b=aTwDrlzxpfkpMTYgCZ0fE5V6N7yUUAFrc5DQVyIpmY1AWDBr8EOWB7/X K/48BORewPNTp2n9Et5yZp2YVX4/UToz57nBTV+e3aOfa1nvY2vGPeZeF 5ZK/QxfVWceO8kM9vzXDAL5n2LllkkAErPVRNFCIruF5vJNfu6pgLOEE2 8ndO3dxWW4o2xat+elbD3lEaZ6eIUKNoCx/Ku7+UFlR1CKXwApm0+LXRT puou0US0e/GWf8ncCqxR/sGskRH93hLXA9A/uJkFypqrP3KB7QL8tsQbG EuHOZJBTLxxm+raPhRveJY2CrF1pEhAG0BlTwZePPQvUYhmYIpWr5MIYS g==; X-IronPort-AV: E=Sophos;i="5.90,151,1643698800"; d="scan'208";a="147960138" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Mar 2022 07:12:24 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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; Thu, 3 Mar 2022 07:12:23 -0700 Received: from ROB-ULT-M68701.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 3 Mar 2022 07:12:18 -0700 From: Sergiu Moga To: , , , , , CC: , , , , Sergiu Moga Subject: [PATCH v2 0/5] dt-bindings: rtc: convert at91sam9 bindings to Date: Thu, 3 Mar 2022 16:06:21 +0200 Message-ID: <20220303140626.38129-1-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 moving some of the specific properties from the "dts" files to the "dtsi" files as well as adding this required property to the "dtsi" files that were missing it. Changes since v1: - Add the "start-year" property as suggested by Alexandre Belloni - Fix the errors generated from not using the more generic "rtc" node name for the example of the binding, as suggested by Krzysztof Kozlowski - Replace the "uint32-array" type of the "atmel,rtt-rtc-time-reg" property with "syscon", as suggested by Krzysztof Kozlowski - Move the "atmel,rtt-rtc-time-reg" property from some of the Atmel/Microchip board files to the SoC files - Add the "atmel,rtt-rtc-time-reg" required property to the Atmel/Microchip SoC files that were missing it - Use the more generic "rtc" node name inside the Atmel/Microchip SoC files that were using "rtt" instead - Add SAMA7G5 compatible strings list to the DT binding Sergiu Moga (5): ARM: dts: at91: Move rtt node properties from "dts" file to "dtsi" file 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 | 65 +++++++++++++++++++ arch/arm/boot/dts/at91-sam9x60ek.dts | 5 -- arch/arm/boot/dts/at91-sama7g5ek.dts | 4 -- arch/arm/boot/dts/at91sam9260.dtsi | 1 + arch/arm/boot/dts/at91sam9260ek.dts | 1 - arch/arm/boot/dts/at91sam9261.dtsi | 1 + arch/arm/boot/dts/at91sam9263.dtsi | 2 + arch/arm/boot/dts/at91sam9g45.dtsi | 1 + arch/arm/boot/dts/at91sam9m10g45ek.dts | 1 - arch/arm/boot/dts/at91sam9rl.dtsi | 1 + arch/arm/boot/dts/sam9x60.dtsi | 3 +- arch/arm/boot/dts/sama7g5.dtsi | 3 +- 13 files changed, 75 insertions(+), 38 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