From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1DD1C2FC18 for ; Thu, 17 Aug 2023 07:32:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348464AbjHQHcJ (ORCPT ); Thu, 17 Aug 2023 03:32:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348470AbjHQHcE (ORCPT ); Thu, 17 Aug 2023 03:32:04 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04D342D4F for ; Thu, 17 Aug 2023 00:32:00 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3fe4ad22eb0so72079105e9.3 for ; Thu, 17 Aug 2023 00:31:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692257518; x=1692862318; 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=jj+zmFcS53FxiFXdFT3100UbX55OahW6GngbYoCny6o=; b=PLVH/ed2a/eOd6iKZuSO3DTDv56DPfgIfYVnkAxbHUSMCBruBJmvkn+sIy9aZXCqE+ v1k1/IsCVUvm6B2CZnVw5Pq597Kx+gDtKmw3aiL9oFi4S3tWGB2p1W+gTgTdrMEwuNyX i7fgPASN/i/3/wKKpfNPgQWA77eHoqrsU8tDGdq7UAqe97I25xiYm6lwLr8LrE7u1qm/ to/joITdRq0K8T/voGQm4z5qxDUw+dHfOrg3D6HXyzzjjiNy+HGKBaBsH98ot7aWoHjw 88q5Ijr+eV7E6RZ1R0X6anDg5bL8vxm26JJRgMEowKLw04lzXg67jzYpJshVTXGgMwSQ QeCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692257518; x=1692862318; 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=jj+zmFcS53FxiFXdFT3100UbX55OahW6GngbYoCny6o=; b=AZJdjgzXKBPZLVLHFZKgtcvl4rn3nBBDZQliI4k9uy5ZdpXFY7BD+hsvAqvAIZW69Q bUfOr1E01CoDBEPnx912NUSC+R58jMWn8pqeFYK8c9GTL2dgmiZB04+NWswEMYj6X77N u3tPFs65/sTK/XNxWmrIyjjduNdGDSFT/qj458LJtJe7p9TO7kaVxP61icmsc3UcRBpX zVjeHccpJXUpVYa3LXWkTX0JUCiJsXup8JERoAtwuDo3LwYCUi89IiF5lo1qvhl6oHLX no1xkHGmz/9SqypPxgSC/SPoH7CaDjSXcm2gKYWW2kdTPhujiyaO5Gzgx+9qBu3lGGH8 zhew== X-Gm-Message-State: AOJu0YzV538wkQMYLQh/2Kol8SC19h/Ti5pUpmw6RfN+FUp1fwWklRgh WTv1VWVaCoDdA0VE32Nnc7DKLA== X-Google-Smtp-Source: AGHT+IGzexNfIMNiyYf04wPFvQ+KprnkNte0v5qmm1q1BFzdIXuiSxv8wB5TM7QDdlSZYaz7yM/Ehw== X-Received: by 2002:a05:600c:228d:b0:3fe:16c0:6b44 with SMTP id 13-20020a05600c228d00b003fe16c06b44mr3303735wmf.12.1692257518429; Thu, 17 Aug 2023 00:31:58 -0700 (PDT) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id j11-20020a5d604b000000b0031ad5470f89sm1740984wrt.18.2023.08.17.00.31.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Aug 2023 00:31:58 -0700 (PDT) Message-ID: Date: Thu, 17 Aug 2023 09:31:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v16 1/2] thermal: loongson-2: add thermal management support Content-Language: en-US To: Yinbo Zhu , "Rafael J . Wysocki" , Amit Kucheria , Zhang Rui , Rob Herring , Krzysztof Kozlowski , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jianmin Lv , wanghongliang@loongson.cn, loongson-kernel@lists.loongnix.cn, zhanghongchen References: <20230817021007.10350-1-zhuyinbo@loongson.cn> From: Daniel Lezcano In-Reply-To: <20230817021007.10350-1-zhuyinbo@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 17/08/2023 04:10, Yinbo Zhu wrote: > This patch adds the support for Loongson-2 thermal sensor controller, > which can support maximum four sensor selectors that corresponding to four > sets of thermal control registers and one set of sampling register. The > sensor selector can selector a speific thermal sensor as temperature input. > The sampling register is used to obtain the temperature in real time, the > control register GATE field is used to set the threshold of high or low > temperature, when the input temperature is higher than the high temperature > threshold or lower than the low temperature threshold, an interrupt will > occur. > > Signed-off-by: zhanghongchen > Signed-off-by: Yinbo Zhu > --- > Change in v16: > 1. Remove the test and message in the context of > devm_thermal_add_hwmon_sysfs. Applied, thanks