[RFC PATCH v4 0/4] Extend lan966x clock driver for clock gating support

From: Horatiu Vultur
Date: Wed Nov 03 2021 - 04:50:32 EST


This patch series depends on the following series, therefor keep it as RFC.
https://www.spinics.net/lists/linux-clk/msg62795.html

This patch series extend the clock driver to support also clock gating.

v3->v4:
- fix reg property in the schema file

v2->v3:
- add devm_clk_hw_register_gate function

v1->v2:
- add Acked-by tag for patch 2
- make the resource for clock gating as an optional resource

Horatiu Vultur (4):
clk: gate: Add devm_clk_hw_register_gate()
dt-bindings: clock: lan966x: Extend for clock gate support
dt-bindings: clock: lan966x: Extend includes with clock gates
clk: lan966x: Extend lan966x clock driver for clock gating support

.../bindings/clock/microchip,lan966x-gck.yaml | 5 +-
drivers/clk/clk-gate.c | 35 +++++++++++
drivers/clk/clk-lan966x.c | 59 ++++++++++++++++++-
include/dt-bindings/clock/microchip,lan966x.h | 8 ++-
include/linux/clk-provider.h | 23 ++++++++
5 files changed, 125 insertions(+), 5 deletions(-)

--
2.33.0