[PATCH v3 0/1] Fix clk-gpio driver
Svyatoslav Ryhel
clamor95 at gmail.com
Wed Jan 10 17:09:55 CET 2024
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
More information about the U-Boot
mailing list