From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B5F2C433EF for ; Tue, 18 Jan 2022 02:38:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240893AbiARCiG (ORCPT ); Mon, 17 Jan 2022 21:38:06 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:52598 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346130AbiARCf0 (ORCPT ); Mon, 17 Jan 2022 21:35:26 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6501F610E8; Tue, 18 Jan 2022 02:35:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED29FC36AE3; Tue, 18 Jan 2022 02:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642473325; bh=PJa9pJriew9OaMlnsA9qTXusUtpxB4DAsf4xRVD7nJw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=egjI/03TIILP20HQkE8Ea+7/TcqiHjY/xeselIgtYv1R5jNoq1AFI8OPHtAsDN7nY 1aJmIthfuhFHjKurMPt4a9NS1N7ilhdRgFLM3hK1S18odSZ++lLaf2OCk7SvXn6i3y AD/2RHOIuKCccn7Q/62eJQWAVWfyN54jz+nmuhlCZO1Ow1wdOnpCDYljhcTypBuD/z oON3cLdEfikmcNMso7V+WLrctlDrHOfC/Vw9o3dbZuKb+tr/LQPeu3ff87SlRkcFvq VqHegRpQDvvXy1T9qpxmWly3NqA0PrXr3YaFKCbj3+l/Wi6mOmF1pDDLYnDT/ieAgE 3qRqb4SUIfWaw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , "Rafael J . Wysocki" , Sasha Levin , rafael@kernel.org, mario.limonciello@amd.com, linux-acpi@vger.kernel.org Subject: [PATCH AUTOSEL 5.15 072/188] ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table Date: Mon, 17 Jan 2022 21:29:56 -0500 Message-Id: <20220118023152.1948105-72-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220118023152.1948105-1-sashal@kernel.org> References: <20220118023152.1948105-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-acpi@vger.kernel.org From: Hans de Goede [ Upstream commit d431dfb764b145369be820fcdfd50f2159b9bbc2 ] It turns out that there is a WMI object which controls the PWM2 device used for the keyboard backlight and that WMI object also provides some other useful functionality. The upcoming lenovo-yogabook-wmi driver will offer both backlight control and the other functionality, so there no longer is a need to have the lpss-pwm driver binding to PWM2 for backlight control; and this is now actually undesirable because this will cause both the WMI code and the lpss-pwm driver to poke at the same PWM controller. Drop the always-present quirk for the PWM2 ACPI-device, so that the lpss-pwm controller will no longer bind to it. Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/x86/utils.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/acpi/x86/utils.c b/drivers/acpi/x86/utils.c index f22f23933063b..3bcac98f6eca6 100644 --- a/drivers/acpi/x86/utils.c +++ b/drivers/acpi/x86/utils.c @@ -54,10 +54,6 @@ static const struct always_present_id always_present_ids[] = { ENTRY("80860F09", "1", X86_MATCH(ATOM_SILVERMONT), {}), ENTRY("80862288", "1", X86_MATCH(ATOM_AIRMONT), {}), - /* Lenovo Yoga Book uses PWM2 for keyboard backlight control */ - ENTRY("80862289", "2", X86_MATCH(ATOM_AIRMONT), { - DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"), - }), /* * The INT0002 device is necessary to clear wakeup interrupt sources * on Cherry Trail devices, without it we get nobody cared IRQ msgs. -- 2.34.1