Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3547769pxb; Mon, 24 Jan 2022 11:57:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKxLcf6N03amVWr819VBzmYcbwvKDgmIKZdru2GEEXRawr7Ot0N4P600PS6J6xgIQ2Cw4g X-Received: by 2002:a17:90a:5210:: with SMTP id v16mr3481710pjh.107.1643054264506; Mon, 24 Jan 2022 11:57:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643054264; cv=none; d=google.com; s=arc-20160816; b=ONGCNxhPmcMVKFIw5UmP6tRNc5V36ZvoGFgZCFGhSoA21OJGQUtODR3BHINaVsnnu1 Y4RfLFNMwVm4xfXyUIaOx6ZP4T+MDVuqv++uQxsh2U5PRcG5zh+yVu+iy7Dz4dgFEIIm RFQXwvQOyc4ECcnx+3ANmM7QVGLMHufax8tDcWKqbA9IH041qUtKpy/gBnLJV6o8pJBQ Ebk3MHMl5H95xu9CWQ2i15Bq7du78tGUSi/YvYZeQ42G4rhtMs69nA8eVbtqAEigqnTo nH4VGT5w69nqbzCViIebRJerZk1XTjiaUZvZ0Q0BkXIp6dfVQN5TrWrSfI1fq9naIzby YpcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=JVltL7XfUr78OBdyLqEqOu/YRzCA0cEoywdSG9wAfwo=; b=qG01JOoj9h/Jgnk3bMisUqtHjaTqeBMeUIym5NQLXs17RT/izYTzKrRBxrmkmLzffT 75CjOcfvzs62/Dzl7IvcVracPcecYR+siE1GqeBNHm/NE6q/DWzFzVmtbjLs7Z/1a2nf OAeqS5HqPqzlQuGUoCAPNBf4LGVsfI+PYcIO+I4D2qdRpVNiLU0+sLL4Oid3yyp64h2z nscCQkDs+htxWxg910BB2A51dBb4kj3HYym6RHXnQUNPijENuldAvr+T5IKd4o8ePVRo vgxXMmZPUiQtgs0aC+fSe2QyxNnCjoAj3AjEN7nW5QcgcYDvOBcSlGJ4MQCWMs2mJPs2 TF0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d9si11897418pgg.553.2022.01.24.11.57.32; Mon, 24 Jan 2022 11:57:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245681AbiAXSyN (ORCPT + 99 others); Mon, 24 Jan 2022 13:54:13 -0500 Received: from mail-qk1-f174.google.com ([209.85.222.174]:43606 "EHLO mail-qk1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245656AbiAXSw1 (ORCPT ); Mon, 24 Jan 2022 13:52:27 -0500 Received: by mail-qk1-f174.google.com with SMTP id h2so21394780qkp.10; Mon, 24 Jan 2022 10:52:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JVltL7XfUr78OBdyLqEqOu/YRzCA0cEoywdSG9wAfwo=; b=QJ58ryjU0BQnhokNxWiSvx9LVJwvpRNeTjeCa7g5uqbTy6E9pv4SzezeQnGTPQcvYm QQgaIWSpdt/RWwmso62q/DYncSFGhGGOJDQcPLiwqvy/X8ucaeyM8sAguAMXYjX5WH8V +FP/z9eeimYBcPQUsRAJxiWRYGOOts4wBFoKeuHADnfTwnGpAgY5QdrgKI2zhaLcEkgJ fNOm17Fze2vFZPl7Gx+vU6mWOzbhmA0MYXWYNjJXD2Fy0MwytP904gXmZ+GVLAsjn34x zYEQVjdBrIVpxAHKO1IXyFtQO9j+3uNqTqwgX2O9CqTiNfygiLvxE5OjvUuga8IXiWz+ MdFA== X-Gm-Message-State: AOAM5328EF22RW5au7gQUBSdOKnMVMs4/R7IOtYCmclHB/6PYcievHFn h0eIp75pgzzLfbS8pASIQ5NN0Q9JL3KtqqxW23w= X-Received: by 2002:a05:620a:1a97:: with SMTP id bl23mr12176564qkb.621.1643050346792; Mon, 24 Jan 2022 10:52:26 -0800 (PST) MIME-Version: 1.0 References: <20220111103346.2660639-1-abailon@baylibre.com> <7hilu9xe7n.fsf@baylibre.com> In-Reply-To: <7hilu9xe7n.fsf@baylibre.com> From: "Rafael J. Wysocki" Date: Mon, 24 Jan 2022 19:52:11 +0100 Message-ID: Subject: Re: [PATCH v4 RESEND 0/2] Add a generic virtual thermal sensor To: Kevin Hilman Cc: Daniel Lezcano , Amit Kucheria , Linux PM , Linux Kernel Mailing List , ben.tseng@mediatek.com, Matthias Kaehlcke , Alexandre Bailon , "Rafael J. Wysocki" , "Zhang, Rui" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 24, 2022 at 5:58 PM Kevin Hilman wrote: > > Daniel, Amit, > > Alexandre Bailon writes: > > > This series add a virtual thermal sensor. > > It could be used to get a temperature using some thermal sensors. > > Currently, the supported operations are max, min and avg. > > The virtual sensor could be easily extended to support others operations. > > > > Changes in v2: > > - Fix some warnings / errors reported by kernel test robot > > - rename some struct and functions with a more accurate name > > - update the dt bindings: rename type attribute to aggregation-function > > - factorize a little bit the aggregation functions > > Changes in v3: > > - Aggregate thermal zone instead of thermal sensors > > - Use try_get_module / put_module to prevent thermal providers to be removed > > - Update the bindings, to be more accurate > > Changes in v4: > > - Fix two warnings reported by kernel test robot > > Any more feedback on this series? Hopefully, I'll get to it this week and I'll let you know.