From nobody Fri Oct 3 04:10:09 2025 Received: from smtp1.iitb.ac.in (smtpd9.iitb.ac.in [103.21.126.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E443521ADAE for ; Wed, 10 Sep 2025 13:52:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.21.126.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757512370; cv=none; b=KursErdziarWaAlq5MgYMGkDM7m7GsQTSaotrDA14gto0uZQmq48dNXUhw61c9BDtNPAYi22Ddk9BXfiYlqjWbSI1dcW7JBJ+NyPTgLEYlgWUayOj7a2nKCQHbmwESaVYSmVL1jviAEruGmaAfRCV67CQ6wCMfUTuFvHRPpCayg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757512370; c=relaxed/simple; bh=d57C21XYFc8gAypgPRhZ314Ib9xcXEDWIWM5LHoC1Gg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oXih5ICfz4jOH8RMqNUDYVf4d5h3U0O8+wGlcEkED5RQMY6qjQXlxm/UeiWD9XmfYeGFxQUKvNLXnYRlTf4N3SK1IggSBgoytGmZ8VF/xm4SWwzMfz4lGbnojOnwQGkrFipceM+xRwE2cWJwlYXJrWwA/oa/zXDzRwJ54czD/Cw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ee.iitb.ac.in; spf=pass smtp.mailfrom=ee.iitb.ac.in; dkim=pass (1024-bit key) header.d=iitb.ac.in header.i=@iitb.ac.in header.b=FE0OBX8p; arc=none smtp.client-ip=103.21.126.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ee.iitb.ac.in Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ee.iitb.ac.in Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=iitb.ac.in header.i=@iitb.ac.in header.b="FE0OBX8p" Received: from ldns2.iitb.ac.in (ldns2.iitb.ac.in [10.200.12.2]) by smtp1.iitb.ac.in (Postfix) with SMTP id 61CC7101622E for ; Wed, 10 Sep 2025 19:22:44 +0530 (IST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.iitb.ac.in 61CC7101622E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iitb.ac.in; s=mail; t=1757512364; bh=d57C21XYFc8gAypgPRhZ314Ib9xcXEDWIWM5LHoC1Gg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FE0OBX8pGN/Mkd3rLRUBhT9iIBQAGKOiwrQMfgF2xKxqHfc8ZUHF8dvib4+ma6P26 /GitBKPXfVZ/s7h63ATZxbfB+RVfN5K+0QD41PuvJrsjV2jyFnuZDHOCqmgK44TBiw U2NeW/fPrGKyGhbW5HF1vjSRwj4MJs09CBPb7t2M= Received: (qmail 6477 invoked by uid 510); 10 Sep 2025 19:22:44 +0530 X-Qmail-Scanner-Diagnostics: from 10.200.1.25 by ldns2 (envelope-from , uid 501) with qmail-scanner-2.11 spamassassin: 3.4.1. mhr: 1.0. {clamdscan: 0.100.0/26337} Clear:RC:1(10.200.1.25):SA:0(0.0/7.0):. Processed in 4.850564 secs; 10 Sep 2025 19:22:44 +0530 X-Spam-Level: X-Spam-Pyzor: Reported 0 times. X-Envelope-From: akhilesh@ee.iitb.ac.in X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received: from unknown (HELO ldns2.iitb.ac.in) (10.200.1.25) by ldns2.iitb.ac.in with SMTP; 10 Sep 2025 19:22:39 +0530 Received: from bhairav.ee.iitb.ac.in (bhairav.ee.iitb.ac.in [10.107.1.1]) by ldns2.iitb.ac.in (Postfix) with ESMTP id ED35F3414DE; Wed, 10 Sep 2025 19:22:38 +0530 (IST) Received: from bhairav-test.ee.iitb.ac.in (bhairav.ee.iitb.ac.in [10.107.1.1]) (Authenticated sender: akhilesh) by bhairav.ee.iitb.ac.in (Postfix) with ESMTPSA id CDF571E813E1; Wed, 10 Sep 2025 19:22:38 +0530 (IST) Date: Wed, 10 Sep 2025 19:22:33 +0530 From: Akhilesh Patil To: alexandre.belloni@bootlin.com, krzk+dt@kernel.org, robh@kernel.org, conor+dt@kernel.org Cc: skhan@linuxfoundation.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, akhileshpatilvnit@gmail.com Subject: [PATCH v2 1/6] dt-bindings: rtc: Add ST m41t93 Message-ID: <3aed714163abc86a18a62f039b285643d9504e64.1757510157.git.akhilesh@ee.iitb.ac.in> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document DT bindings for m41t93 rtc which supports time, date, alarm, watchdog, square wave clock output provider, user sram and 8 bit timer. Signed-off-by: Akhilesh Patil --- .../devicetree/bindings/rtc/st,m41t93.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/st,m41t93.yaml diff --git a/Documentation/devicetree/bindings/rtc/st,m41t93.yaml b/Documen= tation/devicetree/bindings/rtc/st,m41t93.yaml new file mode 100644 index 000000000000..bd593669cfa2 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/st,m41t93.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/st,m41t93.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST M41T93 RTC and compatible + +maintainers: + - linux-rtc@vger.kernel.org + +description: | + ST M41T93 is spi based Real Time Clock (RTC) with time, date, + alarm, watchdog, square wave clock output, 8 bit timer and + 7 bytes of user SRAM. + +properties: + compatible: + enum: + - st,m41t93 + + reg: + maxItems: 1 + + "#clock-cells": + const: 0 + +required: + - compatible + - reg + +allOf: + - $ref: rtc.yaml + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells =3D <1>; + #size-cells =3D <0>; + rtc@0 { + compatible =3D "st,m41t93"; + reg =3D <0>; + #clock-cells =3D <0>; + spi-max-frequency =3D <2000000>; + }; + }; + --=20 2.34.1