Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp295915rwi; Sun, 9 Oct 2022 23:48:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6vPqmKcqt3/gM6l3RH6/tyO8v+Wyeiz3+eaEd0hbQaAAmvyWQPB2cJnLRYG45XIWcHkwui X-Received: by 2002:a17:907:7214:b0:783:415e:70c7 with SMTP id dr20-20020a170907721400b00783415e70c7mr13802987ejc.636.1665384489236; Sun, 09 Oct 2022 23:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665384489; cv=none; d=google.com; s=arc-20160816; b=SlnwCniQq4CIoNepGbJ6X7FeSkN3vSNeTDiLMl1OxpXpUXbW6p9gDvZ1iVtlwTmKKn pweJ2/HlGJD7vjmKjMzPMySP8Jh31tBTQVOZEJDUryZJ8PZcFlwGbYA2LEqvWHLPcp33 bLooDslQOYXbqhA2WfZQ0R/utPrzzYbhMjN8V3PMCmgG3uULGpXgcg8rZ2BXVrmNHWzU G1TGN8z89AKS9iLe0gDbBmzlfjpEbin7SX28DSQHGqpF6WLRdCwvuQznQlYEKivff4b+ wXoKTOt3F4BQL3s6eiG+mTPJwKgjzw/jipc6Ck5mxUnBL4cg0vpspqnj/ipwKrG1W0Hh TP1Q== 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:feedback-id:dkim-signature :dkim-signature; bh=QgWFXZJMByTxewkr+8LX9hI9UgOQHwYcjRmMNM2oVGQ=; b=L5fNCrW81aPE1XY6QGBPp+Z5aCnf8w/A/mWsOqsLBWHwfM6/GE0askBad9KrCQjUkn gLq7E4m5PXptKv0WJXIKPQg8EM6jiepnlio6pxJlcADtFJdSltfyXBywnmL/TRIXgc+N 4OokjJtH8oF7pX1O2MiXLFzXN6gkmtl1do3q/5AeTNhoR0VnJsUGFiohwJhpqT23Qpuv awy50tIaltP/5fkqvBkpf0JOPW5mQJbQXLX20zp1gaqDdM1TQlg93EclRaMBHyaMP4pZ enKTiG9MTDHH4xs32zOjdxP4FZAr7Pe85Qh7sCTDJi7XkM/6dlk9UO0XIIp1W7fnVuJY 3vqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm1 header.b=oSrwXp5S; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JJ96P9dh; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf13-20020a17090731cd00b0073daf6b44a5si8125822ejb.775.2022.10.09.23.47.39; Sun, 09 Oct 2022 23:48:09 -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=@ljones.dev header.s=fm1 header.b=oSrwXp5S; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JJ96P9dh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231297AbiJJGaY (ORCPT + 99 others); Mon, 10 Oct 2022 02:30:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231376AbiJJGaV (ORCPT ); Mon, 10 Oct 2022 02:30:21 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFDCB4D4FD; Sun, 9 Oct 2022 23:30:20 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 4FCF13200929; Mon, 10 Oct 2022 02:30:19 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 10 Oct 2022 02:30:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1665383418; x=1665469818; bh=QgWFXZJMByTxewkr+8LX9hI9U gOQHwYcjRmMNM2oVGQ=; b=oSrwXp5SQUHNgFVhc9Y+Jb2SYOPCrkUsdyq6I/l/f yC7f6FMaGNar82Rc6dnuDiXPGVtwCNYBtQCH3213TO7Dg71eg55RNOtK0SpBV6BP GAMkSs6LOs+wcpK0i4kPXxFYSBdv1DLmIcNLs8TZkuOHdr5gCT1KGGlK5NBtm8Gr yUD5b8a7A/lcPx5m6fWt6clJcm6ysMbi2kYJdhSv/kzrtqvR+uOJ7WqJD+6e3bao k75+FGhaNjLbLzUR7bP2nnkAx/XTZcIxhuurCQvaQc5WiMz6G006MNHpkSZB3h6t 4DGDRvNmekMl5OGclVHnJU3p3gSB9SjMRXEL7pB+2jftA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1665383418; x=1665469818; bh=QgWFXZJMByTxewkr+8LX9hI9UgOQHwYcjRm MNM2oVGQ=; b=JJ96P9dhvYiA2pdEnn192eioiTehMnd6fTvRhH4L330XxjWPhU9 4uWXs6JcehIoMLZiCDeQWLbYGhfCPWiUvbBXfBTnAxYpoEQLe+AaBbevOwSke7oi nQvzi9+d1ZTg1AVDDv8stVRuy4VRXw0ci87bnmz7/nAHKknZUwnj26FneyJKrKW9 +wrTQJGSsLmIncXRcGPm6tvDeZ9mWmIOq2h7PukHzAr/Fz0GxEiJ/6Acuzt8g7p0 Q1le55OI6TyNmpxXmHNLtnKPxOrKsw/Kgol5QfS49Y1w58uTY4ZC1buVPcvJIoaR RTrpFNeEyURuZa9dihT/ERE7EcaH+RZVkMg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejvddguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekre dtredttdenucfhrhhomhepfdfnuhhkvgcuffdrucflohhnvghsfdcuoehluhhkvgeslhhj ohhnvghsrdguvghvqeenucggtffrrghtthgvrhhnpefgudejtdfhuddukefffeekiefftd dtvdfhgeduudeuffeuhfefgfegfeetvedvgeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 Oct 2022 02:30:15 -0400 (EDT) From: "Luke D. Jones" To: linux-kernel@vger.kernel.org Cc: hdegoede@redhat.com, markgross@kernel.org, platform-driver-x86@vger.kernel.org, "Luke D. Jones" Subject: [PATCH] platform/x86: asus-wmi: Add support for ROG X16 tablet mode Date: Mon, 10 Oct 2022 19:30:09 +1300 Message-Id: <20221010063009.32293-1-luke@ljones.dev> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE 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: X-Mailing-List: linux-kernel@vger.kernel.org Add quirk for ASUS ROG X16 Flow 2-in-1 to enable tablet mode with lid flip (all screen rotations). Signed-off-by: Luke D. Jones --- drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index 613c45c9fbe3..c685a705b73d 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -464,6 +464,15 @@ static const struct dmi_system_id asus_quirks[] = { }, .driver_data = &quirk_asus_tablet_mode, }, + { + .callback = dmi_matched, + .ident = "ASUS ROG FLOW X16", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "GV601R"), + }, + .driver_data = &quirk_asus_tablet_mode, + }, {}, }; -- 2.37.3