Fix orphan clocks in clk-th1520-ap driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review
- v11 patch 4 repliesSuperseded
Changes in v2 from the cover letter
- Split the two fixes into separate patches
- Add a static qualifier for the new definition of osc_12m
- Link to v1: https://lore.kernel.org/all/[email protected]/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | clk: thead: th1520-ap: Correctly refer the parent of osc_12mdrivers/ | +8 | 2 replies | |
| 2/2 | clk: thead: th1520-ap: Correctly refer the parent of c910-i0drivers/ | +1 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Drew Fustini |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Fix orphan clocks in clk-th1520-ap driver
clk_orphan_dump shows two suspicious orphan clocks on TH1520 when booting the kernel with mainline U-Boot,
$ cat /sys/kernel/debug/clk/clk_orphan_dump | jq 'keys'
[
"c910",
"osc_12m"
]where the correct parents should be c910-i0 for c910, and osc_24m for osc_12m.
Note that the c910's case cannot be reproduced with vendor U-Boot, which always reparents c910 to its second parent, cpu-pll1. Another way to confirm the bug is to examine /sys/kernel/debug/clk/c910/clk_possible_parents, which obviously doesn't match c910's definition.
This series corrects the parent description of these two clocks to eliminate the orphans.
Changed from v1
- Split the two fixes into separate patches
- Add a static qualifier for the new definition of osc_12m
- Link to v1: https://lore.kernel.org/all/[email protected]/
Thanks for your time and review.
Yao Zi (2):
clk: thead: th1520-ap: Correctly refer the parent of osc_12m
clk: thead: th1520-ap: Correctly refer the parent of c910-i0
drivers/clk/thead/clk-th1520-ap.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
2.50.0