[PATCH 1/2] dt-bindings: soc: spacemit: k3: Decouple composite reset lines
Philipp Zabel
p.zabel at pengutronix.de
Thu Mar 12 04:09:13 PDT 2026
On Do, 2026-03-12 at 10:34 +0000, Yixun Lan wrote:
> Instead of grouping several different reset lines into one composite
> reset, decouple them to individual ones which make it more aligned
> with underlying hardware.
>
> The DWC3 USB host controller in K3 SoC has three reset lines - AHB, VCC,
> PHY. The PCIe controller also has three reset lines - DBI, Slave, Master.
>
> Signed-off-by: Yixun Lan <dlan at kernel.org>
> ---
> include/dt-bindings/reset/spacemit,k3-resets.h | 42 ++++++++++++++++++++------
> 1 file changed, 32 insertions(+), 10 deletions(-)
>
> diff --git a/include/dt-bindings/reset/spacemit,k3-resets.h b/include/dt-bindings/reset/spacemit,k3-resets.h
> index 79ac1c22b7b5..c12f8bd32047 100644
> --- a/include/dt-bindings/reset/spacemit,k3-resets.h
> +++ b/include/dt-bindings/reset/spacemit,k3-resets.h
> @@ -97,11 +97,7 @@
> #define RESET_APMU_SDH0 13
> #define RESET_APMU_SDH1 14
> #define RESET_APMU_SDH2 15
> -#define RESET_APMU_USB2 16
> -#define RESET_APMU_USB3_PORTA 17
> -#define RESET_APMU_USB3_PORTB 18
> -#define RESET_APMU_USB3_PORTC 19
> -#define RESET_APMU_USB3_PORTD 20
This is backwards incompatible.
Are there any device trees using the APMU resets yet?
If not, I wonder if we should just renumber all APMU resets into a
contiguous range and try to get it into v7.0 as a fix.
Also, this breaks bisectability.
reset-spacemit-k3.c will fail to compile between patches 1 and 2.
regards
Philipp
More information about the linux-riscv
mailing list