clk: meson: add fdiv clock gates
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 19 Feb 2018 11:21:45 +0000 (12:21 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 13 Mar 2018 09:09:58 +0000 (10:09 +0100)
commit05f814402d6174369b3b29832cbb5eb5ed287059
tree55806276dd6ea4734e2ec86238680c4e4ec06961
parent513b67ac39b0ef91761d94d1d6e31bb84e380744
clk: meson: add fdiv clock gates

Fdiv fixed dividers clocks of the fixed_pll can actually gate
independently. We never had an issue so far because these clocks
were provided 'enabled' by the bootloader.

Add these gates to enable/disable the clocks when required.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/clk/meson/axg.c
drivers/clk/meson/axg.h
drivers/clk/meson/gxbb.c
drivers/clk/meson/gxbb.h
drivers/clk/meson/meson8b.c
drivers/clk/meson/meson8b.h