Received: by 2002:a17:90a:c8b:0:0:0:0 with SMTP id v11csp2294913pja; Fri, 19 Apr 2019 11:27:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMiBFK7GEJFBwa8bO4APoSemEg5qROLCUn3yLAHBLavLxLHJu8gYQ5B0sI+wo2KlkQWIVx X-Received: by 2002:a17:902:382:: with SMTP id d2mr5344388pld.253.1555698467246; Fri, 19 Apr 2019 11:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555698467; cv=none; d=google.com; s=arc-20160816; b=XiT/p280I6vy+FqieH3gR3YyBA/hFi66X5R/wixItmNJc2fvuDLggwwkEPYd3OWE0G 9hT+1K7Qxis1Mvnkh8wBYWCmgYx73D1pKHOfIOXlFA+3qdGLglZCSrtHzoS1OSE9ZCEc qnCyB9KG5Zyrp2IGzaPjsVaQM3gFUo+xL6TUWa2Xd/qvofbkMeOdO1Qunz99mvQ54OXJ m/3RDInIBKJYfFUlyHI93f3Z6wMUGe+dzkjiYEsmtg9j9QVqo3V738/ljqU/GqCNLYQK dd/yStwrGH6MsHOOWNXxl8vdFklj+Ob5VdM+wXFLuLHOqdJffz8QmSjTWBWQT75tEOuC DaQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:dkim-signature; bh=J0AacS0VXB9Digb/uS8wUCrW1a/KxZR4Mwk025xF7BE=; b=trHa8Eordx6EUHcYD303cYmyv89G4SpfgwcBcC20hbbaD8w/WsE1L2vLcprvdMmtXX sqGm1DAEBB3m6wVPL7fR+XHWNkIG4kaYOGFMSfv9xAsXqB57cvMY5CKK/9cANgfjqYlQ Xcb5DKj74FCdWoFG43P+hUVCAfL0d2eqgwNPkggMbQm4LD/CRP4LcUmceAUkun72Qpc+ tXw7FXja51LO5gsi8KEBK9LBazL1fvq/V2iE1TyboQTnVwNy6RjxIEDV/WXd4heOhMte LAieBvJOhZG2zPxEayZgsbc0hJPxt1YRwJUmt1tO0oGc+2WwGMQRx55hID+Ooi+FoL8t aBvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OzNuBYgB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l11si5814531pgg.554.2019.04.19.11.27.31; Fri, 19 Apr 2019 11:27:47 -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=@gmail.com header.s=20161025 header.b=OzNuBYgB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727646AbfDSSZ7 (ORCPT + 99 others); Fri, 19 Apr 2019 14:25:59 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41940 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbfDSSZ6 (ORCPT ); Fri, 19 Apr 2019 14:25:58 -0400 Received: by mail-wr1-f66.google.com with SMTP id c12so1679864wrt.8; Fri, 19 Apr 2019 11:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=J0AacS0VXB9Digb/uS8wUCrW1a/KxZR4Mwk025xF7BE=; b=OzNuBYgBB4lkqAok0CpNjN+8GtTd7Liuv1XeFq4msEIQGtIsjd6xO4liGRXOk5dmFB Axt1nyfu+eX+oy0PePKjpVni2MUW8oj/KC59/Gjtk/wlLNhrM1D9JYSP8KklJunNVkVf jFG+OE5/0p10I5SfOjnbh147w4XOwU13fK2p4CmgbARcT0PzxQ4iOqwywn4qZZyiGgoF B+ki+PKONXWWXBv4NWt2/ZR9XjpE5BuM1a9uko8oSWxDODLjAaVXOqTeQ8+j6AbXP0TC JTfYu4N/ub5vj9IHtZRZ4P9wa9ikHqkJ03mRyGFijbHY7UDhizo26TLYh3DRQZNR5tjw MEpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=J0AacS0VXB9Digb/uS8wUCrW1a/KxZR4Mwk025xF7BE=; b=iMXOnBRnNKNKX2VFG0sfK+q7ezDrj6m/onwFjWN9RGIB4RSDLvBAr7AzdtuuQP1TJe rTp2RDiMiVj2jYM7b9vMLzaARlKMwBanAalZ5tiPdXs0Ru3puWQUKXDNZKBDYNp6hzMv De2ayx5yavUD3dGqgirNJ+hS10ijSgFNlD7mzQ5hfc+eP5mwAGt49tSZYH5dOBRU+nim /8hD8BG9anchdb0+P5j0KIreY0NGhrYBPjCJ9epcNg4g/S/UuPJd/gQmRuWbJ1pdg2MA nsY1k2ad2gELUP6214xrySrCtMl6NcMRF9FwQrMa3XPVbD5vf51gpL7SWsAaQmYZ8Vb8 TOww== X-Gm-Message-State: APjAAAVfLqb1Enx5Icc4UViXscP7hKZ5eu0o77GCpKvtLFWRu8WpN9DR m5ofj6iB0le3kinHLpg5aHHem+NeJ0c= X-Received: by 2002:adf:dcca:: with SMTP id x10mr2304668wrm.57.1555667843090; Fri, 19 Apr 2019 02:57:23 -0700 (PDT) Received: from [192.168.20.141] ([194.99.104.18]) by smtp.gmail.com with ESMTPSA id 192sm5791849wme.13.2019.04.19.02.57.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2019 02:57:22 -0700 (PDT) Cc: Corentin Chary , Darren Hart , Andy Shevchenko , Daniel Drake , acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org From: Yurii Pavlovskyi Subject: [PATCH v3 00/11] asus-wmi: Support of ASUS TUF Gaming series laptops Message-ID: <7acd57fe-604a-a96a-4ca2-a25bc88d6405@gmail.com> Date: Fri, 19 Apr 2019 11:57:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this is the third version of the patch series. Changelog: v3: * Use devm_* function in patch 01 * Detect DSTS/DCTS using _UID in patch 04 * Detect event queue by _UID as well in patch 05 * Rename poll function in patch 05 * Fix terminology in patches 09 and 10 * Correct commit messages v2: * Fix logging INTRODUCTION The support for this laptop series is currently non-existent, as the asus-nb-wmi driver (which is essentially configuration for asus-wmi) fails to load and multiple ACPI errors are logged in dmesg. This patch series adds pretty comprehensive support for these relatively new laptops, adds some code organization, and fixes a couple of bugs in the asus-wmi module. Original message from V1/V2: https://lkml.org/lkml/2019/4/10/973 It is really long, so I will not copy it completely here, please refer to the original for notes on design decisions and existing minor issues (other than quirks, which should be hopefully solved now). Yurii Pavlovskyi (11): platform/x86: asus-wmi: Fix hwmon device cleanup platform/x86: asus-wmi: Fix preserving keyboard backlight intensity on load platform/x86: asus-wmi: Increase the input buffer size of WMI methods platform/x86: asus-wmi: Improve DSTS WMI method ID detection platform/x86: asus-wmi: Support WMI event queue platform/x86: asus-nb-wmi: Add microphone mute key code platform/x86: asus-wmi: Organize code into sections platform/x86: asus-wmi: Enhance detection of thermal data platform/x86: asus-wmi: Control RGB keyboard backlight platform/x86: asus-wmi: Switch fan boost mode platform/x86: asus-wmi: Do not disable keyboard backlight on unloading .../ABI/testing/sysfs-platform-asus-wmi | 71 ++ drivers/platform/x86/asus-nb-wmi.c | 3 +- drivers/platform/x86/asus-wmi.c | 797 +++++++++++++++--- drivers/platform/x86/wmi.c | 19 + include/linux/acpi.h | 1 + include/linux/platform_data/x86/asus-wmi.h | 7 +- 6 files changed, 797 insertions(+), 101 deletions(-) -- 2.17.1