Thread (30 messages) 30 messages, 2 authors, 2022-12-23

Re: [PATCH v1 08/25] dt-bindings: clock: mt8173: Add dummy clock ID

From: Krzysztof Kozlowski <hidden>
Date: 2022-12-23 08:53:01
Also in: linux-clk, linux-devicetree, linux-mediatek, lkml

On 22/12/2022 12:48, AngeloGioacchino Del Regno wrote:
Some old MediaTek clock drivers are starting the clock count (so, the
clock ID) from one instead of zero and this is logically incorrect,
as we should start from 0.
During a cleanup an issue emerged due to that and the cleanest and
shortest way to keep devicetree backwards compatibility while still
performing the well deserved cleanup is to add a dummy clock where
needed, with ID 0.
Unfortunately I do not understand at all why adding dummy (fake) ID
cleans anything here. Unifying IDs to start from 0 is not an argument on
DT bindings header IDs.

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help