[PATCH 0/4] clk: ccf: fix enable_count mismatch
Yang Xiwen via B4 Relay
devnull+forbidden405.outlook.com at kernel.org
Sat Nov 18 23:07:03 CET 2023
As described in [1], enable_count is incremented by 2 when
ccf_clk_enable() is called. This series of patch fixed this issue and
added a testcase for that.
[1]: https://lore.kernel.org/all/SEZPR06MB695927A6DEEEF8489A06897396A7A@SEZPR06MB6959.apcprd06.prod.outlook.com/
Signed-off-by: Yang Xiwen <forbidden405 at outlook.com>
---
Yang Xiwen (4):
clk: clk_sandbox_ccf: assign ccf_clk_ops to .ops of the driver
clk: get correct ops for clk_enable() and clk_disable()
clk: clk_sandbox: get devm clock i2c_root
test: dm: clk_ccf: get "i2c_root" clock from &clk_ccf
arch/sandbox/dts/test.dts | 6 ++++--
arch/sandbox/include/asm/clk.h | 1 +
drivers/clk/clk-uclass.c | 2 ++
drivers/clk/clk_sandbox_ccf.c | 1 +
drivers/clk/clk_sandbox_test.c | 5 +++++
test/dm/clk_ccf.c | 14 +++++++++++---
6 files changed, 24 insertions(+), 5 deletions(-)
---
base-commit: 3b913c148249a2b9d12ff25517ec311646e83bee
change-id: 20231111-enable_count-ad5001326815
Best regards,
--
Yang Xiwen <forbidden405 at outlook.com>
More information about the U-Boot
mailing list