devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Javier Carrasco <javier.carrasco.cruz@gmail.com>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>,
	 Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Jiaxun Yang <jiaxun.yang@flygoat.com>,
	 Vladimir Zapolskiy <vz@mleia.com>, Joel Stanley <joel@jms.id.au>,
	 Andrew Jeffery <andrew@codeconstruct.com.au>,
	 Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	 Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	 linux-aspeed@lists.ozlabs.org,
	linux-stm32@st-md-mailman.stormreply.com,
	 Javier Carrasco <javier.carrasco.cruz@gmail.com>
Subject: [PATCH 4/9] dt-bindings: rtc: maxim,ds1742: move to trivial-rtc
Date: Mon, 08 Apr 2024 17:53:04 +0200	[thread overview]
Message-ID: <20240408-rtc_dtschema-v1-4-c447542fc362@gmail.com> (raw)
In-Reply-To: <20240408-rtc_dtschema-v1-0-c447542fc362@gmail.com>

This RTC only requires the compatible a reg and properties,
which makes it suitable for a direct conversion into trivial-rtc.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
 Documentation/devicetree/bindings/rtc/maxim,ds1742.txt | 12 ------------
 Documentation/devicetree/bindings/rtc/trivial-rtc.yaml |  2 ++
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/Documentation/devicetree/bindings/rtc/maxim,ds1742.txt b/Documentation/devicetree/bindings/rtc/maxim,ds1742.txt
deleted file mode 100644
index d0f937c355b5..000000000000
--- a/Documentation/devicetree/bindings/rtc/maxim,ds1742.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-* Maxim (Dallas) DS1742/DS1743 Real Time Clock
-
-Required properties:
-- compatible: Should contain "maxim,ds1742".
-- reg: Physical base address of the RTC and length of memory
-  mapped region.
-
-Example:
-	rtc: rtc@10000000 {
-		compatible = "maxim,ds1742";
-		reg = <0x10000000 0x800>;
-	};
diff --git a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml
index d6ce7ac29033..710b096fe6f7 100644
--- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml
@@ -49,6 +49,8 @@ properties:
       - isil,isl1218
       # Mvebu Real-time Clock
       - marvell,orion-rtc
+      # Maxim DS1742/DS1743 Real-time Clock
+      - maxim,ds1742
       # SPI-BUS INTERFACE REAL TIME CLOCK MODULE
       - maxim,mcp795
       # Real Time Clock Module with I2C-Bus

-- 
2.40.1


  parent reply	other threads:[~2024-04-08 15:53 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08 15:53 [PATCH 0/9] rtc: convert multiple bindings into dtschema Javier Carrasco
2024-04-08 15:53 ` [PATCH 1/9] dt-bindings: rtc: orion-rtc: move to trivial-rtc Javier Carrasco
2024-04-09  7:31   ` Krzysztof Kozlowski
2024-04-08 15:53 ` [PATCH 2/9] dt-bindings: rtc: google,goldfish-rtc: " Javier Carrasco
2024-04-09  7:32   ` Krzysztof Kozlowski
2024-04-16 22:45   ` kernel test robot
2024-04-17  8:19     ` Javier Carrasco
2024-04-08 15:53 ` [PATCH 3/9] dt-bindings: rtc: lpc32xx-rtc: " Javier Carrasco
2024-04-09  7:34   ` Krzysztof Kozlowski
2024-04-09  8:52     ` Javier Carrasco
2024-04-09  9:40       ` Krzysztof Kozlowski
2024-04-09 12:11       ` Alexandre Belloni
2024-04-08 15:53 ` Javier Carrasco [this message]
2024-04-09  7:35   ` [PATCH 4/9] dt-bindings: rtc: maxim,ds1742: " Krzysztof Kozlowski
2024-04-08 15:53 ` [PATCH 5/9] dt-bindings: rtc: rtc-aspeed: " Javier Carrasco
2024-04-09  7:36   ` Krzysztof Kozlowski
2024-04-09 11:53   ` Andrew Jeffery
2024-04-08 15:53 ` [PATCH 6/9] dt-bindings: rtc: pxa-rtc: convert to dtschema Javier Carrasco
2024-04-09  7:37   ` Krzysztof Kozlowski
2024-04-08 15:53 ` [PATCH 7/9] dt-bindings: rtc: spear-rtc: move to trivial-rtc Javier Carrasco
2024-04-09  7:37   ` Krzysztof Kozlowski
2024-04-08 15:53 ` [PATCH 8/9] dt-bindings: rtc: stmp3xxx-rtc: convert to dtschema Javier Carrasco
2024-04-09  7:40   ` Krzysztof Kozlowski
2024-04-09  9:22     ` Javier Carrasco
2024-04-09  9:42       ` Krzysztof Kozlowski
2024-04-08 15:53 ` [PATCH 9/9] dt-bindings: rtc: via,vt8500-rtc: move to trivial-rtc Javier Carrasco
2024-04-09  7:40   ` Krzysztof Kozlowski
2024-04-09 10:26 ` [PATCH 0/9] rtc: convert multiple bindings into dtschema Alexandre Belloni
2024-04-09 12:02   ` Javier Carrasco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240408-rtc_dtschema-v1-4-c447542fc362@gmail.com \
    --to=javier.carrasco.cruz@gmail.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew@codeconstruct.com.au \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=joel@jms.id.au \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=robh@kernel.org \
    --cc=vz@mleia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).