diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-04-29 11:01:35 -0400 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-05-20 10:26:31 -0400 |
commit | 3d0818f5eba80fbe4c0addbfe6ddb2d19dc82cd4 (patch) | |
tree | b38befaa0f6d9f1acb2a8b3f66e3f9395e644999 /drivers/platform/x86/pmc_atom.c | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) |
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>
Diffstat (limited to 'drivers/platform/x86/pmc_atom.c')
-rw-r--r-- | drivers/platform/x86/pmc_atom.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index c7039f52ad51..a311f48ce7c9 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c | |||
@@ -398,12 +398,21 @@ static int pmc_dbgfs_register(struct pmc_dev *pmc) | |||
398 | */ | 398 | */ |
399 | static const struct dmi_system_id critclk_systems[] = { | 399 | static const struct dmi_system_id critclk_systems[] = { |
400 | { | 400 | { |
401 | /* pmc_plt_clk0 is used for an external HSIC USB HUB */ | ||
401 | .ident = "MPL CEC1x", | 402 | .ident = "MPL CEC1x", |
402 | .matches = { | 403 | .matches = { |
403 | DMI_MATCH(DMI_SYS_VENDOR, "MPL AG"), | 404 | DMI_MATCH(DMI_SYS_VENDOR, "MPL AG"), |
404 | DMI_MATCH(DMI_PRODUCT_NAME, "CEC10 Family"), | 405 | DMI_MATCH(DMI_PRODUCT_NAME, "CEC10 Family"), |
405 | }, | 406 | }, |
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"), | ||
414 | }, | ||
415 | }, | ||
407 | { /*sentinel*/ } | 416 | { /*sentinel*/ } |
408 | }; | 417 | }; |
409 | 418 | ||