Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1869757lqz; Mon, 1 Apr 2024 23:02:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVxoG6XBPLQv9MC5hGTX2saen4I9LCOowKqWUbGkLwi2OklbLzl/hkbkqk39s9eUwkjW75X7tPjwLTr+Aa9nXp2Wv4n9QMUt/aT9HPKMg== X-Google-Smtp-Source: AGHT+IGOlgB1Ix4YNd5v57SnHqTuWVOBJU815jKJOSfMT84uRnfLKxXlXDQ+VfhpNlUR6RE/izR2 X-Received: by 2002:a17:907:9607:b0:a47:30d6:f465 with SMTP id gb7-20020a170907960700b00a4730d6f465mr11213642ejc.1.1712037755535; Mon, 01 Apr 2024 23:02:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712037755; cv=pass; d=google.com; s=arc-20160816; b=qkNZ6yaIc4FZakBPAJjRoUX+/Ufgny3tJxOegpxttG/ahRwtGIj4WwUPRO5Z5aWxfR w1EbZopfxrRx6nO66xlzWImvYu3Z87qhAxItzbG9WdLMboTbYNCMqmhuuPA3bsjsc64p l3D7dVx4/3bYWswzSrb+6z6PE5W27hCc8Ya97R0p8LIOGDajJoVLXa/W32lvbohcovnY 9vm1rLOvnAyZl1VvaL4R7Lz57hoTv2x9DkTHmFW7BQmPtJ1R3yBxOSXOiZtcJbBqtwz1 tojRDdxETkj4ZJmNaeCo9Ewp8QDOmXR1sRTijg72dBrrCeu+zpLq7eBx0WRStIj1W8w5 xMug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:feedback-id:dkim-signature:dkim-signature; bh=revw4RU6t4YZXMwj8jW6CAjJkLJLGU8mWvurq1rpA6I=; fh=wDrqx0f+299Z9E/ydfQE0sLKgm4EkrYz7I1GVgXm5co=; b=W6KACb0vz0zZJHAvVGIXJuzlYFirRpxKVsjqnk9rv7plS8Lkw3WDC2cb2zcdlSMNIb x4JPm4hpr6cY9cGyxWBQRsf2Hbm0+zetY2qRgv/JpPaiOmcF+Uowp7qXUvX6SfNam8gO nA5XSwZG/eegv/cpLVQsA6WYCjHoI5RyuK+XguFmyDQ8i5ThbMZ0uNeKNiBW4B3DrRTP dgHhGDgasDRuDOcbQZ8Ho8LTz4cdGmeiegSFueNV4b8/mHMLvdX9TXkk80Pe+Qdc2sP5 9Sm4gWhOz3I8GE0hDLnrtcljOSDSaHbbcXa8pZkcFA2ztFmSkbYMiJO8RjTCBNlJbaf6 bnEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm3 header.b=SeLqHJin; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=L5ZU+66W; arc=pass (i=1 dkim=pass dkdomain=ljones.dev dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-127294-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127294-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r12-20020a170906c28c00b00a4a3c6faa72si5197003ejz.465.2024.04.01.23.02.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 23:02:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127294-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm3 header.b=SeLqHJin; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=L5ZU+66W; arc=pass (i=1 dkim=pass dkdomain=ljones.dev dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-127294-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127294-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 14BE41F21370 for ; Tue, 2 Apr 2024 02:26:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66725F9DA; Tue, 2 Apr 2024 02:26:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ljones.dev header.i=@ljones.dev header.b="SeLqHJin"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="L5ZU+66W" Received: from wfout3-smtp.messagingengine.com (wfout3-smtp.messagingengine.com [64.147.123.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AE78D518; Tue, 2 Apr 2024 02:26:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.146 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712024780; cv=none; b=YQpvhnx5l6y6mssMTPRV0J65SBS8q96jMLufuXKlvXTob76RYlxDqZpRIa4FKg4lnvQErlfLMsY/RlhuZAV+c4Z6qhrmdzUemKyA9Dx0yAYIaK+d7gq5W2P9dpg5hSeCYCwuIEDO4hWdc5dCC35icPyrkeAew5Be6IUkfvbHP0k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712024780; c=relaxed/simple; bh=yNMIU5BvcLrM2YSULEEBT+OZnGdDn9XlMsu794feDEo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rSgc54yd6KDSy3ieobpPcJSQe/ML6yTI0fU4uBWFm69Cf0fRi2dyM0vYSqZtx6OFPm3iK3J58dkeKyaRk94ys//wdvtX/66TA1Revq+2/R2JOR8PJ/ZuBdFI34z6gNXV8isbxh4xSukcXneRumXTQc6yd7Od48C6SwB7iJOfIkU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ljones.dev; spf=none smtp.mailfrom=ljones.dev; dkim=pass (2048-bit key) header.d=ljones.dev header.i=@ljones.dev header.b=SeLqHJin; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=L5ZU+66W; arc=none smtp.client-ip=64.147.123.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ljones.dev Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ljones.dev Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.west.internal (Postfix) with ESMTP id 104291C000E7; Mon, 1 Apr 2024 22:26:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 01 Apr 2024 22:26:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1712024776; x=1712111176; bh=revw4RU6t4YZXMwj8jW6C AjJkLJLGU8mWvurq1rpA6I=; b=SeLqHJinupEJDXfkBn9O7Ea2hQda4q9swKhF0 k9N/XqbWqb6Yg5aBK11I0e/yt4xc0pxxRyBLO9YghrcprWmTtp67ny1Hhr+vcrPr L5kqxjLf3YHYPk97xVCJbT5N6NyacbN7GK7UmFLH2K6EH+XxT8AmAiQJ9ilGChn1 vLVN0f+RqeQR0zQx3dJmwzE/K77NmtWiXMRerfTYGn30SlywzfgP/T2Is2uWqiH/ /irlboRYSZ77MMcAe7ql6yFRMCrnuZ87vIwZFXnK2LXrdV4JWUA06eBg9jVJezeG nulNAxPVVYPGOPQhSjQAgZHlRrswGLCFBhCMuTF1xgdy4F8Ow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1712024776; x=1712111176; bh=revw4RU6t4YZXMwj8jW6CAjJkLJL GU8mWvurq1rpA6I=; b=L5ZU+66W47sJLNqlddhdvwORqPN3HOKTBxI8KbMCvQs0 aNvRpbA/HOlQylqFHjwoUwEAtHyTVM9N7ERzxZV37iXj/OEjgZn4mbTLxKaEpvsi YdXi5sMOKlDBbCinwrtyF5o7qcrLx/jZU8eAUf3/BE4xIMRsQ+8eAx0xBsg+l8tP COhIiJrJf/+Gaohhr5B7R3fo7u3tR6j47HVPeIy3IA7F1KhtfP6wKzwvSs0lEh4m nT2EMbPUnqrisiwD90CZlVbLNoHFLcZLUiuBacTMkrOtPd5Zs+v+3LaG9p1gT/g+ YV7SUSmxQvROFJjUiIwnyFlaDJDU/Klxkf1XUPbkDw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefuddgheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpedfnfhukhgvucffrdculfhonhgvshdfuceolhhukhgvsehljhho nhgvshdruggvvheqnecuggftrfgrthhtvghrnheptdehkeeigeeggfelkeeufeefjeduvd ejveduvdehtdegveeftdeugeetvdeltdejnecuffhomhgrihhnpehkvghrnhgvlhdrohhr ghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehluh hkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 1 Apr 2024 22:26:13 -0400 (EDT) From: "Luke D. Jones" To: hdegoede@redhat.com Cc: corentin.chary@gmail.com, ilpo.jarvinen@linux.intel.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, "Luke D. Jones" Subject: [PATCH v2 0/9] asus-wmi: add new features, clean up, fixes Date: Tue, 2 Apr 2024 15:25:58 +1300 Message-ID: <20240402022607.34625-1-luke@ljones.dev> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit My appologies for the rapid v2. I hadn't run checkpatch like I usually do and when I did it showed some improvements. This patch series touches quite a few things along with adding support for some new features. - Add support for mini-LED on 2024 ROG lpatops - Add support for the gpu MUX WMI call on Vivobook laptops - Add support for the POST boot sound on ROG laptops - Add support for MCU power-save (ROG Ally only, saves more power on suspend) - Store written values for ppt_* features - Small formatting cleanup - Small fixes to cleanup struct holes found with pahole Obsoletes: - https://lore.kernel.org/all/20240320011442.11608-1-luke@ljones.dev/ - https://lore.kernel.org/all/20240310065408.63703-1-luke@ljones.dev/ - https://lore.kernel.org/all/20240310061715.16531-1-luke@ljones.dev/ - https://lore.kernel.org/all/20240310055312.11293-1-luke@ljones.dev/ - https://lore.kernel.org/all/20240310233722.30884-1-luke@ljones.dev/ Changelog: - V1 - Mini-LED: use asus_wmi_get_devstate() and not asus_wmi_get_devstate_simple() - Fix dates in Documentation/ABI/testing/sysfs-platform-asus-wmi - Remove _available bools and rely on devid for: - gpu_mux - mini_led - kbd_rgb (TUF RGB LED) - V2 - Fix formating on select if/else blocks shown by checkpatch.pl Luke D. Jones (9): platform/x86: asus-wmi: add support for 2024 ROG Mini-LED platform/x86: asus-wmi: add support for Vivobook GPU MUX platform/x86: asus-wmi: add support variant of TUF RGB platform/x86: asus-wmi: support toggling POST sound platform/x86: asus-wmi: store a min default for ppt options platform/x86: asus-wmi: adjust formatting of ppt-() functions platform/x86: asus-wmi: ROG Ally increase wait time, allow MCU powersave platform/x86: asus-wmi: Add support for MCU powersave platform/x86: asus-wmi: cleanup main struct to avoid some holes .../ABI/testing/sysfs-platform-asus-wmi | 26 ++ drivers/platform/x86/asus-wmi.c | 393 ++++++++++++++---- include/linux/platform_data/x86/asus-wmi.h | 6 + 3 files changed, 338 insertions(+), 87 deletions(-) -- 2.44.0