]> git.baikalelectronics.ru Git - kernel.git/commit
clk: x86: Add system specific quirk to mark clocks as critical
authorDavid Müller <dave.mueller@gmx.ch>
Mon, 8 Apr 2019 13:33:54 +0000 (15:33 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 10 Apr 2019 22:54:12 +0000 (15:54 -0700)
commitbfc8f898d50161b3c58ad271cf2504f310c843ba
tree49390d3305bda6d110ad8a71a871d36bc43192b3
parent44b76cb528ba0d6746df5c03ae482396254a4798
clk: x86: Add system specific quirk to mark clocks as critical

Since commit f81bd8cb62b9 ("clk: x86: Stop marking clocks as
CLK_IS_CRITICAL"), the pmc_plt_clocks of the Bay Trail SoC are
unconditionally gated off. Unfortunately this will break systems where these
clocks are used for external purposes beyond the kernel's knowledge. Fix it
by implementing a system specific quirk to mark the necessary pmc_plt_clks as
critical.

Fixes: f81bd8cb62b9 ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
Signed-off-by: David Müller <dave.mueller@gmx.ch>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/x86/clk-pmc-atom.c
drivers/platform/x86/pmc_atom.c
include/linux/platform_data/x86/clk-pmc-atom.h