From patchwork Fri Jun 19 01:55:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jeffrey Lin X-Patchwork-Id: 11613159 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CDE0E60D for ; Fri, 19 Jun 2020 03:00:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B5BC72080D for ; Fri, 19 Jun 2020 03:00:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=icurse.nl header.i=@icurse.nl header.b="WoR3i4en" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726927AbgFSDAt (ORCPT ); Thu, 18 Jun 2020 23:00:49 -0400 Received: from mail.ruun.network ([176.9.184.6]:49739 "EHLO mail.ruun.network" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726906AbgFSDAs (ORCPT ); Thu, 18 Jun 2020 23:00:48 -0400 X-Greylist: delayed 3893 seconds by postgrey-1.27 at vger.kernel.org; Thu, 18 Jun 2020 23:00:48 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=icurse.nl; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To: From:Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=t9VVt/q1Wb+H1nPMXXRmFagjrPdnSTriMlimvb6Aj+8=; b=W oR3i4enDVUcJq1BmoUfG14OaX+2TnMBg2MJVRN/++pV7fstDgoi6ljgOHh11M7qGU+5EdVVvoQD/g wOujh08GTAQ+fqqO6kKPlguhkOhcCko/Rn7IlS/OqW/3rsPk/u+D/Gs8TjbNfSWjyuD2WVNnFPT2S Qjh73XIIjTyWoKtIK6+3mQl6FvGtBhGv49rqFaCIBWiqfKewFLNhPtru5nnTGiJ821vD08jW+w5Vq ZmKVZvDtdQADTzT5Nwo+GqScSBoAUJdDy5kVTwyJRxUXuouRu4c7qYjL5DzxySGWygGHZ7IcN/bMJ p52vkBKKrNmRMucWXT607uY67OTJQx7UA==; Received: from cpe-98-14-166-248.nyc.res.rr.com ([98.14.166.248] helo=localhost.localdomain) by birchibald.ruun.network with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93.0.4) (envelope-from ) id 1jm6G5-0001WA-3f; Fri, 19 Jun 2020 03:55:57 +0200 From: Jeffrey Lin To: pali@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Lin Subject: [PATCH] hwmon: (dell-smm) Add Latitude 5480 to fan control whitelist Date: Thu, 18 Jun 2020 21:55:29 -0400 Message-Id: <20200619015529.285241-1-jeffrey@icurse.nl> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Authenticated-Id: jeffrey@icurse.nl Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org This allows manual PWM control without the BIOS fighting back on Dell Latitude 5480. Signed-off-by: Jeffrey Lin Acked-by: Pali Rohár --- drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c index 16be012a95ed..ec448f5f2dc3 100644 --- a/drivers/hwmon/dell-smm-hwmon.c +++ b/drivers/hwmon/dell-smm-hwmon.c @@ -1187,6 +1187,14 @@ static struct dmi_system_id i8k_whitelist_fan_control[] __initdata = { }, .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], }, + { + .ident = "Dell Latitude 5480", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Latitude 5480"), + }, + .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], + }, { .ident = "Dell Latitude E6440", .matches = {