Re: [PATCH v4 01/13] dt-bindings: clk: g12a-clkc: export VCLK2_SEL and add CTS_ENCL clock ids
From: Krzysztof Kozlowski
Date: Mon May 15 2023 - 12:13:35 EST
On 15/05/2023 18:06, Neil Armstrong wrote:
> On 13/05/2023 20:28, Krzysztof Kozlowski wrote:
>> On 12/05/2023 15:11, Neil Armstrong wrote:
>>> Expose VCLK2_SEL clock id and add new ids for the CTS_ENCL and CTS_ENCL_SEL
>>> clocks on G12A compatible SoCs.
>>> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
>>> drivers/clk/meson/g12a.h | 1 -
>>> include/dt-bindings/clock/g12a-clkc.h | 3 +++
>>> 2 files changed, 3 insertions(+), 1 deletion(-)
>> Bindings must be a separate patch from the driver changes. If this
>> causes bisectability issues, this means entire solution breaks ABI and
>> is not appropriate anyway...
> This is basically how we handled CLK IDs on Amlogic clk bindings for the
> last years, the amount of changes is very low and rather exceptional
> compared to early development stage.
The commits with bindings are used in devicetree-rebasing repo, so we
want them to be separate.
Meson is the only or almost the only platform making such changes. I
don't get why, because the conflict could be easily avoided with using
different names for defines in bindings and local clock. Approach of
having bindings strictly tied with driver commit is never desired.