Re: [PATCH v2 2/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA

From: Rob Herring
Date: Wed Jul 23 2025 - 00:41:39 EST


On Tue, Jul 22, 2025 at 03:36:31PM +0800, Troy Mitchell wrote:
> This patch adds macro definitions: SSPAx_I2S_BCLK,
> to introduce a dummy gate for i2s_bclk.
>
> Signed-off-by: Troy Mitchell <troy.mitchell@xxxxxxxxxxxxxxxxxx>
> ---
> include/dt-bindings/clock/spacemit,k1-syscon.h | 114 +++++++++++++------------
> 1 file changed, 58 insertions(+), 56 deletions(-)
>
> diff --git a/include/dt-bindings/clock/spacemit,k1-syscon.h b/include/dt-bindings/clock/spacemit,k1-syscon.h
> index 35968ae98246609c889eb4a7d08b4ff7360de53b..6914ccf5be45a1071d5b6eac354cacb67888e00c 100644
> --- a/include/dt-bindings/clock/spacemit,k1-syscon.h
> +++ b/include/dt-bindings/clock/spacemit,k1-syscon.h
> @@ -123,62 +123,64 @@
> #define CLK_TIMERS2 41
> #define CLK_AIB 42
> #define CLK_ONEWIRE 43
> -#define CLK_SSPA0 44
> -#define CLK_SSPA1 45

> +#define CLK_SSPA0 46
> +#define CLK_SSPA1 47

Uh, no. You can't re-number things. This is an ABI and you just broke
it.

Rob