From patchwork Fri Mar 4 14:27:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergiu Moga X-Patchwork-Id: 12769210 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B118EC433EF for ; Fri, 4 Mar 2022 14:30:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=TIMaAjSdD9qxp9JkKF0UiQ1YcOe3iSigL5BPmnn6Wpg=; b=zn3xLZIiI0oaNC 6/0L6JIeptd1fWY0KukxvREYCHilL6kaeAuDFBwSfvYQm48ynGl9Ix8ap5GEuhpw5WbKI4gLpPkgb lwsc/rFDotTy3xYb/WpYhAt+OevwWOfim2xnnsjQ8dR0E8xh0IdXn19DTb4U0Tx9pzBhAdPDo0yR0 uiqr+vbNVfpp5s8dO83oCOgGGAbhz2EddmF2Tmup+t5viudR8IIAim8eoV3rCNZ+keogTG9L8mekE cUkLa64xpxLeaDsLyicRyehhIhDk84deeIzmZSOKIvr9QWFXIKv1h/T6d7ZUDsExnR4YZljHxt6kf zTWB5+7sqPsqErIax3/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQ8vY-00ATbc-2N; Fri, 04 Mar 2022 14:29:04 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQ8vT-00ATaV-RA for linux-arm-kernel@lists.infradead.org; Fri, 04 Mar 2022 14:29:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646404139; x=1677940139; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=H/iynhIkpEfv9ZlpWMFfCVlJ4/W9smECL8yrvx7yXlc=; b=xslaUQXp14Ps8S01EzeoYhro5ckEu/z4moV43BMcbnEp9zHNDJ8AY3zi F0nKszAdiWpjWpPlolu81h0BEtbZg5toT1JVvfxnFgqC5TFjzUKc4zzDm jb+5zX/2BNlnZfU1B80PVNocMys8ouGPJrlR+h0vw2ipUGWXiBUD6wqTM MR08oZG2wBwqwx7k5EDGuvTSx+3aQlAHHWP1Bq1Wh/JfDsMgIwP68xoQ2 voC1goe/SU8wiOLxUzZEIVqvdGTQsLF3M0+4irmbP622zLcNkZAm9xX4Z 3PTCmI/6X14HsnPjN4/geIG+NLYafKv1Wbihmoo5ZPMqVYIL5jvdL7JqJ w==; X-IronPort-AV: E=Sophos;i="5.90,155,1643698800"; d="scan'208";a="150868593" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 07:28:57 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) 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:28:57 -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:28:54 -0700 From: Sergiu Moga To: , , , , , CC: , , , , Sergiu Moga Subject: [PATCH v3 0/5] dt-bindings: rtc: convert at91sam9 bindings to Date: Fri, 4 Mar 2022 16:27:41 +0200 Message-ID: <20220304142746.121947-1-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220304_062859_978553_771BC88C X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 adding the `atmel,rtt-rtc-time-reg` required property to the board files that were missing it. Changes since v2: - Removed patch that would move the `atmel,rtt-rtc-time-reg` property from the board file to the SoC file. - Modified the patch that adds the `atmel,rtt-rtc-time-reg` property to add it in the board file instead of the SoC file. - Replaced `start-year` and `additionalProperties` from the DT binding with `unevaluatedProperties`. - Modified the `atmel,rtt-rtc-time-reg` property described in the DT binding to use items with description. - Used macro for the IRQ type of the example node's interrupt property of the DT binding. Sergiu Moga (5): 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: Use macros for the IRQ type 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 | 8 +++ arch/arm/boot/dts/at91sam9rlek.dts | 4 ++ arch/arm/boot/dts/sam9x60.dtsi | 2 +- arch/arm/boot/dts/sama7g5.dtsi | 2 +- 7 files changed, 87 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