Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp883150yba; Thu, 18 Apr 2019 11:09:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyXaTINa/5jMSBTHpWXkXO6Kymm+JuU0dcLx87t+eirFMZWYmuJFdxLdf5K2WV4YlqeRzmc X-Received: by 2002:a17:902:f209:: with SMTP id gn9mr49114959plb.109.1555610962406; Thu, 18 Apr 2019 11:09:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555610962; cv=none; d=google.com; s=arc-20160816; b=vR5CKOr3EVurmKn76d1vJeV3nHF9khOQ2C+q9KlpU8Hpy3UktGsgyxFn7EVooGNGta VIpUGDvxpSWdRi0jGzBGM7PjNWf1IHTvkixOl3RKJZf/EQrJ41h5joLVEHVUFuPWwabo jIl8/X05UO0KtLTTO2mEKCVrOJcfx7uWzNgRlnfkQ0grkQCnJ5zxoSVrdrKVbcvIwqXP y4uv9yzD+p5PURozyWVOSCgQtneSMBzqvWZfqcL4IuOGw9xeFYR1lOemKUAxeZvHXn+2 qWKo3Ihld1qaJDvdsT8ffV31tVwBX8uFdnLmy222wa7Si6c+jMQ1xy5M4DVvpjRSzKL8 7kUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AR/jEtuTl5hzk8nbIKwjOg4aVYIkOvFo7hPRKOIM0eg=; b=T8anYt1RefSdG4A5gEYKPGzDpHrOmvgeVqD6FBo8n+qddXWnMzmQyi5TOEBxkTq1F/ xTLU56E+Sv7exY8lMJtjlZ1N+fUOw8VUTcq78BgCB9Ge69SrYpTri/cbsEvDiRHIp9zn P0Drq2dEsDSV/S92fW7A92IHeEcaYrbWl1u1i/jJfNrmGnY9eX6V9pbeEq7eG+RhwmYc 1bQkHaK6dWUYdzcEowW+uRmPNLmEmnczAbfB+CZWTcBi14kPyYqwRoMUQeMtuKI54ofa 3BqF7+A/Rq3Vkpvx/7yaz91eVXAhinoAOlaUxqlBaSq0meYbZHoJVdVDcnqHe/3+Soe+ gNUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=axjSed0d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id be8si2687254plb.72.2019.04.18.11.09.07; Thu, 18 Apr 2019 11:09:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=axjSed0d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403787AbfDRSHZ (ORCPT + 99 others); Thu, 18 Apr 2019 14:07:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:37468 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391599AbfDRSHR (ORCPT ); Thu, 18 Apr 2019 14:07:17 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 63A52206B6; Thu, 18 Apr 2019 18:07:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555610836; bh=l918xrfDzjeUIfFFf9zlL1S4EHflc7aq0DdxCFxYMQc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=axjSed0dDgw+1vs9aAMJD3tgB+4dyNpavgEllylTKTHZqJ9DU8lBBVXeJ1E8vTZSA HImuUCxDIHFAl1CD3coDEF3XM3eXNjF/hvo5FEtSUw9X3u2ZZtJJqYy2mXyYs8EQa+ sKDzj4Sgrc0JeYb4V+/IqATz4F1hmtxM5bNfZwJk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Matthew Garrett , Nisha Aram , Zhang Rui , Sasha Levin Subject: [PATCH 4.9 10/50] thermal/int340x_thermal: Add additional UUIDs Date: Thu, 18 Apr 2019 19:57:21 +0200 Message-Id: <20190418160424.051766693@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190418160422.455656724@linuxfoundation.org> References: <20190418160422.455656724@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 16fc8eca1975358111dbd7ce65e4ce42d1a848fb ] Add more supported DPTF policies than the driver currently exposes. Signed-off-by: Matthew Garrett Cc: Nisha Aram Signed-off-by: Zhang Rui Signed-off-by: Sasha Levin --- drivers/thermal/int340x_thermal/int3400_thermal.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/thermal/int340x_thermal/int3400_thermal.c b/drivers/thermal/int340x_thermal/int3400_thermal.c index 5836e5554433..0beed2899163 100644 --- a/drivers/thermal/int340x_thermal/int3400_thermal.c +++ b/drivers/thermal/int340x_thermal/int3400_thermal.c @@ -20,6 +20,13 @@ enum int3400_thermal_uuid { INT3400_THERMAL_PASSIVE_1, INT3400_THERMAL_ACTIVE, INT3400_THERMAL_CRITICAL, + INT3400_THERMAL_ADAPTIVE_PERFORMANCE, + INT3400_THERMAL_EMERGENCY_CALL_MODE, + INT3400_THERMAL_PASSIVE_2, + INT3400_THERMAL_POWER_BOSS, + INT3400_THERMAL_VIRTUAL_SENSOR, + INT3400_THERMAL_COOLING_MODE, + INT3400_THERMAL_HARDWARE_DUTY_CYCLING, INT3400_THERMAL_MAXIMUM_UUID, }; @@ -27,6 +34,13 @@ static u8 *int3400_thermal_uuids[INT3400_THERMAL_MAXIMUM_UUID] = { "42A441D6-AE6A-462b-A84B-4A8CE79027D3", "3A95C389-E4B8-4629-A526-C52C88626BAE", "97C68AE7-15FA-499c-B8C9-5DA81D606E0A", + "63BE270F-1C11-48FD-A6F7-3AF253FF3E2D", + "5349962F-71E6-431D-9AE8-0A635B710AEE", + "9E04115A-AE87-4D1C-9500-0F3E340BFE75", + "F5A35014-C209-46A4-993A-EB56DE7530A1", + "6ED722A7-9240-48A5-B479-31EEF723D7CF", + "16CAF1B7-DD38-40ED-B1C1-1B8A1913D531", + "BE84BABF-C4D4-403D-B495-3128FD44dAC1", }; struct int3400_thermal_priv { -- 2.19.1