Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp416753rdh; Thu, 23 Nov 2023 07:23:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBwgvkRljU3oTFGEeG0vkaGbWj+9RfU/bCG+StSe+TAwkEotqyqdyByPgmV3AvS+YcnYtZ X-Received: by 2002:a17:90b:3c3:b0:27f:fcdb:89c1 with SMTP id go3-20020a17090b03c300b0027ffcdb89c1mr5758541pjb.41.1700753013738; Thu, 23 Nov 2023 07:23:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700753013; cv=none; d=google.com; s=arc-20160816; b=QG/Ve1+AkDOT83NbzK0GCgjUhjYw8RwM57d9sqbZh0sIdLI52cRXfsPTfzhCP832na eElk5Bt3/UvZP6XWpjVLROKSSfBzLdD0/CL6Q8jpM8Cm54ifKVts5EmJFkvHubqWbOhO 62+tCpp7OafYRaiTaPPN0PqvI2IbL0Pey1NDkdwF8H70cSIZcGk4Yrh/vbSN9BB9VouL ugsGdPdTdk8R2JBGNvxDefyQYxMHn/dkA/zVMptXYgWlseAzG+c8/UW3mj9CRqVxlohQ 2S40QsIXYciOQBfiMMnLTNglDJV3uMiD8DTSZtReuMeK5pEhIf/Egk5/y/hGUJgfxNXT HBCw== 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=O8k0J5g8fTvye961SlGaFZHeC7PjYj+KQtQkSEfcfOY=; fh=xHl243xDiT23q9hyTiKsftvq+8y9UCpwfKZetSycd/s=; b=eARfV0CaxKSf96NpMy0qL0QOB7r4IP7BZLzQAw2gqc8E+Qa7DxNyKjs62JAFJ7ZPdB zmd4kEQfK7H3ztq0J59tLCk4uuzoKs+YEAJ6zaM5uQOlhg8o7YZe0BI272SdoxCnsVKg k94+DYkxloFh1S5T22/BW3xZsESEhLq9h6tI3hYNh0Cn4f+XhL+P1MlqxpdZCjdmS6+i e1TJZJAbqNQt/yPevnYhhY9fiNvMeqGVypgxA2kP0x0qcpyyWQOACT+3WJaQO4evO9pj wWk59Ml3xuq2BI6TG+KSTkuP44V/Mlt7XRx1Kl8l7nUeay9d+wVucsUIUeTctg6iI1kd y1rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nobkJI9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id q12-20020a170902eb8c00b001c74d844254si1405178plg.101.2023.11.23.07.23.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 07:23:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nobkJI9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id A30798097780; Thu, 23 Nov 2023 07:23:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346041AbjKWPXP (ORCPT + 99 others); Thu, 23 Nov 2023 10:23:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345997AbjKWPXO (ORCPT ); Thu, 23 Nov 2023 10:23:14 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19FF4C1; Thu, 23 Nov 2023 07:23:20 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1ce656b9780so6967615ad.2; Thu, 23 Nov 2023 07:23:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700752999; x=1701357799; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=O8k0J5g8fTvye961SlGaFZHeC7PjYj+KQtQkSEfcfOY=; b=nobkJI9vC6LppbRZ/fh0nlVFNUwxgXOoOovhLY9pYdH/EYHbyVL9IlFKp8mtbdEJH3 xT4eV0eKImmvqd9lWsQIeijJ5tKBndxNKcrDqpo9xmTsXTiOvchPITocvlm5jI7VH7f9 3rmw3zH0TW9HDgPUXwH7rNxOtaYoJWjGLsEXmYz1AzcGuMK5k7pnluAWTn8A4tKP0+S6 25fAwwpKPF6bZ5EIfq1de6Te1MA+wK/uqiddwwseFUSbpeaLpIXyPf1mNztJ6Yorte8l ECemZvpQfnd6WkmF9f6CaPc5kvUknrU8DNrCbxblkRmomAEuIiyxxC6W04+GH1BKdyM1 IYrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700752999; x=1701357799; 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=O8k0J5g8fTvye961SlGaFZHeC7PjYj+KQtQkSEfcfOY=; b=dpt1tW5YiV9MmEkL3tq7yCRqA84hN13JYq1Dc5wlYQ89IDDC32UaYz59sY76qbVItX Vn2fmCBOndQ3gOYQ2sUOXRGUyXSSaS/RkrVS/VipR12KNA/FAiUcnt+aHvUgeGlDzbl4 Z1DN9KeRi6L1Zm5000xmVXX47z11TgFZX0/QrB5Gm4jpJ/kLC8LiQ66WPMiPqboDYDAa G8vPFrsiaUr4FAythkiYNrqPHO/ni33ar8DrtnC61osAM+Q4IC+gtvcMqEQk19hZgdnI QbGC3y2e5PEzRlx+BEnc3qnqCRzoPQRjqkRqIY1T951Sh3z3yCQ6BAVP7K8keDCm0oMo EaeQ== X-Gm-Message-State: AOJu0YzvYdhaxgd3t/PCMfZBwN0jGdUYIpcMcvEVCb7uSxZbCXPavigk CrKhTr3fCYH4FPPc0YlMENw= X-Received: by 2002:a17:903:4289:b0:1cf:64c9:b116 with SMTP id ju9-20020a170903428900b001cf64c9b116mr5559508plb.4.1700752999465; Thu, 23 Nov 2023 07:23:19 -0800 (PST) Received: from localhost.localdomain ([110.46.146.116]) by smtp.gmail.com with ESMTPSA id e12-20020a17090301cc00b001c737950e4dsm418565plh.2.2023.11.23.07.23.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 07:23:19 -0800 (PST) From: SungHwan Jung To: Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , "Lee, Chun-Yi" , Jean Delvare , Guenter Roeck Cc: SungHwan Jung , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: [PATCH v3 0/2] Add support for Acer Predator PHN16-71 Date: Fri, 24 Nov 2023 00:22:25 +0900 Message-ID: <20231123152229.4920-1-onenowy@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 23 Nov 2023 07:23:30 -0800 (PST) This series of patches adds support for Acer Predator PHN16-71 in acer-wmi including platform profile, (thermal) mode key and fan speed monitoring. The acer-wmi driver already includes fan control and turbo mode support for gaming laptops that use predator sense app (version 3), but PHN16-71 operates in different way with new predator sense (version 4). To distinguish from implementation for previous model, new implementation for this device is marked with "v4". Changes in v3: - change dependencies in kconfig Changes in v2: - fix typo - remove redundant "if" statement SungHwan Jung (2): platform/x86: acer-wmi: Add platform profile and mode key support for Predator PHN16-71 platform/x86: acer-wmi: add fan speed monitoring for Predator PHN16-71 drivers/platform/x86/Kconfig | 3 +- drivers/platform/x86/acer-wmi.c | 364 +++++++++++++++++++++++++++++++- 2 files changed, 365 insertions(+), 2 deletions(-) -- 2.43.0