clk: meson: add regmap to the clock controllers
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Feb 2018 14:58:35 +0000 (15:58 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 13 Mar 2018 09:04:00 +0000 (10:04 +0100)
commit161f6e5baabdecb7057696bc4ce006d0d94091ec
treec3f1548abe51df5fb47c8221973d6c3d4b425a0f
parent1f932d99710d70572f8703641db9a878a6dbd063
clk: meson: add regmap to the clock controllers

This change registers a regmap in meson8b, gxbb and axg controllers.
The clock are still accessing their registers directly through iomem.
Once all clocks handled by these controllers have been move to regmap,
the regmap register will be removed and replaced with a syscon request.

This is needed because other drivers, such as the HDMI driver, need to
access the HHI register region

Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/clk/meson/Kconfig
drivers/clk/meson/axg.c
drivers/clk/meson/gxbb.c
drivers/clk/meson/meson8b.c