Re: [PATCH v4 8/8] dt-bindings: stm32: use reference manual names for ETR and STM bus clocks
From: Krzysztof Kozlowski
Date: Wed Nov 25 2026 - 08:37:38 EST
On 2026-11-24 17:17 +0100, Gabriel FERNANDEZ wrote:
> Hi Krzysztof,
>
>
> On 11/24/26 16:01, Krzysztof Kozlowski wrote:
> >> The bus clocks of the STM and of the ETR are identified by CK_BUS_STM500,
> >> CK_SCMI_STM500 and CK_SCMI_ETR. Now that their kernel clocks are
> >> described as CK_KER_STM and CK_KER_ETR, and as the RCC bus clock of the
> >> ETR is already CK_BUS_ETR, these names are confusing. They also differ
> >> from the reference manual and from the STM32MP21 binding, which uses
> >> CK_BUS_STM, CK_SCMI_BUS_ETR and CK_SCMI_BUS_STM for the same clocks.
> >>
> >> Use CK_BUS_STM, CK_SCMI_BUS_ETR and CK_SCMI_BUS_STM, with unchanged
> >> values, and keep the old names as deprecated aliases so that the
> >> existing users are not affected.
> >>
> >> No functional change.
> > That's ABI break, so clearly not true. Users of this ABI - this header -
> > did compile before, now they don't.
> Thanks for the review. Existing users should still compile: the patch keeps
> the three old names as aliases at the end of the header:
>
> +/* Deprecated identifiers, kept for backward compatibility */
> +#define CK_BUS_STM500 CK_BUS_STM
> +#define CK_SCMI_ETR CK_SCMI_BUS_ETR
> +#define CK_SCMI_STM500 CK_SCMI_BUS_STM
Did not scroll that far, that's fine.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Best regards,
Krzysztof
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>