]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
clk: meson: meson8b: register the clock controller early
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 21 Jul 2018 19:13:59 +0000 (21:13 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Wed, 26 Sep 2018 10:02:00 +0000 (12:02 +0200)
commit6291b8c5ac67d0f1121d8dfd83a82c83272e3499
tree970a87dd6e47e135672f9ea5918d67a072664d3b
parent69b93104c7ec5668019caf5d2dbfd0e182df06db
clk: meson: meson8b: register the clock controller early

Until now only the reset controller (part of the clock controller
register space) was registered early in the boot process, while the
clock controller itself was registered later on.
However, some parts of the SoC are initialized early in the boot process,
such as the SRAM and the TWD timer. The bootloader already enables these
clocks so we didn't see any issues so far.

Register the clock controller early so other drivers (such as the SRAM
and TWD timer) can use the clocks early in the boot process.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/meson8b.c