From nobody Sat Apr 18 03:02:38 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25CC8C433EF for ; Tue, 19 Jul 2022 13:33:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238023AbiGSNdt (ORCPT ); Tue, 19 Jul 2022 09:33:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237713AbiGSNdf (ORCPT ); Tue, 19 Jul 2022 09:33:35 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D71C8D5D1 for ; Tue, 19 Jul 2022 05:49:10 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id d8so1530668wrp.6 for ; Tue, 19 Jul 2022 05:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhebo.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5J/x344XDUrdXcDFkdfo9rtFs5nkcwU/7ZJcG3SW9Ug=; b=KvR3SFewOtc/uuxI64da7m+TPScLnFwC67EX7vHkZEbw0k87Ihq4nj+UYOjDrklrbi OJ8nMzAxxKuPjifFlvobNKX2ZPKNDIHqiL1sZEKdD7wAMEMm8HyH3jVgxVmQj9IWZSwq bXVqlC6aGZe3IAX0RjhSmixC+QGFGrxqeqamulVuU8vPzV9YN+RzBT2zoIJ747W3F+/w onnV3+7GbEAi0VWElhSXqHZ3EVDq8f4MKc+g7HW9ki0kX55KdkV1GiGy3fLRZbnH4th3 aV7F63KpNdfYAZ6x9+avlX2WHN0DSesQEEZvSwXiG68euO/vNG+aXp0wqgsqUL2QHkLd 7TFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5J/x344XDUrdXcDFkdfo9rtFs5nkcwU/7ZJcG3SW9Ug=; b=gMLuj1hg5a06+oFidJrGES1jDDAh6VZtNqaMO7vsBz/XPjIfks9uJzFD8XvOKXnZZ0 IYsvU2GETelKQSP8CFfDFkuyfobcdmLmkl7Wcau9g5qq6n3kfX4Z9HoM41LkmI6gda92 ShkTj0aZ3by8WWEEpVwqsBNTXjsjRSVyVCwXwRjxOnB98lbGKgpoEt17wC6hBIaP50tf F9tcYs/sqNg1t3stlMT4nrcKo0GAEBaxmjrTaUCDoW9C443LNKRPXpT+vAhu5ODdGtkO eFzCcBp7ozThaqMkLIJG+ltJUrId6thumpvjJ8AP5scHx9slmnlNHvcow4wSz5y2Htyy ci6Q== X-Gm-Message-State: AJIora93+VQ1KbuBG4SwCtrzInk4Tr/0SPkP+S8posqRoeUXX0c/+q0M +kRRj7wOMrbvsAZRdU9tCQjyzg== X-Google-Smtp-Source: AGRyM1vCjg7veeivzEbdJC4/l9oM7HTCCSciEkLhGtg6qyIEYP8J2wVYb2cH4yU1h6hsii5eJafA3g== X-Received: by 2002:adf:facc:0:b0:21d:8c8f:4b51 with SMTP id a12-20020adffacc000000b0021d8c8f4b51mr25703959wrs.307.1658234944609; Tue, 19 Jul 2022 05:49:04 -0700 (PDT) Received: from Air-von-Paul.lan ([80.64.181.150]) by smtp.gmail.com with ESMTPSA id n2-20020a5d6b82000000b0021dd08ad8d7sm11043130wrx.46.2022.07.19.05.49.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 19 Jul 2022 05:49:04 -0700 (PDT) From: Paul Spooren To: Hans de Goede , Mark Gross Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Spooren , =?UTF-8?q?Michael=20Sch=C3=B6ne?= Subject: [PATCH] platform/x86: pmc_atom: Add Lex 3I380NX industrial PC to critclk_systems DMI table Date: Tue, 19 Jul 2022 14:48:31 +0200 Message-Id: <20220719124830.2320-1-paul.spooren@rhebo.com> X-Mailer: git-send-email 2.32.1 (Apple Git-133) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Lex 3I380NX 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. This commit is nearly redundant to 3d0818f5eba8 ("platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table") but for the 3I380NX device. The original vendor firmware is only available using the WaybackMachine: http://www.lex.com.tw/products/3I380NX.html Signed-off-by: Michael Sch=C3=B6ne Signed-off-by: Paul Spooren --- 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_ato= m.c index b8b1ed1406de..15973a400e43 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -397,6 +397,15 @@ static const struct dmi_system_id critclk_systems[] = =3D { DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), }, }, + { + /* pmc_plt_clk0 - 3 are used for the 4 ethernet controllers */ + .ident =3D "Lex 3I380NX", + .callback =3D dmi_callback, + .matches =3D { + DMI_MATCH(DMI_SYS_VENDOR, "Lex BayTrail"), + DMI_MATCH(DMI_PRODUCT_NAME, "3I380NX"), + }, + }, { /* pmc_plt_clk* - are used for ethernet controllers */ .ident =3D "Lex 2I385SW", --=20 2.32.1 (Apple Git-133)