[PATCH v2 0/3] Fix rate rounding for Meson read-only dividers

From: Carlo Caione

Date: Thu Oct 29 2026 - 08:55:59 EST


Meson read-only dividers can round a requested rate using a divisor they
cannot program. The clock core may then adjust child clocks using the
wrong parent rate.

This series uses the divisor already set in hardware. The first two
patches add a missing /4 entry to the GXL and G12A HDMI divider tables so
that all their register values can be read correctly.

Signed-off-by: Carlo Caione <ccaione@xxxxxxxxxxxx>
---
Changes in v2:
- Split the HDMI divider table fix per SoC and add Fixes tags (Jerome)
- Add a Fixes tag to the clk-regmap patch (Jerome)
- Add Jerome's Reviewed-by
- Link to v1: https://patch.msgid.link/20261026-upstream-clk-regmap-ro-divider-v1-0-c8216b0fb93a@xxxxxxxxxxxx

---
Carlo Caione (3):
clk: meson: gxbb: add the missing HDMI divider /4 alias
clk: meson: g12a: add the missing HDMI divider /4 alias
clk: meson: regmap: use the current divisor for read-only clocks

drivers/clk/meson/clk-regmap.c | 34 +++++++++++++++++++++-------------
drivers/clk/meson/g12a.c | 3 ++-
drivers/clk/meson/gxbb.c | 3 ++-
3 files changed, 25 insertions(+), 15 deletions(-)
---
base-commit: 363f97a1ce635b86be7fd263d56a040fbd87bdbb
change-id: 20261026-upstream-clk-regmap-ro-divider-f9ee3532fbe1

Best regards,
--
Carlo Caione <ccaione@xxxxxxxxxxxx>