Skip to content

sunxi: clk: fix unhandled clocks warnings

Andre Przywara linux-sunxi u-boot 1 version Applied

Status from this message: Applied to sunxi/master.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2clk: sunxi: add PIO bus gate clocksdrivers/clk/sunxi/clk_a10.c drivers/clk/sunxi/clk_a10s.c drivers/clk/sunxi/clk_a23.c +9 more+28 -02 replies
2/2clk: sunxi: add and use dummy gate clocksdrivers/clk/sunxi/clk_h6.c drivers/clk/sunxi/clk_h616.c drivers/clk/sunxi/clk_h6_r.c +2 more+14 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSamuel Holland
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] sunxi: clk: fix unhandled clocks warnings

The introduction of the DM pinctrl driver saw many clocks, referenced in the respective pinctrl DT nodes, being enabled by the DM clock driver.

We didn't model all them correctly, so there are now some warnings on the console when booting:
=========
sunxi_set_gate: (CLK#58) unhandled
=========

This series fixes them. The first patch just describes some missing gate clocks, mostly for the pin controller directly.
The second patch introduces a GATE_DUMMY macro, that allows to just ignore some other clocks, and to suppress the warnings.

Please have a look and test!

Cheers,
Andre

Andre Przywara (2):
clk: sunxi: add PIO bus gate clocks
clk: sunxi: add and use dummy gate clocks

 drivers/clk/sunxi/clk_a10.c   | 2 ++
 drivers/clk/sunxi/clk_a10s.c  | 2 ++
 drivers/clk/sunxi/clk_a23.c   | 2 ++
 drivers/clk/sunxi/clk_a31.c   | 2 ++
 drivers/clk/sunxi/clk_a64.c   | 4 ++++
 drivers/clk/sunxi/clk_a80.c   | 2 ++
 drivers/clk/sunxi/clk_a83t.c  | 2 ++
 drivers/clk/sunxi/clk_h3.c    | 4 ++++
 drivers/clk/sunxi/clk_h6.c    | 4 ++++
 drivers/clk/sunxi/clk_h616.c  | 4 ++++
 drivers/clk/sunxi/clk_h6_r.c  | 2 ++
 drivers/clk/sunxi/clk_r40.c   | 2 ++
 drivers/clk/sunxi/clk_sunxi.c | 3 +++
 drivers/clk/sunxi/clk_v3s.c   | 2 ++
 include/clk/sunxi.h           | 5 +++++
 15 files changed, 42 insertions(+)
Signature · 1 line
2.35.3