Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3624991pxb; Mon, 24 Jan 2022 13:48:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2rGgDZy6MqoE8DIJoqinKJHDMPaLqRFQX9hnC5rP9IJ3zcOunP0hgqjmLraO2YQE6Yhv8 X-Received: by 2002:a17:90b:3b8a:: with SMTP id pc10mr188432pjb.217.1643060789914; Mon, 24 Jan 2022 13:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643060789; cv=none; d=google.com; s=arc-20160816; b=bVADi/FRPWtOwmfchFSPr1LJ/iF2qYlZGJlWG05V2zxNllLLQ/EqUps/sa5ZFMa8yn RXt8KjFZ1KacyUpF17v6rW7RmymkBAYf9bjssabyUOIabDOXQP92VTdsB48CYekEkoZW ztCo8aOD0zo/2HoTgCkSrYIx1z1v0MoH3nA2CgNXg16EmSGG9mnDShJRKiWzsUZmBpj7 g+YiO5AZq4L+pf3nkZfsPPEh+unOn1svrJa0KUcz6bhG5fgJJhD/r9M8ctGFMg5IJwF9 VoKxfFWrQbW4s5l4GgXV7uONN3yIqEHeccNAHIx8fj+EQFuNft4cFhIYMhSRs3gMKfaD pyVw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=05vm9q9jEuy3TJqVHKs3msd9xUZifuNL0ogPqPLXik0=; b=rACIbBJmokUtAUsbklUxiC3onw1vqmVFXnMjSZmJe2qQNJFxrq/MqPjX3KwjaPJ94A Gd4XHZVcseNJIlwdHAwfyJkxI29ix53uzIhsg9/oprk346mtZw7vLxDwUJrpzC30Frgx 5qYv2bzHudFsDpuWOauC1D/1QF7LNrSyPwguhgBbHUtDzxfQyWcSEGC+9hKLHh5uQX0H 7lVTzJC6+Na693Ix/Nc83QPfGotUy82+D0xhAStuSANSvWIgZTvdC/LRVz3bxiKAFsgv TwNkiYgRQIvnt5nCTJZ+VnJOfNxZxFsoOfUBUurVk9dOEjxPAMQhhV8s15jC3sLoJWTQ lWXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=H1+ab6hd; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si13270735ply.342.2022.01.24.13.46.16; Mon, 24 Jan 2022 13:46:29 -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=@linuxfoundation.org header.s=korg header.b=H1+ab6hd; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1452745AbiAXV02 (ORCPT + 99 others); Mon, 24 Jan 2022 16:26:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358721AbiAXUtA (ORCPT ); Mon, 24 Jan 2022 15:49:00 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 413C0C04189D; Mon, 24 Jan 2022 11:57:48 -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 ams.source.kernel.org (Postfix) with ESMTPS id F015BB8123A; Mon, 24 Jan 2022 19:57:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1080FC340E5; Mon, 24 Jan 2022 19:57:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643054265; bh=pDLLvoeU36LjGUQLKpr+514zihBBhyi8aheoZQjcDAU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H1+ab6hdO/5118LX4aroI/nou7K4IN32g0R57X+jhMUAH8XfC1A2dTbqckKsAl2IK 9rAzNov7cjMYO3+VR98aBwvxySIAvkAbRuYa6O7tSVg04JcnkDfeNiIVl6yOlXNFom 4cshDQSjmgAW7xOVwvY2qGSsEgYpJml/d54V0p0Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 5.10 333/563] ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table Date: Mon, 24 Jan 2022 19:41:38 +0100 Message-Id: <20220124184035.942065856@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184024.407936072@linuxfoundation.org> References: <20220124184024.407936072@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 bdc1ba00aee9f..baaa44edc9441 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