Linux clock framework development
 help / color / mirror / Atom feed
* [PATCH 0/2] spacemit: fix USB2 clock and reset
@ 2026-05-18  2:58 Yixun Lan
  2026-05-18  2:58 ` [PATCH 1/2] clk: spacemit: k3: fix USB2 bus clock Yixun Lan
  2026-05-18  2:58 ` [PATCH 2/2] reset: spacemit: k3: fix USB2 ahb reset Yixun Lan
  0 siblings, 2 replies; 4+ messages in thread
From: Yixun Lan @ 2026-05-18  2:58 UTC (permalink / raw)
  To: Philipp Zabel, Stephen Boyd, Michael Turquette
  Cc: linux-clk, linux-riscv, spacemit, linux-kernel, Yixun Lan,
	Junzhong Pan

In current code (v7.1-rc1), the register bit of bus clock and ahb reset
for USB2 were wrongly swapped, but this didn't cause any problem, because
from setting the register bits perspective, the de-assert reset operation
is effectly equivalent to enabling the clock bit, both of them will set
value 1.

This issue was found during suspend/resume test with vendor's internal
kernel.

I've combined these two patches in one series, but would expect each
patch to go via its own subsystem as bug fix, The USB2 driver is not yet
enabled in v7.1 cycle, so it's safe that we won't break any USB2 driver.

Signed-off-by: Yixun Lan <dlan@kernel.org>
---
Yixun Lan (2):
      clk: spacemit: k3: fix USB2 bus clock
      reset: spacemit: k3: fix USB2 ahb reset

 drivers/clk/spacemit/ccu-k3.c              | 2 +-
 drivers/reset/spacemit/reset-spacemit-k3.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260428-06-clk-reset-usb-fix-a265d4e836e5

Best regards,
--  
Yixun Lan <dlan@kernel.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-26 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-18  2:58 [PATCH 0/2] spacemit: fix USB2 clock and reset Yixun Lan
2026-05-18  2:58 ` [PATCH 1/2] clk: spacemit: k3: fix USB2 bus clock Yixun Lan
2026-05-18  2:58 ` [PATCH 2/2] reset: spacemit: k3: fix USB2 ahb reset Yixun Lan
2026-05-26 13:23   ` Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox