Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1626157pxb; Mon, 12 Apr 2021 02:46:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1GLydCO9a7b+WV6X+1brcI2JC0ons446lfQ3hIqamJFI5+xNhTvgXIx0bk8ANhnDugYS0 X-Received: by 2002:a17:90b:2303:: with SMTP id mt3mr7183184pjb.167.1618220797038; Mon, 12 Apr 2021 02:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618220797; cv=none; d=google.com; s=arc-20160816; b=S4PDUcNpnIwnCI+Yw+QCH5oXnvf9VX6QKC6hoKOtX4nDhk3rR38qs5bWNyANRr6DYu hpT5lpu3ghCMWNS4suxvZcE/8+igkR7fjM2P8latyzfen/rGGJxSUXsD3W5bYE14ngpX VlUJIvgtfK3wW9EzotY0sds+9nHY8Kynpkr/g0r+vgzJBf4YudPwpbf0BCj0JYpG8w8A 3z7W0LeBUm5cpxU9SDytN8DQRayFoozCFxpSwEk/jtV25OIWfkAyndcxBEDopFlhv3LG FahlQa4kM3KreF+DRg7fNqO5tQMAKSfEZDNIZvhdpECqy45tkyoUQjEvywGj4oKtUR8d eahg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=mr01gLC7IaPjeTNcAWVGns5Pa4T7mEPRYZIr5uvD4iU=; b=vIRLYQStyRDEsixpTs0mPxmmaO9gJlzm1dx0qE8BTtkQyd7fbC4njaVRjyqCUDP5DA t4tL+yvofx7jSYDYemFGXtetbGm65T7AIfBDusvrb3TicqFV2rvhBzoB4/yvg3EFE2et aIfy8Oqrgm3PqFzMUBBQEIh0Wk87d6qdlQZDjnpUvC3YQQUYapp//mDrYWhJtXdQ+ye7 kAgDA+zCZ5icN81uPgZwAwnHYnTG5lCnJlx7uN7iu+r9lv+zLFlfadrP42kkbZWduug3 Ni4ncOKFuiY6bKcq3oavMDTWse4lZ6zuHhk82s+xFEuW8C4kIG7hx/mCNKtai/9ey2/m immw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y65si12521933pfb.170.2021.04.12.02.46.25; Mon, 12 Apr 2021 02:46:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241079AbhDLJpC (ORCPT + 99 others); Mon, 12 Apr 2021 05:45:02 -0400 Received: from netsrv01.beckhoff.com ([62.159.14.10]:59547 "EHLO netsrv01.beckhoff.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238945AbhDLJVE (ORCPT ); Mon, 12 Apr 2021 05:21:04 -0400 X-Greylist: delayed 899 seconds by postgrey-1.27 at vger.kernel.org; Mon, 12 Apr 2021 05:21:03 EDT Received: from 10.1.0.27 by netsrv01.beckhoff.com (Tls12, Aes256, Sha384, DiffieHellmanEllipticKey256); Mon, 12 Apr 2021 09:05:47 GMT Received: from localhost.localdomain (172.17.204.1) by NT-Mail02.beckhoff.com (10.1.0.27) with Microsoft SMTP Server (TLS) id 14.3.498.0; Mon, 12 Apr 2021 11:05:43 +0200 From: Steffen Dirkwinkel CC: Andy Shevchenko , Hans de Goede , Mark Gross , , , Steffen Dirkwinkel Subject: [PATCH] platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table Date: Mon, 12 Apr 2021 11:04:31 +0200 Message-ID: <20210412090430.167463-1-linux-kernel-dev@beckhoff.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.17.204.1] X-OLX-Disclaimer: Done To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Steffen Dirkwinkel pmc_plt_clk* clocks are used for ethernet controllers so need to stay turned on. This adds the affected board family to critclk_systems DMI table so the clocks are marked as CLK_CRITICAL and not turned off. This replaces the previosly listed boards with a match for the whole device family. There are new affected boards that would otherwise need to be listed. There are only few unaffected boards in the family and having the clocks turned on is not an issue on those. Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") Signed-off-by: Steffen Dirkwinkel --- drivers/platform/x86/pmc_atom.c | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index ca684ed760d1..a9d2a4b98e57 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -393,34 +393,10 @@ static const struct dmi_system_id critclk_systems[] = { }, { /* pmc_plt_clk* - are used for ethernet controllers */ - .ident = "Beckhoff CB3163", + .ident = "Beckhoff Baytrail", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Beckhoff Automation"), - 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", - .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"), + DMI_MATCH(DMI_PRODUCT_FAMILY, "CBxx63"), }, }, { -- 2.31.1