Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3924806pxj; Mon, 21 Jun 2021 09:29:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI0gST8hbAS3kdyWTd71+An80SKKTu4jXShEEu7ZtEHPCSr1hMK4BflIt9mIn+7KNIGe8v X-Received: by 2002:a92:cd8d:: with SMTP id r13mr16419718ilb.20.1624292980011; Mon, 21 Jun 2021 09:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624292980; cv=none; d=google.com; s=arc-20160816; b=OPcyRc9x7J/JripH8DstC+n6/vLumGX0GVKnvkL6D9nZLrF8Fe31vheSBX3NgMXwTf ZxBuCq8yOoSkE14DpZ+sI8q6D9xPUoG0bi4Xcp07LM9B9qOYznpT5yU+gtgNFS9ThAOf /EYeRMDFZAGg50gkYJEkTmw955MHlkGiIZjSYaanK1JfVlAJ9MIkFVNPc4Vnv0ku+nZz Cf7glvQqmuK/9dBLUlm0k9/ejI+uFToYmN+wLti/zd+YVAQQS/1tMEk/TKagj/u14b1i 3QR2cs7KPw6Qh/LmnowXQO4KNp2zjN2FtHnmDkYrvvKvNUtlUc8jizpq9BIamqp7S+pl Z/Ng== 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=YAf28e4nGiyKNRenqE5hmlDBvmzAebggU0cv5tno++g=; b=CjmhILjr9jyBLeSZQ33E9ywRHnITnVcPsRaVxFtOEK5MnM9ERhjX0se4TPnstfUVby GGVLEzW7UfV+OASORu8eaa1K/dzyPjgpic7G2kQUPhMJ7UWuOa+b9jrcVZamMtdbJS5J BsaqKajkiFzVwGG2Eo0k50ozELvPMO+ZRSVovOW+MfTuL5HQvWzJZVNwkPbOoLrQQPB8 5oYkbAlXbt5gO+PR4B007go/WbdplspKG0M3aL7X1HNnN2q1vJ94oWyPdX6eM0rEn7WU jQsG+s+/6LreMjc0SAYv46e5eaD7kGRp0RYHzUWtliueoF9A/0WSshKDEyBbEwhrhgAf TRrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OyM7tlgL; 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 r13si15073340ill.4.2021.06.21.09.29.27; Mon, 21 Jun 2021 09:29:40 -0700 (PDT) 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=OyM7tlgL; 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 S232324AbhFUQbM (ORCPT + 99 others); Mon, 21 Jun 2021 12:31:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:48558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232347AbhFUQ3P (ORCPT ); Mon, 21 Jun 2021 12:29:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2E86161378; Mon, 21 Jun 2021 16:24:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624292647; bh=57/uMMEeMR9p9mCBxGKJPQGCdTcaBRY23AecR/wg6mU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OyM7tlgLojEVgXVFZxmRu/uO8cT0HvJ4JsO74VzekRnB8GqyaI5YGUlxoZ3a9kq16 caGXqAi4WmMw4AaljO0e1xov7gJwb81cllQKeu3hnX9+iM9LwtTrnJS9q5nfZJ/IIZ +NylqCHjTvf16KiQveGThMUF6cr1ccjU+X/DtZSk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Til Jasper Ullrich , Hans de Goede , Sasha Levin Subject: [PATCH 5.10 077/146] platform/x86: thinkpad_acpi: Add X1 Carbon Gen 9 second fan support Date: Mon, 21 Jun 2021 18:15:07 +0200 Message-Id: <20210621154915.835109528@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621154911.244649123@linuxfoundation.org> References: <20210621154911.244649123@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: Til Jasper Ullrich [ Upstream commit c0e0436cb4f6627146acdae8c77828f18db01151 ] The X1 Carbon Gen 9 uses two fans instead of one like the previous generation. This adds support for the second fan. It has been tested on my X1 Carbon Gen 9 (20XXS00100) and works fine. Signed-off-by: Til Jasper Ullrich Link: https://lore.kernel.org/r/20210525150950.14805-1-tju@tju.me Signed-off-by: Hans de Goede Signed-off-by: Sasha Levin --- drivers/platform/x86/thinkpad_acpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 1c25af28a723..5c2f2e337b57 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -8806,6 +8806,7 @@ static const struct tpacpi_quirk fan_quirk_table[] __initconst = { TPACPI_Q_LNV3('N', '2', 'O', TPACPI_FAN_2CTL), /* P1 / X1 Extreme (2nd gen) */ TPACPI_Q_LNV3('N', '2', 'V', TPACPI_FAN_2CTL), /* P1 / X1 Extreme (3nd gen) */ TPACPI_Q_LNV3('N', '3', '0', TPACPI_FAN_2CTL), /* P15 (1st gen) / P15v (1st gen) */ + TPACPI_Q_LNV3('N', '3', '2', TPACPI_FAN_2CTL), /* X1 Carbon (9th gen) */ }; static int __init fan_init(struct ibm_init_struct *iibm) -- 2.30.2