clk: ingenic: Add code to enable/disable PLLs
authorPaul Cercueil <paul@crapouillou.net>
Tue, 16 Jan 2018 15:47:54 +0000 (16:47 +0100)
committerJames Hogan <jhogan@kernel.org>
Thu, 18 Jan 2018 22:05:29 +0000 (22:05 +0000)
commitab27eb4bc3650f34bbf0b371047ce3bfd19aebe9
treef81e6e551eb9ccc3feaff316f23772a627e2dc98
parent268db077ac47d3b5d8e3a768bf9dc5cb32ce6074
clk: ingenic: Add code to enable/disable PLLs

This commit permits the PLLs to be dynamically enabled and disabled when
their children clocks are enabled and disabled.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Maarten ter Huurne <maarten@treewalker.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18480/
Signed-off-by: James Hogan <jhogan@kernel.org>
drivers/clk/ingenic/cgu.c