From: Yixun Lan <dlan@kernel.org>
To: Philipp Zabel <p.zabel@pengutronix.de>,
Stephen Boyd <sboyd@kernel.org>,
Michael Turquette <mturquette@baylibre.com>
Cc: linux-clk@vger.kernel.org, linux-riscv@lists.infradead.org,
spacemit@lists.linux.dev, linux-kernel@vger.kernel.org,
Yixun Lan <dlan@kernel.org>,
Junzhong Pan <panjunzhong@linux.spacemit.com>
Subject: [PATCH 0/2] spacemit: fix USB2 clock and reset
Date: Mon, 18 May 2026 02:58:35 +0000 [thread overview]
Message-ID: <20260518-06-clk-reset-usb-fix-v1-0-14fc235e692b@kernel.org> (raw)
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>
next reply other threads:[~2026-05-18 2:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-18 2:58 Yixun Lan [this message]
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
2026-06-18 10:14 ` Philipp Zabel
2026-06-18 10:13 ` Philipp Zabel
2026-06-30 1:10 ` (subset) [PATCH 0/2] spacemit: fix USB2 clock and reset Yixun Lan
2026-07-02 15:53 ` Philipp Zabel
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=20260518-06-clk-reset-usb-fix-v1-0-14fc235e692b@kernel.org \
--to=dlan@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=panjunzhong@linux.spacemit.com \
--cc=sboyd@kernel.org \
--cc=spacemit@lists.linux.dev \
/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
all inboxes | Powered by JetHome®