Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7205466yba; Thu, 2 May 2019 06:11:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxuKHyVJ9eLwFEGJ7Mgh3KMjDtjZMBBI0YgyiZR9yHVmHpcUJgrCSU9YbTOPC9OiHssgXXJ X-Received: by 2002:aa7:8d98:: with SMTP id i24mr4154632pfr.8.1556802671171; Thu, 02 May 2019 06:11:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556802671; cv=none; d=google.com; s=arc-20160816; b=HYHpalpY+uRxYMeLahkhUO+ZQ9/SgFZOGL5AD4ZtK4b6Oxq8i0gVuhEotLI4uhrQPf ktbOBN+GBWZtJ0809LPiKVI1TfZpbonrStG4xpdA0WvsT/xpYIsQ/I6tcLlcri0Adguk 84wB5hJJ3uGnJ2Dr0zAGnil3YnuZ1XpWaQxbJSYK/od39WZysjfQnRS/3EugpWb0ps9d QK/wxJVINbV7Xe3TLAzNx/jIPIap/CFrqRh6HyD8Y4mIvIQ5LRW3HYvRzeUb9max/CuT R2DfYCsdSTy27vunE/9H9/SdNrO19P05TcxGZRUIsrdpMqvJKbD55AKk1gZzoAqQaiW6 aGcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from; bh=luytjaAHL9Phunk3RRBIpcCbIKA7gIt2G/Wz/78Wgeg=; b=DaOn2s6t7/nWnLRZ0Gv+icv+jcunc/0Ir9rY//BgoicDHKPcHRlUvHWdQB9+OMJKn/ 62gZYpTPnJiVPrCCEosz74GS0umu+xde6Zo3HTjAUM1NtK58KIkv3oYdcBqDiD1b8QTc rG1eEpD2lwB+OHQGKEv1GGsGvFaQDw+L1qzbpppnEIYHOaPw/QWKM2IG5j11Nm164Cwl sMzhSy02cSX3cHaJ52lqAiMClBcXcCmk9J0eEQHQNZBEPmppX7IwTsv2IhxGLSqtMDVK 2NJx16czfoeyZTC2zgjEuwy+jMD9FjrHulEB4h/YRfsKqsbcQfj6R391uLC9dUbY/Jo4 AkHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 24si43641638pfi.21.2019.05.02.06.10.54; Thu, 02 May 2019 06:11:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726447AbfEBNJ2 (ORCPT + 99 others); Thu, 2 May 2019 09:09:28 -0400 Received: from netsrv01.beckhoff.com ([62.159.14.10]:50940 "EHLO Netsrv01.beckhoff.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbfEBNJ1 (ORCPT ); Thu, 2 May 2019 09:09:27 -0400 X-Greylist: delayed 301 seconds by postgrey-1.27 at vger.kernel.org; Thu, 02 May 2019 09:09:25 EDT Received: from std-ryzen.beckhoff.com (172.17.66.182) by NT-Mail02.beckhoff.com (10.1.0.27) with Microsoft SMTP Server (TLS) id 14.3.301.0; Thu, 2 May 2019 15:04:18 +0200 From: CC: Hans de Goede , Steffen Dirkwinkel , Darren Hart , "Andy Shevchenko" , , Subject: [PATCH 1/1] platform/x86: pmc_atom: Add several Beckhoff Automation boards to critclk_systems DMI table Date: Thu, 2 May 2019 15:03:51 +0200 Message-ID: <20190502130351.5341-2-linux-kernel-dev@beckhoff.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190502130351.5341-1-linux-kernel-dev@beckhoff.com> References: <20190502130351.5341-1-linux-kernel-dev@beckhoff.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.17.66.182] X-OLX-Disclaimer: Done To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Steffen Dirkwinkel There are several Beckhoff Automation industrial PC boards which use pmc_plt_clk* clocks for ethernet controllers. This adds affected boards to 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") Signed-off-by: Steffen Dirkwinkel --- drivers/platform/x86/pmc_atom.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index a311f48ce7c9..b1d804376237 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -413,6 +413,30 @@ static const struct dmi_system_id critclk_systems[] = { DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), }, }, + { + /* pmc_plt_clk* - are used for ethernet controllers */ + .ident = "Beckhoff CB3163", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), + DMI_MATCH(DMI_BOARD_NAME, "CB3163"), + }, + }, + { + /* pmc_plt_clk* - are used for ethernet controllers */ + .ident = "Beckhoff CB6263", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), + DMI_MATCH(DMI_BOARD_NAME, "CB6263"), + }, + }, + { + /* pmc_plt_clk* - are used for ethernet controllers */ + .ident = "Beckhoff CB6363", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), + DMI_MATCH(DMI_BOARD_NAME, "CB6363"), + }, + }, { /*sentinel*/ } }; -- 2.21.0