platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to critclk_systems DMI table
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 4 Sep 2019 06:42:30 +0000 (08:42 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 7 Sep 2019 18:16:09 +0000 (21:16 +0300)
The SIMATIC IPC227E uses the PMC clock for on-board components and gets
stuck during boot if the clock is disabled. Therefore, add this device
to the critical systems list.

Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/pmc_atom.c

index aa53648a2214ab6887be59583bd69864983d377a..9aca5e7ce6d05605e1502ca41c73ef1db7093249 100644 (file)
@@ -415,6 +415,13 @@ static const struct dmi_system_id critclk_systems[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "CB6363"),
                },
        },
+       {
+               .ident = "SIMATIC IPC227E",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "SIEMENS AG"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "6ES7647-8B"),
+               },
+       },
        { /*sentinel*/ }
 };