[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231002180854.1603452-1-ben.wolsieffer@hefring.com>
Date: Mon, 2 Oct 2023 14:08:52 -0400
From: Ben Wolsieffer <ben.wolsieffer@...ring.com>
To: linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-clk@...r.kernel.org
Cc: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Ben Wolsieffer <ben.wolsieffer@...ring.com>
Subject: [PATCH 0/2] ARM: stm32: add clock for pwrcfg syscon
The STM32F4/7 pwrcfg syscon was missing its clock, making it impossible
to use after clk_disable_unused(). Simply adding the clock creates a
circular dependency, because the syscon is used by the clock driver.
This series resolves this dependency and then adds the clock.
I tested this on a STM32F746 and verified that syscon writes now
succeed even after clk_disable_unused().
Ben Wolsieffer (2):
clk: stm32: initialize syscon after clocks are registered
ARM: dts: stm32: add pwrcfg clock for stm32f4/7
arch/arm/boot/dts/st/stm32f429.dtsi | 1 +
arch/arm/boot/dts/st/stm32f746.dtsi | 1 +
drivers/clk/clk-stm32f4.c | 12 ++++++------
3 files changed, 8 insertions(+), 6 deletions(-)
--
2.42.0
Powered by blists - more mailing lists