clk: meson: clk-pll: add enable bit
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 1 Aug 2018 14:00:50 +0000 (16:00 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Wed, 26 Sep 2018 10:00:28 +0000 (12:00 +0200)
commite40c7e3cda07099a92ea68d022f3304c14f9659f
tree1d1405f53c13cd285e30953d8880a59a1bc5cae7
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
clk: meson: clk-pll: add enable bit

Add the enable the bit of the pll clocks.
These pll clocks may be disabled but we can't model this as an external
gate since the pll needs to lock when enabled.

Adding this bit allows to drop the poke of the first register of PLL.
This will be useful to model the different components of the pll using
generic clocks elements

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