* [PATCH] dt-bindings: clock: Drop st,stm32h7-rcc.txt
@ 2025-05-05 16:19 Rob Herring (Arm)
2025-05-06 16:14 ` Conor Dooley
2025-05-06 21:15 ` Stephen Boyd
0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-05-05 16:19 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Krzysztof Kozlowski,
Conor Dooley, Maxime Coquelin, Alexandre Torgue
Cc: linux-clk, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel
The binding is already covered by st,stm32-rcc.yaml.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../bindings/clock/st,stm32h7-rcc.txt | 71 -------------------
1 file changed, 71 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/st,stm32h7-rcc.txt
diff --git a/Documentation/devicetree/bindings/clock/st,stm32h7-rcc.txt b/Documentation/devicetree/bindings/clock/st,stm32h7-rcc.txt
deleted file mode 100644
index cac24ee10b72..000000000000
--- a/Documentation/devicetree/bindings/clock/st,stm32h7-rcc.txt
+++ /dev/null
@@ -1,71 +0,0 @@
-STMicroelectronics STM32H7 Reset and Clock Controller
-=====================================================
-
-The RCC IP is both a reset and a clock controller.
-
-Please refer to clock-bindings.txt for common clock controller binding usage.
-Please also refer to reset.txt for common reset controller binding usage.
-
-Required properties:
-- compatible: Should be:
- "st,stm32h743-rcc"
-
-- reg: should be register base and length as documented in the
- datasheet
-
-- #reset-cells: 1, see below
-
-- #clock-cells : from common clock binding; shall be set to 1
-
-- clocks: External oscillator clock phandle
- - high speed external clock signal (HSE)
- - low speed external clock signal (LSE)
- - external I2S clock (I2S_CKIN)
-
-Optional properties:
-- st,syscfg: phandle for pwrcfg, mandatory to disable/enable backup domain
- write protection (RTC clock).
-
-Example:
-
- rcc: reset-clock-controller@58024400 {
- compatible = "st,stm32h743-rcc", "st,stm32-rcc";
- reg = <0x58024400 0x400>;
- #reset-cells = <1>;
- #clock-cells = <1>;
- clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s_ckin>;
-
- st,syscfg = <&pwrcfg>;
-};
-
-The peripheral clock consumer should specify the desired clock by
-having the clock ID in its "clocks" phandle cell.
-
-Example:
-
- timer5: timer@40000c00 {
- compatible = "st,stm32-timer";
- reg = <0x40000c00 0x400>;
- interrupts = <50>;
- clocks = <&rcc TIM5_CK>;
- };
-
-Specifying softreset control of devices
-=======================================
-
-Device nodes should specify the reset channel required in their "resets"
-property, containing a phandle to the reset device node and an index specifying
-which channel to use.
-The index is the bit number within the RCC registers bank, starting from RCC
-base address.
-It is calculated as: index = register_offset / 4 * 32 + bit_offset.
-Where bit_offset is the bit offset within the register.
-
-For example, for CRC reset:
- crc = AHB4RSTR_offset / 4 * 32 + CRCRST_bit_offset = 0x88 / 4 * 32 + 19 = 1107
-
-Example:
-
- timer2 {
- resets = <&rcc STM32H7_APB1L_RESET(TIM2)>;
- };
--
2.47.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: clock: Drop st,stm32h7-rcc.txt
2025-05-05 16:19 [PATCH] dt-bindings: clock: Drop st,stm32h7-rcc.txt Rob Herring (Arm)
@ 2025-05-06 16:14 ` Conor Dooley
2025-05-06 21:15 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2025-05-06 16:14 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Michael Turquette, Stephen Boyd, Krzysztof Kozlowski,
Conor Dooley, Maxime Coquelin, Alexandre Torgue, linux-clk,
devicetree, linux-stm32, linux-arm-kernel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
On Mon, May 05, 2025 at 11:19:32AM -0500, Rob Herring (Arm) wrote:
> The binding is already covered by st,stm32-rcc.yaml.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: clock: Drop st,stm32h7-rcc.txt
2025-05-05 16:19 [PATCH] dt-bindings: clock: Drop st,stm32h7-rcc.txt Rob Herring (Arm)
2025-05-06 16:14 ` Conor Dooley
@ 2025-05-06 21:15 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2025-05-06 21:15 UTC (permalink / raw)
To: Alexandre Torgue, Conor Dooley, Krzysztof Kozlowski,
Maxime Coquelin, Michael Turquette, Rob Herring
Cc: linux-clk, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel
Quoting Rob Herring (Arm) (2025-05-05 09:19:32)
> The binding is already covered by st,stm32-rcc.yaml.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-06 21:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-05 16:19 [PATCH] dt-bindings: clock: Drop st,stm32h7-rcc.txt Rob Herring (Arm)
2025-05-06 16:14 ` Conor Dooley
2025-05-06 21:15 ` Stephen Boyd
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).