Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3010777ybi; Mon, 17 Jun 2019 14:37:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZQNwAhqbcuWp0ZAobm9J+b/oUkKXdMfdlv+PzXeAEkt7akBagi211TLpzvjVqqdwKJf8o X-Received: by 2002:a62:1c91:: with SMTP id c139mr109205596pfc.25.1560807468828; Mon, 17 Jun 2019 14:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560807468; cv=none; d=google.com; s=arc-20160816; b=y51Kn8b4dl+NnIx/dnCvPEbmQ8cYa5f3aTdeTlbyFU51oQMxAn7geLK5XN1V5T//PW 86LVWLHGcHoNhW6tBHpUEAbFpWq7BXyQWUErj3QEWmLsB0iX+TEqMjrY2mgVfdXopexX uoEruhMBvneUfh/IRZt/hGdzmpTmR1sZdN9+OExIgnQupUW1p3BSqOZN8kVtpD8uARZI XMdkiYTfe1sLiLL7ynT0YARbF04+eoXMqzHlx3HjPYp91765bD+2gcGUYXek2PNT6l7I lOjx7sfPcKw5NJLyHpoSi+Pkjv+fpZkJZ4rVEkpADGJLmEGiT2fWC7Y4Ao4ttqm783XD Oj7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fbRz5+cxNlTgTabcoxF7aL9c/PK5E/Qcoei71zkBc+g=; b=JlaoWYf4oDq6hcXoyp1CSSnkb5f1k9s9pwt5k5EW8wcHakhrgkkYA7RhIT+ZkrQ3lE lXB7hJGmvZpdQG+D76FDBJYGHpO+IH7t3xvk58vvZWhTnuJ0TJmYYroJKX70XVUv47K4 UZdtb8hkycsAM8RSAuExJ01g41VzF3gTRcyUcctzt6flttOJUMd7MZdwTFMgi2d/91dJ yHrXmvooZ0afsFiF4j8aHstg6fI9HtsCNSxUH+6EWbgCDAoDQoreFkJn4ncRkJABi6p9 RJ6IK12/JZdSlug0Ok9L/+s3PC5yg26rWfvmATAISbQ9WKWrOkmIy9Q5QTqHSOUseV+k JeHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=syv7xCeW; 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 q8si10724563pll.205.2019.06.17.14.37.34; Mon, 17 Jun 2019 14:37:48 -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; dkim=pass header.i=@kernel.org header.s=default header.b=syv7xCeW; 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 S1729398AbfFQVVj (ORCPT + 99 others); Mon, 17 Jun 2019 17:21:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:46146 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729389AbfFQVVh (ORCPT ); Mon, 17 Jun 2019 17:21:37 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D47C92089E; Mon, 17 Jun 2019 21:21:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560806497; bh=tpYiwEGQ67hUfP/N2MI6rulNvqudaMCDEMbf3KGmCNA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=syv7xCeWnMJnlBNW3m9s97xlnMwJXLuCE6MVoxUXzPK7JipY7yordy4/Af6exPNQE WHPffX8axvNPU1y9AfouhqUOy8gHkzRdr0bwZaHt76mURJcyZMmm+gqUdzHj48mFd/ KBfLzCfG8R8dt8uXM0bIxpjMapiCZW19rG9mL73w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Andy Shevchenko , Andy Shevchenko , Sasha Levin , Semyon Verchenko Subject: [PATCH 5.1 071/115] platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table Date: Mon, 17 Jun 2019 23:09:31 +0200 Message-Id: <20190617210803.690453638@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190617210759.929316339@linuxfoundation.org> References: <20190617210759.929316339@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 3d0818f5eba80fbe4c0addbfe6ddb2d19dc82cd4 ] The Lex 3I380D industrial PC has 4 ethernet controllers on board which need pmc_plt_clk0 - 3 to function, add it to the critclk_systems DMI table, so that drivers/clk/x86/clk-pmc-atom.c will mark the clocks as CLK_CRITICAL and they will not get turned off. Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") Reported-and-tested-by: Semyon Verchenko Signed-off-by: Hans de Goede Acked-by: Andy Shevchenko Signed-off-by: Andy Shevchenko Signed-off-by: Sasha Levin --- drivers/platform/x86/pmc_atom.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index c7039f52ad51..a311f48ce7c9 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -398,12 +398,21 @@ static int pmc_dbgfs_register(struct pmc_dev *pmc) */ static const struct dmi_system_id critclk_systems[] = { { + /* pmc_plt_clk0 is used for an external HSIC USB HUB */ .ident = "MPL CEC1x", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "MPL AG"), DMI_MATCH(DMI_PRODUCT_NAME, "CEC10 Family"), }, }, + { + /* pmc_plt_clk0 - 3 are used for the 4 ethernet controllers */ + .ident = "Lex 3I380D", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Lex BayTrail"), + DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), + }, + }, { /*sentinel*/ } }; -- 2.20.1