Skip to content

Fix clk-gpio driver

Svyatoslav Ryhel u-boot 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 2 repliesApplied
  2. v21 patch 14 repliesSuperseded
  3. v11 patch 5 repliesSuperseded

Changes in v3 from the cover letter

- restored probe

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/1clk: clk-gpio: add actual gated clockdrivers/clk/clk-gpio.c+34 -61 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchSean Anderson
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/1] Fix clk-gpio driver

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(-)
Signature · 1 line
2.40.1