On 4.03.2025 08:35, Krzysztof Kozlowski wrote:
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.
The clock count defines are not used in device trees, only in the
driver. Most likely clock count defines were included since the driver
already uses clock ID defines from the DT binding header.
I'll drop the clock count defines in the next version, and see what I
can do to adapt the clock driver.
Best regards
Artur