[PATCH v2 0/2] Fix and clean MT8365 clock indexes

From: Alexandre Mergnat
Date: Thu May 25 2023 - 10:50:48 EST


The first commit replace un unusable clock by another one.

The second one fix a regression which prevent the initialization of the
latest indexed clocks. The regression is introduced with [1].

[1]: Commit ffe91cb28f6a ("clk: mediatek: mt8365: Convert to
mtk_clk_simple_{probe,remove}()")

Signed-off-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>
---
Changes in v2:
- Add the missing clocks in the mt8365 clock driver.
- Revert all change in binding file except for one clock.
- Link to v1: https://lore.kernel.org/r/20230517-fix-clk-index-v1-0-142077a1732b@xxxxxxxxxxxx

---
Alexandre Mergnat (2):
dt-bindings: clock: mediatek: replace unusable clock
clk: mediatek: mt8365: Fix index issue

drivers/clk/mediatek/clk-mt8365.c | 11 +++++++++++
include/dt-bindings/clock/mediatek,mt8365-clk.h | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
---
base-commit: ac9a78681b921877518763ba0e89202254349d1b
change-id: 20230517-fix-clk-index-96043baf65be

Best regards,
--
Alexandre Mergnat <amergnat@xxxxxxxxxxxx>