Re: [PATCH v2 2/7] dt-bindings: clock: brcm,kona-ccu: Add BCM281xx bus clocks
From: Krzysztof Kozlowski
Date: Tue Mar 04 2025 - 02:35:26 EST
On Mon, Mar 03, 2025 at 09:27:50PM +0100, Artur Weber wrote:
> - if:
> properties:
> compatible:
> diff --git a/include/dt-bindings/clock/bcm281xx.h b/include/dt-bindings/clock/bcm281xx.h
> index d74ca42112e79746c513f6861a89628ee03f0f79..15449f998eb7a5a191fd847b689cfbe60b27c541 100644
> --- a/include/dt-bindings/clock/bcm281xx.h
> +++ b/include/dt-bindings/clock/bcm281xx.h
> @@ -34,7 +34,9 @@
> #define BCM281XX_AON_CCU_HUB_TIMER 0
> #define BCM281XX_AON_CCU_PMU_BSC 1
> #define BCM281XX_AON_CCU_PMU_BSC_VAR 2
> -#define BCM281XX_AON_CCU_CLOCK_COUNT 3
You cannot change defines, it is an ABI. Unless it is not an ABI... so
just drop all these counts in separate patch, just like we were doing
for other platforms.
Best regards,
Krzysztof