Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp489760pxu; Thu, 3 Dec 2020 05:37:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzBDCOCrXTQYfmqbxSta45dlFda/n17Enfi7q3JK/EA/LIU1OnNWcFgr06B6n1vUaX2Z8M X-Received: by 2002:a17:907:444f:: with SMTP id on23mr2613459ejb.300.1607002657625; Thu, 03 Dec 2020 05:37:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607002657; cv=none; d=google.com; s=arc-20160816; b=N6McZbJaEtNEDxazY6IHeBr6C16pj+B8ROG7BIx3Yv9QiY6szmazxyjpc9ayfyOPMP avxUyXILMKMkH5OXFnbKafAJB/hYBbbpP5U9N8zNjLOyB9o0vJWp5aPzWD0tADXEuKKY UD7YPbnc0rafHqTC3L3cjA0tlTZm4CdJibN3O2S/RUitAbVc7JuVc/KnXwze1mRCqNVS xn0O4h66nxWzQNPvzaAd8yQQaO9CkV1tebHPcTDlDcCcV4CeXKu89M7JIPqn83Z+3vFN Ws5LvIF/2pkKr+rTIl2gw7C8DXlFoUtb5vrbIxc/Fs6bjxqZGn1eP4724HrVlgOdT1Ia 6bTg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=kPMoqlWdL9ni/rJSJdIOG0O3xSCw7BczJQdsGYBnuPs=; b=BgYdlV27ftya8f3AnXiAX/q8+Yd4hyqAccu5KY8FL42Be6orUNlwlfXrFnJX3D7CvE 3s2ltoTv0HIujP8qd0BgcNkYF3UMfLOwS1jZDaxbHNEbAXmIgog0GW9x81qQwHkA+/9d MCtG6jn34QI6LoS4ZGwJX1ZkVUM7pECoBXulUb0rSXhzcb3GLYnvyRjbL5Gi6BOgug3n QZsisNDzM0SYGl+THxx+mT20/t/qHOTTQc6bZ1b/mbobOSNUJTgAAcMfaLleuPnHrZQr JAdP92zBog19W+QXBjAsugqXzDXZGwinLbqADJewkoa6LHCFG9b68WIOwXoGdrPRPS1w nRtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si1249753ejd.193.2020.12.03.05.37.13; Thu, 03 Dec 2020 05:37:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436800AbgLCNa5 (ORCPT + 99 others); Thu, 3 Dec 2020 08:30:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:49072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436738AbgLCNas (ORCPT ); Thu, 3 Dec 2020 08:30:48 -0500 From: Sasha Levin Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Max Verevkin , Hans de Goede , Sasha Levin , platform-driver-x86@vger.kernel.org Subject: [PATCH AUTOSEL 5.9 35/39] platform/x86: intel-vbtn: Support for tablet mode on HP Pavilion 13 x360 PC Date: Thu, 3 Dec 2020 08:28:29 -0500 Message-Id: <20201203132834.930999-35-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201203132834.930999-1-sashal@kernel.org> References: <20201203132834.930999-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Max Verevkin [ Upstream commit 8b205d3e1bf52ab31cdd5c55f87c87a227793d84 ] The Pavilion 13 x360 PC has a chassis-type which does not indicate it is a convertible, while it is actually a convertible. Add it to the dmi_switches_allow_list. Signed-off-by: Max Verevkin Link: https://lore.kernel.org/r/20201124131652.11165-1-me@maxverevkin.tk Signed-off-by: Hans de Goede Signed-off-by: Sasha Levin --- drivers/platform/x86/intel-vbtn.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/platform/x86/intel-vbtn.c b/drivers/platform/x86/intel-vbtn.c index f5901b0b07cd8..0419c8001fe33 100644 --- a/drivers/platform/x86/intel-vbtn.c +++ b/drivers/platform/x86/intel-vbtn.c @@ -206,6 +206,12 @@ static const struct dmi_system_id dmi_switches_allow_list[] = { DMI_MATCH(DMI_PRODUCT_NAME, "HP Stream x360 Convertible PC 11"), }, }, + { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion 13 x360 PC"), + }, + }, {} /* Array terminator */ }; -- 2.27.0