Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3385785pxb; Mon, 17 Jan 2022 19:16:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEEhcjZFedvgiuAIaTh5XZbwBHzZP4kwu90Iw4omT2GC0QyfEZMJD/Y1C7YhLgAnWJq89P X-Received: by 2002:a17:90a:9284:: with SMTP id n4mr28236002pjo.109.1642475809120; Mon, 17 Jan 2022 19:16:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642475809; cv=none; d=google.com; s=arc-20160816; b=XAY7BE2sEX8oAd5IwbSxUaYF4nW7Yc9+Sy56v4jKW/+QCNkeq531zQZLBa2DD69PwY I3h2ZRJSEplOp0QJBp69ny8GKaRj0jABbGebZV/no0HX/XpFAohH/HwJSKULMWaoxDf4 DiE8vHrP06CJLbqha9qIPNb+93ntBVlJBaScfp9GL00odTzvfEYpPDvogJ7rUrUB07W6 V1FDKrKt3dPfcGAzt6nLyJI2zeXIXtisN2tZ6gLXS4VAbcorQZ9rvpfeSdpBdj4gPjTj aSYaBlLX9OF6y6iKw2qui5pbHeh/0Ytgm69IzUGMcYnsi5R3K4CURysDeF7zTRFGANxp X5Qg== 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 :dkim-signature; bh=SPQVzyKAbiG1eOC7uLxjM2pBJkgm5d6Dnvgwv8tB4Dg=; b=e4ZLLfEolavAKB5hVbmikh25L7Y/kNjge5fJHPlPPeWUKSP9cDywzoy9WxxTrJUD6r TtiIli0ACK9FaovFmY2cl4hvDGsOC8lvclEC8xyFSLHvRut1XBqoXoQqDxc+4UCcxL8G t4hPI/5mrrxatBAdkbWOLu3rvd8ypZw7722RoEF1YE0HwGAKeAfa2gqAOMHO1XiTxnq0 HQ5EBtN0YuhCKvH/5MokA12TafgOWjeZSEKSE9ckrlLaBFE8ZpJ4dWAFPaRzo3xuvr7l qfsaft+WXSHpTeR0xlJtOcYkCDZWJL+2DFTr5F9nVBVEfD6rIw60zKyE+1rAAcWAqCA3 rbkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ugbzTIbf; 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 w1si17209128pgk.289.2022.01.17.19.16.37; Mon, 17 Jan 2022 19:16:49 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ugbzTIbf; 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 S1343722AbiARC05 (ORCPT + 99 others); Mon, 17 Jan 2022 21:26:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245655AbiARCYu (ORCPT ); Mon, 17 Jan 2022 21:24:50 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9279C06177B; Mon, 17 Jan 2022 18:24:00 -0800 (PST) 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 661D460AB6; Tue, 18 Jan 2022 02:24:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E853DC36AE3; Tue, 18 Jan 2022 02:23:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642472639; bh=PJa9pJriew9OaMlnsA9qTXusUtpxB4DAsf4xRVD7nJw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ugbzTIbfNQFTzXoQUCeKbVNfPDQyUMEbkqvP5oNyP+RBQQIb71nYtRINaMNmWFZ38 2YToeYBx/MhUS0HNQj/NVnfpcx+UYh47bU4KDqIfgs11gU3FU1qZDHLi5ehkZE8If2 PAgO6ZsRSSSVBWRPP/WExfo3Y1mxVL7YIJwOn8RUm3DqliMlxOFEthMvwBXEhiYVL3 3Byl/iTcWSKR0menVj0M6d9kJE/yFqCy4fHkTv/6uTexvs2nMFZegl6y82Y0gB8915 pWRgfFoC7dlehLHwGZEsAoNnF6jF/M12xzRXB+lqBzPkj66X/Ok1HyOgoMuN4n5Byx aHFCWGGESj8sg== 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.16 084/217] ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table Date: Mon, 17 Jan 2022 21:17:27 -0500 Message-Id: <20220118021940.1942199-84-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220118021940.1942199-1-sashal@kernel.org> References: <20220118021940.1942199-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: 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