]>
Commit | Line | Data |
---|---|---|
fb43722c SL |
1 | From 3360ff253cbbb086387fd0288421a13144481d3e Mon Sep 17 00:00:00 2001 |
2 | From: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com> | |
3 | Date: Thu, 2 May 2019 15:03:51 +0200 | |
4 | Subject: platform/x86: pmc_atom: Add several Beckhoff Automation boards to | |
5 | critclk_systems DMI table | |
6 | ||
7 | [ Upstream commit d6423bd03031c020121da26c41a26bd5cc6d0da3 ] | |
8 | ||
9 | There are several Beckhoff Automation industrial PC boards which use | |
10 | pmc_plt_clk* clocks for ethernet controllers. This adds affected boards | |
11 | to critclk_systems DMI table so the clocks are marked as CLK_CRITICAL and | |
12 | not turned off. | |
13 | ||
14 | Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") | |
15 | Signed-off-by: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com> | |
16 | Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> | |
17 | Signed-off-by: Sasha Levin <sashal@kernel.org> | |
18 | --- | |
19 | drivers/platform/x86/pmc_atom.c | 24 ++++++++++++++++++++++++ | |
20 | 1 file changed, 24 insertions(+) | |
21 | ||
22 | diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c | |
23 | index a311f48ce7c9..b1d804376237 100644 | |
24 | --- a/drivers/platform/x86/pmc_atom.c | |
25 | +++ b/drivers/platform/x86/pmc_atom.c | |
26 | @@ -413,6 +413,30 @@ static const struct dmi_system_id critclk_systems[] = { | |
27 | DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), | |
28 | }, | |
29 | }, | |
30 | + { | |
31 | + /* pmc_plt_clk* - are used for ethernet controllers */ | |
32 | + .ident = "Beckhoff CB3163", | |
33 | + .matches = { | |
34 | + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), | |
35 | + DMI_MATCH(DMI_BOARD_NAME, "CB3163"), | |
36 | + }, | |
37 | + }, | |
38 | + { | |
39 | + /* pmc_plt_clk* - are used for ethernet controllers */ | |
40 | + .ident = "Beckhoff CB6263", | |
41 | + .matches = { | |
42 | + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), | |
43 | + DMI_MATCH(DMI_BOARD_NAME, "CB6263"), | |
44 | + }, | |
45 | + }, | |
46 | + { | |
47 | + /* pmc_plt_clk* - are used for ethernet controllers */ | |
48 | + .ident = "Beckhoff CB6363", | |
49 | + .matches = { | |
50 | + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), | |
51 | + DMI_MATCH(DMI_BOARD_NAME, "CB6363"), | |
52 | + }, | |
53 | + }, | |
54 | { /*sentinel*/ } | |
55 | }; | |
56 | ||
57 | -- | |
58 | 2.20.1 | |
59 |