Message ID | 20230517183540.187383-1-samsagax@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1344680vqo; Wed, 17 May 2023 11:39:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5YigU0TfTz2lIsZePhrXFrl93XdCSIsvAn7qSXtOt1Ozfz1AAZ7efC2zFn569q0+xfxYmt X-Received: by 2002:a05:6a00:b95:b0:643:b37d:d350 with SMTP id g21-20020a056a000b9500b00643b37dd350mr756445pfj.31.1684348768382; Wed, 17 May 2023 11:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684348768; cv=none; d=google.com; s=arc-20160816; b=dav9KKZ2zX1hICDxFoytc+xdYwlvwlDk0O84torXZYG6/JUznm/y5j8KS1J4XJQ8r3 U/YWDYLqivk9hoBeikqxS2J5TYH1VYcXL/YVDS9VO+PKZHgwCvuhBS1n6QWeirF8X5zl eTFAlAwVBdIY9JFMebI2dcWp4TxVw5HA4t6TMjp3lmD19qUtjvnJQ9rINa0vQdDpv4Ii d5hVAwL7MyRqUFU9qRquIBssF43zLHEEy3gwYe40yeC/zyNryKl1aRJE7DIWzlJnY7i3 89CYSfvTySaAP6mPTQmcN13/uf1fNmiWOMdPxAHPIgrI5IdYUD4VyRBbmMWsShEH5zbF QSsg== 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=fcgddaFi9eIVKJHcNJHnZjvzuGSd2cAJphO5phJOGQ4=; b=ABjAhG4KsiYJQhBqHoS4myl6MHd3vOZSrSfeg/B2vlZH7MwUj5smamfrx4qWbxrVGE 3wKpL/p5i70P+A/XpfkY/LcOxHSGJiDGbIF5u8+wk88k2agZqiiDWrBhBNlcPHyVWufN JdppyXCV6yfj+dfnaC5WqzAFPIDIp1qdtsmqiPksf0E/SOihZssRmAhEUYv0F7rHTCVi c+vZEi1WFqYEU9hPuXPox1rhUphlf5aClSJOO8wnJb7a8YebtUsLmYLB+ltXqhzs/EU4 kcu8FP1OwDkyIOzQ++jg/cJJSQJz39y8zbIqP697ToUNYKNz31FErZgDFIkKC4G2O/ot mhfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=blRaN0wf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020aa79830000000b00640f213b6fesi21852887pfl.240.2023.05.17.11.39.13; Wed, 17 May 2023 11:39:28 -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=@gmail.com header.s=20221208 header.b=blRaN0wf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbjEQSgp (ORCPT <rfc822;abdi.embedded@gmail.com> + 99 others); Wed, 17 May 2023 14:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbjEQSgm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 17 May 2023 14:36:42 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 647B87D91; Wed, 17 May 2023 11:36:33 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-6acc9273e3eso827673a34.2; Wed, 17 May 2023 11:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684348592; x=1686940592; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fcgddaFi9eIVKJHcNJHnZjvzuGSd2cAJphO5phJOGQ4=; b=blRaN0wfC/tMtFa6narQ0PHovL97wC/xpEJ3WhjFTq+zVqmWL9NZm/mn2O4BIQS3Qv X1wpSWpLYeLehNFzEFnRDzH90DeQ0atODnBU8HnO8dgCXz2afqrqdiGAxolIYRPxbtfr 4apjok3YHlTwaKWqibV6NfJ43T+svCBF7zSzy/97oiN+fn6wrwoaTPLfY+2puuFkp1aP Gw2Z4BuCsCkB7mu+2Gp4Czk3spmTBTZJk9jXV0lSStpFmf5biLplIHDFxm9CdKLwopqT hFpe7YJfV5g4RnusIrtVHTUyIpauO4v4/4tqTLzkYGEh94nnBtejE/m8dPlSU+0hDTxJ mYTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684348592; x=1686940592; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fcgddaFi9eIVKJHcNJHnZjvzuGSd2cAJphO5phJOGQ4=; b=IPO++a1NnRdsA11eli6x9eZFGbFfn4VZGt4vi916KL2q6Lu2i70+glH0eiCEqW9LRN AcUKQ+0cU5U+vrB1SIVBLp7vbgAAC89fleMrp+T/zd+DDKuMkOwKz/gFCaKKmhgfbZxX pxvMgbapcPCgB61WoEUP6Vet6pwIFnnlXfDDOboioGHRAMqDu4QSlN2uzaCnPhyrpJys 6GjXlahfPtDS9gX4mqkIbcLWzJvvZEvbtDMOLdQ6nyjCBPAUmkrA+iJfFdLzaDIPIj9c bCwJeRKOSpnzSiwGEOe7uahMrnILKmPDaW6WPI6jYNNrN0DzCif+OxZj972DBNo27a/3 cNhw== X-Gm-Message-State: AC+VfDzMYAIN+jSLzLyiOEHltR5usmOSL2CcDU4G+83xD+0ia1U5vzL+ 2+QeeXRA0yOil724ToUOjeOeAssnO/8= X-Received: by 2002:a9d:7552:0:b0:6ab:133d:a3d7 with SMTP id b18-20020a9d7552000000b006ab133da3d7mr16445445otl.38.1684348592618; Wed, 17 May 2023 11:36:32 -0700 (PDT) Received: from smeagol.fibertel.com.ar ([201.235.4.68]) by smtp.gmail.com with ESMTPSA id r14-20020a05683001ce00b006ac87b54ca4sm6161356ota.34.2023.05.17.11.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 11:36:32 -0700 (PDT) From: =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= <samsagax@gmail.com> To: linux@roeck-us.net Cc: =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= <samsagax@gmail.com>, derekjohn.clark@gmail.com, jdelvare@suse.com, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hwmon: (oxp-sensors) Add new DMI match for OXP Mini Date: Wed, 17 May 2023 15:35:41 -0300 Message-Id: <20230517183540.187383-1-samsagax@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766167694498414395?= X-GMAIL-MSGID: =?utf-8?q?1766167694498414395?= |
Series |
hwmon: (oxp-sensors) Add new DMI match for OXP Mini
|
|
Commit Message
Joaquín Ignacio Aramendía
May 17, 2023, 6:35 p.m. UTC
A newer BIOS version for the OneXPlayer Mini AMD modified vendor and
board name strings. Add those to the match table and set the same board
model as older OXP Mini AMD.
Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
---
drivers/hwmon/oxp-sensors.c | 7 +++++++
1 file changed, 7 insertions(+)
Comments
On Wed, May 17, 2023 at 03:35:41PM -0300, Joaquín Ignacio Aramendía wrote: > A newer BIOS version for the OneXPlayer Mini AMD modified vendor and > board name strings. Add those to the match table and set the same board > model as older OXP Mini AMD. > > Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com> Applied. Thanks, Guenter
diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c index 7828c1d36695..b52bf8c4768a 100644 --- a/drivers/hwmon/oxp-sensors.c +++ b/drivers/hwmon/oxp-sensors.c @@ -99,6 +99,13 @@ static const struct dmi_system_id dmi_table[] = { }, .driver_data = (void *)oxp_mini_amd, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), + DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER mini A07"), + }, + .driver_data = (void *)oxp_mini_amd, + }, { .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),