]> git.baikalelectronics.ru Git - uboot.git/commit
clk: sunxi: add PIO bus gate clocks
authorAndre Przywara <andre.przywara@arm.com>
Wed, 4 May 2022 21:10:28 +0000 (22:10 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 24 May 2022 00:15:09 +0000 (01:15 +0100)
commit8b8dfda2d1267ffbb7038af1f746aff6f221f0c1
treec4fe6bd4cde195029c24cc3f1b464e11dedafd7e
parentf24077ca3d273fb25d181bb45629365d3ab46ec8
clk: sunxi: add PIO bus gate clocks

The introduction of the DM pinctrl driver made its probe function enable
all clocks enumerated in the DT. This includes the "CLK_BUS_PIO" (and
variations) gate clock. Also CLK_PLL_PERIPH0 is used by the R_CCU device.
So far we didn't describe those clocks in our clock driver.
As we enable them already in the SPL, the devices happen to work, but
the clock driver still complains about not finding those clocks:
=========
sunxi_set_gate: (CLK#58) unhandled
=========

Add the one-liners that are needed to announce the gate bit for those
clocks, to silence that message on the console.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
12 files changed:
drivers/clk/sunxi/clk_a10.c
drivers/clk/sunxi/clk_a10s.c
drivers/clk/sunxi/clk_a23.c
drivers/clk/sunxi/clk_a31.c
drivers/clk/sunxi/clk_a64.c
drivers/clk/sunxi/clk_a80.c
drivers/clk/sunxi/clk_a83t.c
drivers/clk/sunxi/clk_h3.c
drivers/clk/sunxi/clk_h6.c
drivers/clk/sunxi/clk_h616.c
drivers/clk/sunxi/clk_r40.c
drivers/clk/sunxi/clk_v3s.c