clk: meson: meson8b: add the vclk2_en gate clock
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 29 Jun 2020 20:39:04 +0000 (22:39 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Thu, 9 Jul 2020 09:37:44 +0000 (11:37 +0200)
commit2568528f55356a2f20f80a18244d3e235cbd2cab
tree4b91c4d1d83e00fe9b7289898d066dd12095e497
parente653b41131f60054dbfa0c7431613d6aeaee2212
clk: meson: meson8b: add the vclk2_en gate clock

HHI_VIID_CLK_CNTL[19] is not part of the public S805 datasheet. However,
the GXBB driver defines this bit as a gate called "vclk2" and in the
3.10 kernel GPL code dump the following line can found:
  WRITE_LCD_CBUS_REG_BITS(HHI_VIID_CLK_CNTL, 0, 19, 1); //disable vclk2_en

Add this gate clock to the Meson8/Meson8b/Meson8m2 clock controller to
complete the VCLK2 clock tree.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200629203904.2989007-3-martin.blumenstingl@googlemail.com
drivers/clk/meson/meson8b.c
drivers/clk/meson/meson8b.h