linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rob Herring (Arm)" <robh@kernel.org>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>
Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] dt-bindings: timer/rtc: Remove duplicate st,stih407-lpc bindings
Date: Thu,  7 Aug 2025 16:44:05 -0500	[thread overview]
Message-ID: <20250807214406.4172668-1-robh@kernel.org> (raw)

The "st,stih407-lpc" binding is documented in 3 places as it can
function as a timer, watchdog, or RTC. As there's already a schema for
it in watchdogy/st,stih407-lpc.yaml, remove the other text bindings.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../devicetree/bindings/rtc/rtc-st-lpc.txt    | 28 -------------------
 .../devicetree/bindings/timer/st,stih407-lpc  | 28 -------------------
 2 files changed, 56 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt
 delete mode 100644 Documentation/devicetree/bindings/timer/st,stih407-lpc

diff --git a/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt b/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt
deleted file mode 100644
index daf88265df32..000000000000
--- a/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-STMicroelectronics Low Power Controller (LPC) - RTC
-===================================================
-
-LPC currently supports Watchdog OR Real Time Clock OR Clocksource
-functionality.
-
-[See: ../watchdog/st_lpc_wdt.txt for Watchdog options]
-[See: ../timer/st,stih407-lpc for Clocksource options]
-
-Required properties
-
-- compatible 	: Must be: "st,stih407-lpc"
-- reg		: LPC registers base address + size
-- interrupts    : LPC interrupt line number and associated flags
-- clocks	: Clock used by LPC device (See: ../clock/clock-bindings.txt)
-- st,lpc-mode	: The LPC can run either one of three modes:
-                  ST_LPC_MODE_RTC    [0]
-                  ST_LPC_MODE_WDT    [1]
-                  ST_LPC_MODE_CLKSRC [2]
-		 One (and only one) mode must be selected.
-
-Example:
-	lpc@fde05000 {
-		compatible	= "st,stih407-lpc";
-		reg		= <0xfde05000 0x1000>;
-		clocks 		= <&clk_s_d3_flexgen CLK_LPC_0>;
-		st,lpc-mode	= <ST_LPC_MODE_RTC>;
-	};
diff --git a/Documentation/devicetree/bindings/timer/st,stih407-lpc b/Documentation/devicetree/bindings/timer/st,stih407-lpc
deleted file mode 100644
index 72acb487b856..000000000000
--- a/Documentation/devicetree/bindings/timer/st,stih407-lpc
+++ /dev/null
@@ -1,28 +0,0 @@
-STMicroelectronics Low Power Controller (LPC) - Clocksource
-===========================================================
-
-LPC currently supports Watchdog OR Real Time Clock OR Clocksource
-functionality.
-
-[See: ../watchdog/st_lpc_wdt.txt for Watchdog options]
-[See: ../rtc/rtc-st-lpc.txt for RTC options]
-
-Required properties
-
-- compatible   : Must be: "st,stih407-lpc"
-- reg          : LPC registers base address + size
-- interrupts   : LPC interrupt line number and associated flags
-- clocks       : Clock used by LPC device (See: ../clock/clock-bindings.txt)
-- st,lpc-mode  : The LPC can run either one of three modes:
-                  ST_LPC_MODE_RTC    [0]
-                  ST_LPC_MODE_WDT    [1]
-                  ST_LPC_MODE_CLKSRC [2]
-		 One (and only one) mode must be selected.
-
-Example:
-       lpc@fde05000 {
-               compatible      = "st,stih407-lpc";
-               reg             = <0xfde05000 0x1000>;
-               clocks          = <&clk_s_d3_flexgen CLK_LPC_0>;
-               st,lpc-mode     = <ST_LPC_MODE_CLKSRC>;
-       };
-- 
2.47.2


             reply	other threads:[~2025-08-07 21:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-07 21:44 Rob Herring (Arm) [this message]
2025-08-08  2:50 ` [PATCH] dt-bindings: timer/rtc: Remove duplicate st,stih407-lpc bindings Rob Herring

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=20250807214406.4172668-1-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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).