Message ID | 20230105082234.16962-1-alice.guo@oss.nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A86E8C5479D for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Jan 2023 19:28:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EMBNOYDd8xS2eWR7nqbtZe4o6Xa8yrLDC8OdH+8158I=; b=1SKnpyKI7oC5tN MNwQpZjfbisCJBdQ4BbasLdvB3+uKQFHFDWQCaQxp/HeR8VG97dApTCnODVRiQFhjfNBkbqJdrMWW fjdZqmMplRN2bbfi3TlSikZZmwCqyfaCXO4R+woRGXMKHzst5NH3bF/qI9h/9AObuPlscZCS1wKOH VIX+g7VfQbJ7zQS+HUXxEy0wsQfojLMge6HcguFf3gJGUSnOjAp5ntaBbqYc2lJRrXd/dxc6/vQto FSMDo6hiZuw7fcz+z26xuSoZwILjYEW1cgUHySCfnglhdF5VPmVJsC3MMkUT5lgntnKCJ+dzB6bLX KiWUZR58jFL42VoeWnuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDVtq-00E74Q-Di; Thu, 05 Jan 2023 19:27:39 +0000 Received: from mail-vi1eur05on2083.outbound.protection.outlook.com ([40.107.21.83] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDLYO-008agE-Jc for linux-arm-kernel@lists.infradead.org; Thu, 05 Jan 2023 08:24:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cmY5pbKh9cfOJKQs2gGRKTLLzs7resi+Pg/olrslY7iuDiZKyv1zj4BBf4W+P2p1s2WHxHqWpyBlkLxZUG5HOPFgenZUKzY9rryrB9fI9spY259LX2b1+iig/iYIZvckJlga1lp7MCsWLAW1DOaZ9mbFEHoR/zs/fl9gPbxuazqVjV0W1X6us/iZrsT3xNxXS/FiJxZMd6cmxufiwF5F8/iQ/7CTRva1TKWeOkWiPkSa9RMOuQGJfrCsON89kuPLEkCdgAHWE+zKqPsKX2knNeW7k1XeBQk+KC3Avy6nFA0H8u5DlNFda2zgMwyStO7BPKbysI9RmRInov7OuyhJNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UEsFfGEkFToT5Gu9Q6563Pke+P0ryz6JZWx2/xdw5vE=; b=AYbiwXD2tQN/Rf1DjXF9uXoI5bMr9z5pPY/RLaczs+vAnxmT+DLORojnQiGp1yXh6VbQWvL8PRSUKaQjpdoOKBJI574EaRgO0ZWmEAYBoJYQBvYDKUr8bu0skwyz8quNc1zJIUu2M20tY+4COMxmvOM0naiJ80gSFAfySWQ+dfS4XvUvxuzaIFLpR0eGzVgifiNG0WrOZJwNNRDd4BLrmC4hg0NvNG3RdyXrGUkMjqUgNaVR35TxMwbMIXoNyjMadu7Avik/hfqT1/6eYVmjS1swnxOI4oLC6ZRjm0+c3cGtD5rjNa89OMmXEkms7JcZ8CG4AppJupKZt6HAnKtZ2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UEsFfGEkFToT5Gu9Q6563Pke+P0ryz6JZWx2/xdw5vE=; b=RFCCehVGaRXWIRyrJlOq5tZNiLTL2eA7rRhqeDrjAQ1+PLjcvPi+Lv2Ptc6T6YNSejG7cU5ne/0s0DDSrJ0JctY8mk/7J3e8cbpXcKJTBwRqC5e/17zPREpEntfd4ITB4k40iB/VdWQob3/23W+HZy6ibMazJoGKLNfKGHGGHTo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB6053.eurprd04.prod.outlook.com (2603:10a6:20b:b9::10) by AS8PR04MB8771.eurprd04.prod.outlook.com (2603:10a6:20b:42c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Thu, 5 Jan 2023 08:24:34 +0000 Received: from AM6PR04MB6053.eurprd04.prod.outlook.com ([fe80::f75a:918f:6b4c:4a00]) by AM6PR04MB6053.eurprd04.prod.outlook.com ([fe80::f75a:918f:6b4c:4a00%4]) with mapi id 15.20.5944.019; Thu, 5 Jan 2023 08:24:34 +0000 From: "Alice Guo (OSS)" <alice.guo@oss.nxp.com> To: rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, aisheng.dong@nxp.com, shawnguo@kernel.org, leoyang.li@nxp.com Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] add device cooling Date: Thu, 5 Jan 2023 16:22:32 +0800 Message-Id: <20230105082234.16962-1-alice.guo@oss.nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SG2P153CA0031.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::18) To AM6PR04MB6053.eurprd04.prod.outlook.com (2603:10a6:20b:b9::10) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB6053:EE_|AS8PR04MB8771:EE_ X-MS-Office365-Filtering-Correlation-Id: de0bab16-4114-4b42-f31c-08daeef646b2 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: np97NNi8TzOKB280rGMN9TGp4h91YWG8Ugr9yOzSi9Grl7FROBJMa+UJFz3kQbeSbWUnhqboeFrhEWr1pm+2PjqlGHJI7qSHZgmCuCO2hkbE9KLcpgP2FT56ibOgxCWN6N9V2G9wJGM6+2esXf5Qmk4tEsqcr6KnODPGwzwMVzJOcME1Pq4biNMTfkGqeo1PcLMaOng7LiG77HiZOV1YBrmK+7+FPnVwUMYfCAOow/UDcMV5ZofAnUnru0W+IFjFYQpUitOX9gqjchq2PGZY8S2BidygnVMr73RT5l6uDvXNClWrq6TzJgP/bXzRpqS9OA2rB7Nk+SN3zSlDDzmjeFjHox8tGn733MCAqek6V0IDWnyF71Xcns67tmZYG7I6C22kI+72UkSF4pVLcZR+yz28zUyujiCDX37eXMf2qJJDewupLNWrBwcXcXsoaXxEnjUkx7k4OLI5oS09BegQlK44DxlcpTwyL/cj97maeED2HeDP0KFjoweKmREnw/HbYLhLT75Wz/gL7T1OySkhxq5BB1QPMJckLQGI4uSGCJGrwWqUuq3cgKJkOYlhl4/dJwt8YPyiaLLBSb/lHfO0V+eWev51MdoYp67gVvwfVr+UZeAtCkkx4LdKAQC9gt+BRa6r5B5uoqwhlP6BhP+FyBabuH3OxZR04o5vmzn+bxVACozhxv/wXfFXGUgWJcAhjrgZZJPezWHo6MNrcMNycA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB6053.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(366004)(39860400002)(396003)(346002)(376002)(451199015)(5660300002)(4326008)(41300700001)(316002)(8676002)(66946007)(66556008)(66476007)(8936002)(2906002)(6506007)(52116002)(478600001)(6486002)(6512007)(186003)(26005)(86362001)(83380400001)(1076003)(2616005)(38350700002)(38100700002)(4744005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3XkR8q7LFBhJLBLMkpatZDudgLPtcJ8f11alpUV6GG3gciubTXbFI6AnkXK3sw1fy0YHAYvkTTZVdFfo6Ai9or9g4nTVBr3OU6pPumtMNaf8iUHYqotE0fqhc4z18xSSOO+xQD5JwRjDTPjZ4nZPPJ8fBa51qfzgp/VkbAE3CNItbAcRVkepVpZuXnqiV1/np77ShenFtDcC6CFfF1godhrXXsCGnDBw+olKdm8bqGgoJxg3UuKp9mZwqNMgg/jcZhawBmUOBA46HTu4zaxppk8SSh5leFonsAB8GNu0grxdD02777PmIlGAgV4kIqw7EkL7ghNdDWuugQmpV/sobQfKFmhZ1otj5+sFzqUzf8Oplo8aTI08Gjy1vRXG5oGN1YB0lVzsaVST5VdqS1Fla6ieAumJ18uAjl2AM6gFOBDe30MSmdSgO3Z4hiQbpqjGSnxvLMp+vMnzmkKN9bqy0Pdas+CsiuZjhDSxf+05TIFldPZGIgKaNwKyZbnE9ClRi6XlHdArNTtAWU69fGygo/fYQg8Eonr05/oTf8M2igEG20Qf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4114-4b42-f31c-08daeef646b2 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6053.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2023 08:24:34.6063 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GK0+sJ26FmtJ+jj2HO9YEFUDRjMJ2QNvuYTgy0F33MfAOP036YSBleDFNdzEDdaZCAjfG1pfn4CXCgCcJsp7ZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8771 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230105_002448_921921_D4EDBD6F X-CRM114-Status: UNSURE ( 7.41 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
add device cooling
|
expand
|
From: Alice Guo <alice.guo@nxp.com> Anson Huang (2): thermal: Add generic device cooling support thermal: qoriq: Add device cooling support drivers/thermal/Kconfig | 7 ++ drivers/thermal/Makefile | 1 + drivers/thermal/device_cooling.c | 154 +++++++++++++++++++++++++++++++ drivers/thermal/qoriq_thermal.c | 83 ++++++++++++++++- include/linux/device_cooling.h | 46 +++++++++ 5 files changed, 290 insertions(+), 1 deletion(-) create mode 100644 drivers/thermal/device_cooling.c create mode 100644 include/linux/device_cooling.h