platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI...
authorSteffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
Tue, 18 Jun 2019 13:31:02 +0000 (15:31 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 29 Jun 2019 14:12:19 +0000 (17:12 +0300)
The CB4063 board uses pmc_plt_clk* clocks for ethernet controllers. This
adds it to the critclk_systems DMI table so the clocks are marked as
CLK_CRITICAL and not turned off.

Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
Signed-off-by: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/pmc_atom.c

index 2104e1ad38d95e929af6a0df1b42f9167c76de1f..005634c11ebedcf88732d69feb8ca9f860cd60bc 100644 (file)
@@ -400,6 +400,14 @@ static const struct dmi_system_id critclk_systems[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "CB3163"),
                },
        },
+       {
+               /* pmc_plt_clk* - are used for ethernet controllers */
+               .ident = "Beckhoff CB4063",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"),
+                       DMI_MATCH(DMI_BOARD_NAME, "CB4063"),
+               },
+       },
        {
                /* pmc_plt_clk* - are used for ethernet controllers */
                .ident = "Beckhoff CB6263",