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

platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table

The Lex 3I380D industrial PC has 4 ethernet controllers on board
which need pmc_plt_clk0 - 3 to function, add it to the critclk_systems
DMI table, so that drivers/clk/x86/clk-pmc-atom.c will mark the clocks
as CLK_CRITICAL and they will not get turned off.

Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
Reported-and-tested-by: Semyon Verchenko <semverchenko@factor-ts.ru>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

authored by

Hans de Goede and committed by
Andy Shevchenko
3d0818f5 a188339c

+9
+9
drivers/platform/x86/pmc_atom.c
··· 398 398 */ 399 399 static const struct dmi_system_id critclk_systems[] = { 400 400 { 401 + /* pmc_plt_clk0 is used for an external HSIC USB HUB */ 401 402 .ident = "MPL CEC1x", 402 403 .matches = { 403 404 DMI_MATCH(DMI_SYS_VENDOR, "MPL AG"), 404 405 DMI_MATCH(DMI_PRODUCT_NAME, "CEC10 Family"), 406 + }, 407 + }, 408 + { 409 + /* pmc_plt_clk0 - 3 are used for the 4 ethernet controllers */ 410 + .ident = "Lex 3I380D", 411 + .matches = { 412 + DMI_MATCH(DMI_SYS_VENDOR, "Lex BayTrail"), 413 + DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), 405 414 }, 406 415 }, 407 416 { /*sentinel*/ }