Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3794783ybi; Tue, 18 Jun 2019 06:40:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLO9jZMuATHMelLctNhbyH4EBIcq7mdAjj1xHXr/FZAPZd8HHKOkdz/Is9lNbfFbCk9/zY X-Received: by 2002:a17:90a:d983:: with SMTP id d3mr5192768pjv.88.1560865247802; Tue, 18 Jun 2019 06:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560865247; cv=none; d=google.com; s=arc-20160816; b=PCufHFoeXvpxEREJZpPoxL0DpNpT2aH7mHWKWS9vHePEEfCC9CKOyjylVqngdb/kEb 5yTc6t4FsBoTaX6ZqR4EkccMjhWlwOup9xcp0K2q6EGVQXE4ab5ssla3j3pSMZ2gf378 Z6PiX9s+cQKN7//BxvVxTAghn3eL/34bhcEXqeeWInqV836ZZaSWASYzDqDzhd0FIrZx bsOiaEeRerdYXQMEIrJ8Syai2mxm8SAP/kzCU/+GXuwBJ7ONza5UIOnysHDnl9Px2eXo gv6GIKFTZxDsZ1m709oquf0p2Vc1ynKimlxkHldmVQDsahEJeLfQJZQwsd17k7aSymzg QU/w== 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 :message-id:date:subject:cc:from; bh=WPRS+1Z+BZbmv53z9iHOBGPNqVMkT3wMF12u+hvykxU=; b=0iW5Y8YwEcwWPPuW6Wuh0/pzFeK3NHwXPOF8Ym4asXqxjkAtpZrgF50iTLUNf+DC7X MdD0W78MbAhlfiua9tmapn9i/FEQv7rxpObdGb7t0CfgdQKjNDF/3pu9xooqFfgQ0kEx j9Jo+ZstT6r9b7SGoEmBdl+HJPhPIkG6icYEvo1Q/IsT3AHSo+6uf92f6OtWiSTVe1WA bUx950ehDLJzNMT6QXd6xQ9R6rwZ6CbqV5nTz2mzd0YWAghCw7wFAuYw/eq/2w5p2lJ5 /dcFyvxgCdCSJrvC7H/S7ek6kJNR93N+4ESe6LwRhxk6UJwR0neFB9m5ZUfFS5nZ7EOd LIww== 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 cl7si14012391plb.267.2019.06.18.06.40.32; Tue, 18 Jun 2019 06:40:47 -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 S1729189AbfFRNjH (ORCPT + 99 others); Tue, 18 Jun 2019 09:39:07 -0400 Received: from netsrv01.beckhoff.com ([62.159.14.10]:50160 "EHLO Netsrv01.beckhoff.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbfFRNjH (ORCPT ); Tue, 18 Jun 2019 09:39:07 -0400 X-Greylist: delayed 300 seconds by postgrey-1.27 at vger.kernel.org; Tue, 18 Jun 2019 09:39:06 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; Tue, 18 Jun 2019 15:34:04 +0200 From: CC: Steffen Dirkwinkel , Darren Hart , Andy Shevchenko , , Subject: [PATCH] platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table Date: Tue, 18 Jun 2019 15:31:02 +0200 Message-ID: <20190618133102.8083-1-linux-kernel-dev@beckhoff.com> X-Mailer: git-send-email 2.22.0 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 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") Signed-off-by: Steffen Dirkwinkel --- drivers/platform/x86/pmc_atom.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index be802fd2182d..551ed44dd361 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -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