Skip to contentSkip to conversation

platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table

PATCH In review [email protected] 2 participants 2 messages Jun 18, 2019 – Jun 29, 2019 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table

From: Steffen Dirkwinkel <[email protected]>

The CB4063 board uses pmc_plt_clk* clocks for ethernet controllers. This adds it to the critclk_systems DMI table so the clocks are marked as CLK_CRITICAL and not turned off.

Fixes 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
---
 drivers/platform/x86/pmc_atom.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/platform/x86/pmc_atom.c +8 -0
index be802fd2182d..551ed44dd361 100644
@@ -412,6 +412,14 @@ static const struct dmi_system_id critclk_systems[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "CB3163"),
 		},
 	},
+	{
+		/* pmc_plt_clk* - are used for ethernet controllers */
+		.ident = "Beckhoff CB4063",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"),
+			DMI_MATCH(DMI_BOARD_NAME, "CB4063"),
+		},
+	},
 	{
 		/* pmc_plt_clk* - are used for ethernet controllers */
 		.ident = "Beckhoff CB6263",
Signature · 1 line
2.22.0
#1 lore raw
Quoted 7 lines · On Tue, Jun 18, 2019 at 4:34 PM <[email protected]> wrote:

From: Steffen Dirkwinkel <[email protected]>

The CB4063 board uses pmc_plt_clk* clocks for ethernet controllers. This adds it to the critclk_systems DMI table so the clocks are marked as CLK_CRITICAL and not turned off.

Pushed to my review and testing queue, thanks!

Quoted 27 lines
Fixes 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
---
 drivers/platform/x86/pmc_atom.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/platform/x86/pmc_atom.c +8 -1
index be802fd2182d..551ed44dd361 100644
@@ -412,6 +412,14 @@ static const struct dmi_system_id critclk_systems[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "CB3163"),
                },
        },
+       {
+               /* pmc_plt_clk* - are used for ethernet controllers */
+               .ident = "Beckhoff CB4063",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"),
+                       DMI_MATCH(DMI_BOARD_NAME, "CB4063"),
+               },
+       },
        {
                /* pmc_plt_clk* - are used for ethernet controllers */
                .ident = "Beckhoff CB6263",
--

2.22.0

Signature · 2 lines
With Best Regards,
Andy Shevchenko