Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp656388rwl; Thu, 5 Jan 2023 02:41:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXuJdiFvGEzRXsU1wlS9ewLG8VOZTdaA4eFokA9sv81IPLNs234cXnsD5SGI4E5rtUesikrl X-Received: by 2002:a05:6402:f02:b0:46f:a2c2:405b with SMTP id i2-20020a0564020f0200b0046fa2c2405bmr53942121eda.37.1672915271014; Thu, 05 Jan 2023 02:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672915270; cv=none; d=google.com; s=arc-20160816; b=Mw7zlSA3uAPS7pOrt69eHARU5s7vqDdsvlDmLIkpdEGFyyBlM2y2oQI8QskZXzDuqV OagFgg+/tWr7g0utw32q2UvbqgSZVj9XGOt4kds7WFFZd12wmPQQM5X+Ccc4ubtjlZSc OFZOC8eaQuxdKDFEQPQ2ypUs5BISWRK02i+lPlk6SB5YQct/00YxN95gA9XquGErgufh 2+zMkP/jRfYqV46AzdeBT4rTZL/nF8dhBnMtsUCfzgq4/u5ytNVPRc9uSczkqZsmkA5h lcH/sgnqjv7X7bX5bj4DvZ9neuOtzZcAHn2o0I2a3N52gBm6f43gq2RFvFMaNxn3pi3Q mskQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=RXmxGNXL5oLeBsrWe9bCLaiwtBToTgmJ7BtAF3C01bE=; b=fFGcd2XaD7yUc+40hPlWrdaWDy1kKAnahjCOrBu9alpn92NqwRQEyJziNZx/fXgwyO aknJjDy4g2jCt8ccG956vAEntKDqv84c4p6WY+A4viqS+ufnSj+jLXMob3i16l8V93qq NHSOz1yRGmkvPb7REZdQIlxqbhGXDwbpDCTUKWzJCljpYnk/5YXZSZD38GSdTZg7khbb eqaV2l9TaHW1nZpSXGDbsRV5lH8JpVcap7b2ATu2f2G+dugvGE4Hd2T/NX5jJScd5zXd HwUWR81FsDgkif9bC5shJ0s2DjVUEdS51OC7z1f4CDrwHWEn/XLVahgi75Vdl9H1lu6T ye0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iXlFlg0P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r16-20020a50d690000000b0047ed1256ff6si32132429edi.443.2023.01.05.02.40.58; Thu, 05 Jan 2023 02:41:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iXlFlg0P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232274AbjAEKAd (ORCPT + 55 others); Thu, 5 Jan 2023 05:00:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232643AbjAEKAH (ORCPT ); Thu, 5 Jan 2023 05:00:07 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C7DF574C6 for ; Thu, 5 Jan 2023 01:59:14 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id p1-20020a05600c1d8100b003d8c9b191e0so901365wms.4 for ; Thu, 05 Jan 2023 01:59:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=RXmxGNXL5oLeBsrWe9bCLaiwtBToTgmJ7BtAF3C01bE=; b=iXlFlg0PEiv5maWvyNlBXW5EilxZlvmpOGWf0eLXmcyQ0s74Td3VxRnpYeP6j5Tqv4 P8PNAznv37x75M4jyGTRBylx1VQ+9ueNFb1tjfb59MUFdx1EN9zoIoG1cpnZQSpSTNoQ oDRKyTYP7js35vNGnwRRrVV3J+0YGiuZ74AQZ8RDCyTBrg6sUWhJuk0RN0K+UtdK+R2z 3pkChVfRBkzf38tdCQsjfzV/STYWjPDanJoAb9sDHGN6wvr7COLsBbIxdr5LUUC+FL/K fY/YaZYyuLH20dM33J0URtn6InprC5CkPZhyBAvmUcSfCXAeX6wePfdoX1eNconmW75Q brOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RXmxGNXL5oLeBsrWe9bCLaiwtBToTgmJ7BtAF3C01bE=; b=IhieKXoOpC6rPxIh0T3t8pxArCqCakvpDv9oiGPu7J05ygfFtw/Jh0f8uXEpcybueL m4eigdlWsyf7UmQOXG5DKIofbOUwugg5VBcWxrpVdgEpVcMFsJaoAP6Ora3qdjnSCoAo S33E0IEvbZ1wgj4PeWQsMxaTkzFbj0QOV6DDtho4BqS+oMiWvGHlzkbIBcooMs8ekjGT mBooKRJ9KiW0RwjE5eBwdlONsR3TZ3ezE51i81e/+Wu4tfnwp+cWkqN4+QnsCpqYxRqD oxC2mC8lT7Rm6NRwFbscC3TiEIpjVp+hQwDSJ+v987aepqPueeRZiDuIXXb06GZrFoNg h3bQ== X-Gm-Message-State: AFqh2ko9rUxyBGpO6lW1TeLIl4D76dHMn9HLgD/Et3W70OXCmEyqJAZZ e+Hp+HC1UlG7UYyq4M2o728DPw== X-Received: by 2002:a05:600c:4a90:b0:3d2:3ae8:886a with SMTP id b16-20020a05600c4a9000b003d23ae8886amr39553327wmp.17.1672912745149; Thu, 05 Jan 2023 01:59:05 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id az28-20020a05600c601c00b003cf57329221sm1871775wmb.14.2023.01.05.01.59.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Jan 2023 01:59:04 -0800 (PST) Message-ID: <0275b025-2029-0a78-1ef8-166bb58d742e@linaro.org> Date: Thu, 5 Jan 2023 10:59:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v1 1/2] thermal: Add generic device cooling support Content-Language: en-US To: "Alice Guo (OSS)" , rafael@kernel.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 References: <20230105082234.16962-1-alice.guo@oss.nxp.com> <20230105082234.16962-2-alice.guo@oss.nxp.com> From: Daniel Lezcano In-Reply-To: <20230105082234.16962-2-alice.guo@oss.nxp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/01/2023 09:22, Alice Guo (OSS) wrote: > From: Anson Huang > > To compatible with previous implementation, add generic device > cooling support, each thermal zone will register a cooling > device, and when temperature exceed passive trip, the device > cooling driver will send out a system wide notification, each > device supporting cooling will need to register device cooling > and takes action when passive trip is exceeded; Can you explain the use case you want to solve with this solution and the limitations of the existing ones ? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog