]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson8b: put dividers and muxes in tables
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 9 Mar 2017 10:41:48 +0000 (11:41 +0100)
committerMichael Turquette <mturquette@baylibre.com>
Mon, 27 Mar 2017 19:30:01 +0000 (12:30 -0700)
commite3cceffd8a6569a26d21dedddb638e095274b675
treeb8d7e017a2fc971d3bd4b70886490e050aabc1b8
parentc6d4661354d57f716a89c94fafe19d4fa6084d66
clk: meson8b: put dividers and muxes in tables

Until now, there was only 1 divider and 1 mux declared for the meson8b
platform. With the ongoing work on various system, including audio, this
is about to change. Use the same approach as gates for dividers and muxes,
putting them in tables to fix the register address at runtime.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20170309104154.28295-4-jbrunet@baylibre.com
drivers/clk/meson/meson8b.c