]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: axg_audio: add sm1 support
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 2 Oct 2019 09:15:29 +0000 (11:15 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Tue, 8 Oct 2019 07:29:23 +0000 (09:29 +0200)
commit8436d2bde954913f2be80a00b4298ed8da50085f
tree66ec142d4d652a4f86e2bcccac3f0d8295ac6176
parent6a665fc24ea46795860a8c5b204c31a7db6ee39b
clk: meson: axg_audio: add sm1 support

Add sm1 support the axg audio clock controllers. This new version is
indeed derived from the previous generation, as always, adding a few
new clocks to the mix.

The number of gates now exceeds 32 and do not fit in a single register.
Unfortunately, designers chose to introduce the new gate register
immediately after the original one, at the beginning of the register
space, shifting all the master clock register offsets.

The sm1 also introduce a few mux and divider on the top clock path,
possibly to lower the peripheral clocks of the audio blocks if
necessary.

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/axg-audio.c
drivers/clk/meson/axg-audio.h