
10 Jan
2024
10 Jan
'24
5:09 p.m.
Existing gpio-gate-clock driver acts like a simple GPIO switch without any effect on gated clock. Add actual clock actions into enable/disable ops and implement get_rate op by passing gated clock if it is enabled.
Testing current driver implementation shows that it is not fully capable and lacks gated clock manipulations.
--- Changes from v2 - restored probe
Changes from v1 - added comments for priv struct members - return gatet clock rate unconditionally - switch log_err > log_debug on of_to_plat ---
Svyatoslav Ryhel (1): clk: clk-gpio: add actual gated clock
drivers/clk/clk-gpio.c | 40 ++++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-)
--
2.40.1