linux/drivers/clk/x86
Rahul Tanwar a5d49bd369 clk: mxl: Add option to override gate clks
In MxL's LGM SoC, gate clocks can be controlled either from CGU clk driver
i.e. this driver or directly from power management driver/daemon. It is
dependent on the power policy/profile requirements of the end product.

To support such use cases, provide option to override gate clks enable/disable
by adding a flag GATE_CLK_HW which controls if these gate clks are controlled
by HW i.e. this driver or overridden in order to allow it to be controlled
by power profiles instead.

Reviewed-by: Yi xin Zhu <yzhu@maxlinear.com>
Signed-off-by: Rahul Tanwar <rtanwar@maxlinear.com>
Link: https://lore.kernel.org/r/bdc9c89317b5d338a6c4f1d49386b696e947a672.1665642720.git.rtanwar@maxlinear.com
[sboyd@kernel.org: Add braces on many line if-else]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2022-10-17 15:27:36 -07:00
..
clk-cgu-pll.c clk: mxl: Remove redundant spinlocks 2022-10-17 14:17:37 -07:00
clk-cgu.c clk: mxl: Add option to override gate clks 2022-10-17 15:27:36 -07:00
clk-cgu.h clk: mxl: Add option to override gate clks 2022-10-17 15:27:36 -07:00
clk-fch.c clk: x86: Fix clk_gate_flags for RV_CLK_GATE 2022-01-06 17:57:53 -08:00
clk-lgm.c clk: mxl: Remove redundant spinlocks 2022-10-17 14:17:37 -07:00
clk-lpss-atom.c clk: x86: Rename clk-lpt to more specific clk-lpss-atom 2021-07-27 14:03:47 -07:00
clk-pmc-atom.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
Kconfig clk: mxl: Switch from direct readl/writel based IO to regmap based IO 2022-10-17 14:17:37 -07:00
Makefile platform/x86: Drop the PMC_ATOM Kconfig option 2022-06-12 14:41:22 +02:00