| From 1043430ea53b1771978c1d749c000eff240996e9 Mon Sep 17 00:00:00 2001 |
| From: =?UTF-8?q?Georg=20M=C3=BCller?= <georgmueller@gmx.net> |
| Date: Mon, 3 Feb 2020 21:11:06 +0100 |
| Subject: [PATCH] platform/x86: pmc_atom: Add Lex 2I385SW to critclk_systems |
| DMI table |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| commit 95b31e35239e5e1689e3d965d692a313c71bd8ab upstream. |
| |
| The Lex 2I385SW board has two Intel I211 ethernet controllers. Without |
| this patch, only the first port is usable. The second port fails to |
| start with the following message: |
| |
| igb: probe of 0000:02:00.0 failed with error -2 |
| |
| Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") |
| Tested-by: Georg Müller <georgmueller@gmx.net> |
| Signed-off-by: Georg Müller <georgmueller@gmx.net> |
| Reviewed-by: Hans de Goede <hdegoede@redhat.com> |
| Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c |
| index 7aa3df3efcac..1405ff0566fd 100644 |
| --- a/drivers/platform/x86/pmc_atom.c |
| +++ b/drivers/platform/x86/pmc_atom.c |
| @@ -406,6 +406,14 @@ static const struct dmi_system_id critclk_systems[] = { |
| }, |
| { |
| /* pmc_plt_clk* - are used for ethernet controllers */ |
| + .ident = "Lex 2I385SW", |
| + .matches = { |
| + DMI_MATCH(DMI_SYS_VENDOR, "Lex BayTrail"), |
| + DMI_MATCH(DMI_PRODUCT_NAME, "2I385SW"), |
| + }, |
| + }, |
| + { |
| + /* pmc_plt_clk* - are used for ethernet controllers */ |
| .ident = "Beckhoff CB3163", |
| .matches = { |
| DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), |
| -- |
| 2.7.4 |
| |