1 From 9452fbf5c6cf5f470e0748fe7a14a683e7765f7a Mon Sep 17 00:00:00 2001
2 From: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
3 Date: Tue, 18 Jun 2019 15:31:02 +0200
4 Subject: platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table
6 From: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
8 commit 9452fbf5c6cf5f470e0748fe7a14a683e7765f7a upstream.
10 The CB4063 board uses pmc_plt_clk* clocks for ethernet controllers. This
11 adds it to the critclk_systems DMI table so the clocks are marked as
12 CLK_CRITICAL and not turned off.
14 Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
15 Signed-off-by: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
16 Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
17 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 drivers/platform/x86/pmc_atom.c | 8 ++++++++
21 1 file changed, 8 insertions(+)
23 --- a/drivers/platform/x86/pmc_atom.c
24 +++ b/drivers/platform/x86/pmc_atom.c
25 @@ -414,6 +414,14 @@ static const struct dmi_system_id critcl
28 /* pmc_plt_clk* - are used for ethernet controllers */
29 + .ident = "Beckhoff CB4063",
31 + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"),
32 + DMI_MATCH(DMI_BOARD_NAME, "CB4063"),
36 + /* pmc_plt_clk* - are used for ethernet controllers */
37 .ident = "Beckhoff CB6263",
39 DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"),