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 X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73892C4338F for ; Fri, 23 Jul 2021 06:19:33 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 34DA960E95 for ; Fri, 23 Jul 2021 06:19:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 34DA960E95 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:References:In-Reply-To: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MLULPvx9UjKdHNVxP7eA507ChPH5yFfI0z4eWM/ZUEY=; b=ujzmYmcRG4w5kU 2zudHfgcT1ybmnCmyXYUJbqgHLCt/lfUcWaQV7p1KsJ4Ct8sILHJfaqL89NCsMh+jThRvMpbJWoUT K/y0SpaGmXo32YOfqoSWIY3ldIQMOKZNy7q+1a5McdvJN/BBRwQ7kbzZWnRV49/HqCjxR78nSmy+K aV7x6vsDBPlEWAyKdKx2wh2/CjFEeb5c0N8Ge6Tj8hRH89R+dxSduiR8okMfNK/YWuWvQLqHPTRje e8LdrsdA126S8ca3RLvg/Vf8hkvjt5AtLOcZ5zLckceJVZTFR4l+p3iWp1yjPQfikj+c4j+rUkqHK /1Fr95VxG1kx4YhlWzzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6oVA-003Vwa-5m; Fri, 23 Jul 2021 06:17:40 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6oV6-003Vvf-5Y; Fri, 23 Jul 2021 06:17:38 +0000 X-UUID: ca37473a73684123aa95bed778572a5c-20210722 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=0+OFaZT+V5fX2+7/ZvRj5IJQIdPcmVaOWGckKOtfowo=; b=Lfg6/IB33Lnv7CNJDQOrTzMkuJjNKGhskppDSSNBZ2N30a+7R6wp5/Y8gsNBuAoedyyD2SWKcS+4SYBu842TLsAmbwvT8oJApwpA4+9+XUgXJkGl0ahbv2tPPYd5OGrMcCiQlVzAj8CF/mEogAS1k6jgpMfVknzBlQe5Yb8Umwc=; X-UUID: ca37473a73684123aa95bed778572a5c-20210722 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1945032530; Thu, 22 Jul 2021 23:17:31 -0700 Received: from MTKMBS02N2.mediatek.inc (172.21.101.101) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 22 Jul 2021 23:17:29 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 23 Jul 2021 14:17:25 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 23 Jul 2021 14:17:25 +0800 Message-ID: <1f92b245537d6390b7b2bde62ce8b99a3df9d445.camel@mediatek.com> Subject: Re: [PATCH v5 2/3] thermal: mediatek: Add LVTS drivers for SoC theraml zones From: Ben Tseng To: Daniel Lezcano , Fan Chen , Zhang Rui , , CC: Eduardo Valentin , Rob Herring , Mark Rutland , Matthias Brugger , , , , , , , Michael Kao , Yu-Chia Chang Date: Fri, 23 Jul 2021 14:17:25 +0800 In-Reply-To: <06b1804c-4675-2997-8c5c-bcdffbcfc4a1@linaro.org> References: <20210617114707.10618-1-ben.tseng@mediatek.com> <20210617114707.10618-3-ben.tseng@mediatek.com> <06b1804c-4675-2997-8c5c-bcdffbcfc4a1@linaro.org> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210722_231736_259209_FC74F52A X-CRM114-Status: GOOD ( 15.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 2021-06-21 at 13:26 +0200, Daniel Lezcano wrote: > On 17/06/2021 13:47, Ben Tseng wrote: > > From: Michael Kao > > > > Add a LVTS (Low voltage thermal sensor) driver to report junction > > temperatures in Mediatek SoC and register the maximum temperature > > of sensors and each sensor as a thermal zone. > > I think we already talked about that. We don't want a thermal sensor > driver to aggregate the temperatures but create some kindof virtual > sensor with a property (min, max, avg, ...) which is usable by > anyone. > > [ ... ] > > > Dear Daniel, Sorry for the late reply. After survey ,I'm not sure whether the patch[1] is the architecture of virtual thermal sensor which you commented. Or, is there any existing framework on mainline already support virtual sensor? Could you help to provide reference to us? Thank you so much. [1] https://patchwork.kernel.org/project/linux-pm/patch/1606466204-31657-1-git-send-email-gao.yunxiao6@gmail.com/ BRs Ben _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel