Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4503526imw; Tue, 19 Jul 2022 07:50:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1siJ7vRyXetr/LUuXjGJHmSxPJ+dGsO65IWFosy3O84SOsJ27AbirMpwSZU2H3M8h1olauQ X-Received: by 2002:a05:6808:1687:b0:32c:3e3e:89b1 with SMTP id bb7-20020a056808168700b0032c3e3e89b1mr16303130oib.60.1658242259264; Tue, 19 Jul 2022 07:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658242259; cv=none; d=google.com; s=arc-20160816; b=hUmEc0w/zpCkAO32vCckHvON/vGcLd5y1/HoX2y99o8AzjfLq8VmfrRaUMQYOTZQ0q TXhT4htkmBXiZyv5XzDbmXATkjyz6E1/OlOJ+UvTL85n8YmOFLTwQ5qYKxHNuIzIVjfv wdDhbE76/zKHZNltPB6ScR1F1T+Oy7KsBfoR+ndSQIX/k9e2DItoSinCQUgok+w8rbw+ MbWCaQrcU5+DHGv//LifmBP1ZKNhwG+8yzqrYgbVqmgXkr4IREsIIoBKyqoAo+06erg5 DxPmgZ6sgEauK9U8Okka41R2DBD9FlSlZOP+AmwUh1B/UYhrwXSq7ybjufvXLSNh7xB/ Ep6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5J/x344XDUrdXcDFkdfo9rtFs5nkcwU/7ZJcG3SW9Ug=; b=EzJUgcuNr1mHVmVAqsZwiONSL79CbjcbeLbh9iVDmDWdkq1wbz06pnm2ojnl3raZSC wghP7ehNpPhVL3j7ZkcJsXytBcAq3CLMOk6p7mTA44KCf0d2cFcLYJgVFeGoqF+V3gAp smcoorqP96JCbknGabgVAugoFPY1r7ZCh3UzlNEd4T1vFSK1tBAolWr98aMbCSzDjnDZ j+ZVTNRUnt52S9oATK7xto3Y3PkSR8avjTED/xodNoo63t19en8j0OCqqFladb+XlsTE osCqRvYnk1X3+/EGunFEKdlROD3hyabplGWkl+9cG8VVwMKB9WizbAXhW1vbfaXDYQvg +yuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rhebo.com header.s=google header.b=KvR3SFew; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rhebo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a056830311300b0061c1ca90449si15808234ots.119.2022.07.19.07.50.45; Tue, 19 Jul 2022 07:50:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@rhebo.com header.s=google header.b=KvR3SFew; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rhebo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237454AbiGSNds (ORCPT + 99 others); Tue, 19 Jul 2022 09:33:48 -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-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: 8bit X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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öne 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_atom.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[] = { DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), }, }, + { + /* pmc_plt_clk0 - 3 are used for the 4 ethernet controllers */ + .ident = "Lex 3I380NX", + .callback = dmi_callback, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Lex BayTrail"), + DMI_MATCH(DMI_PRODUCT_NAME, "3I380NX"), + }, + }, { /* pmc_plt_clk* - are used for ethernet controllers */ .ident = "Lex 2I385SW", -- 2.32.1 (Apple Git-133)