Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: pmc_atom: Add several Beckhoff Automation boards to critclk_systems DMI table

There are several Beckhoff Automation industrial PC boards which use
pmc_plt_clk* clocks for ethernet controllers. This adds affected boards
to 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>

authored by

Steffen Dirkwinkel and committed by
Andy Shevchenko
d6423bd0 3d0818f5

+24
+24
drivers/platform/x86/pmc_atom.c
··· 413 413 DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), 414 414 }, 415 415 }, 416 + { 417 + /* pmc_plt_clk* - are used for ethernet controllers */ 418 + .ident = "Beckhoff CB3163", 419 + .matches = { 420 + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), 421 + DMI_MATCH(DMI_BOARD_NAME, "CB3163"), 422 + }, 423 + }, 424 + { 425 + /* pmc_plt_clk* - are used for ethernet controllers */ 426 + .ident = "Beckhoff CB6263", 427 + .matches = { 428 + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), 429 + DMI_MATCH(DMI_BOARD_NAME, "CB6263"), 430 + }, 431 + }, 432 + { 433 + /* pmc_plt_clk* - are used for ethernet controllers */ 434 + .ident = "Beckhoff CB6363", 435 + .matches = { 436 + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), 437 + DMI_MATCH(DMI_BOARD_NAME, "CB6363"), 438 + }, 439 + }, 416 440 { /*sentinel*/ } 417 441 }; 418 442