]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: meson: add regmap clocks
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Feb 2018 14:58:32 +0000 (15:58 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 13 Mar 2018 09:03:58 +0000 (10:03 +0100)
commitea11dda9e091aba0fe6497108477699286a2d036
tree66c38116ef525ea6bedecde93e39dd6738c70226
parent7b174c5ebe46c739b0802d0781a32788f5259d2c
clk: meson: add regmap clocks

Meson clock controllers need to move the classical iomem registers to
regmap. This is triggered because the HHI controllers found on the GXBB
and GXL host more than just clocks. To properly handle this, we would
like to migrate HHI to syscon. Also GXBB AO clock controller already use
regmap, AXG AO and Audio clock controllers will as well.

The purpose of this change is to provide a common structure to these
meson controllers (and possibly others) for regmap based clocks.

This change provides the basic gate, mux and divider, based on the
helpers provided by the related generic clocks

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/clk/meson/Kconfig
drivers/clk/meson/Makefile
drivers/clk/meson/clk-regmap.c [new file with mode: 0644]
drivers/clk/meson/clk-regmap.h [new file with mode: 0644]