This patchset does the following: - Introduce support for bus clocks. These are fairly similar to peripheral clocks, but only implement policy, gate and hyst.
- Add matching bus clocks for BCM21664 and BCM281xx peripheral clocks and update device tree bindings to match. Signed-off-by: Artur Weber <[email protected]> --- Changes in v7: - Drop DTS patches to make merging into the clock tree easier. They will be re-sent in a subsequent patchset. - Link to v6: https://lore.kernel.org/r/[email protected] Changes in v6: - Rebase on v6.16 - Make kona_bus_clk_ops const, add a new commit to make kona_peri_clk_ops const as well - Link to v5: https://lore.kernel.org/r/[email protected]/ Changes in v5: - Pick up Reviewed-by trailer from Krzysztof on patch 3 - Rebase on v6.14 - No code changes since v4 - Link to v4: https://lore.kernel.org/r/[email protected] Changes in v4: - Rename moved CLOCK_COUNT defines to CLK_COUNT to avoid redefinition - Squash BCM21664/BCM281xx bus clock DT bindings commits together - Link to v3: https://lore.kernel.org/r/[email protected] Changes in v3: - Fix DT schema example in BCM281xx bus clock bindings - Move CLOCK_COUNT defines from dt-bindings header to the driver - Fix BCM21664 UARTBx_APB IDs being out of order compared to clock driver - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Drop prerequisite clock patch - Move clock/bcm21664.h dt-bindings header change to dt-bindings patch - Add BCM281xx bus clocks - Link to v1: https://lore.kernel.org/r/[email protected] --- Artur Weber (7): clk: bcm: kona: Move CLOCK_COUNT defines into the driver dt-bindings: clock: brcm,kona-ccu: Drop CLOCK_COUNT defines from DT headers dt-bindings: clock: brcm,kona-ccu: Add BCM21664 and BCM281xx bus clocks clk: bcm: kona: Make kona_peri_clk_ops const clk: bcm: kona: Add support for bus clocks clk: bcm21664: Add corresponding bus clocks for peripheral clocks clk: bcm281xx: Add corresponding bus clocks for peripheral clocks .../devicetree/bindings/clock/brcm,kona-ccu.yaml | 49 ++++++- drivers/clk/bcm/clk-bcm21664.c | 99 ++++++++++++++- drivers/clk/bcm/clk-bcm281xx.c | 141 ++++++++++++++++++++- drivers/clk/bcm/clk-kona-setup.c | 116 +++++++++++++++++ drivers/clk/bcm/clk-kona.c | 64 +++++++++- drivers/clk/bcm/clk-kona.h | 14 +- include/dt-bindings/clock/bcm21664.h | 17 ++- include/dt-bindings/clock/bcm281xx.h | 24 +++- 8 files changed, 499 insertions(+), 25 deletions(-) --- base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f change-id: 20250212-kona-bus-clock-4297eefae940 Best regards, -- Artur Weber <[email protected]>

