Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6652738rwr; Tue, 2 May 2023 03:42:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6t/9TZV2msLp/vFQSfDU6ttjUaOXnvYMDytuFYu8i/3/8pb2RJi/TYThpbHY90a5zKtY29 X-Received: by 2002:a05:6a20:914e:b0:d9:8a1b:3315 with SMTP id x14-20020a056a20914e00b000d98a1b3315mr22372572pzc.59.1683024123879; Tue, 02 May 2023 03:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683024123; cv=none; d=google.com; s=arc-20160816; b=wESf4op9KlffYpvs+8gHRReHcnwXVCpGgkqOsqh8hVMYeocdSIdS+Ujn0/9FLTyHsf nZSf0WHHeXztaP6eHuAXDbW6M3PKvQOVTr7DzQ6GuqmchdvMINBOO2dIRDJmYLXhbmbU 6z2Iz0PmUfYPbZunidGskKklRRPS8sQirjjDuuGSkuX1qTUkwgm5FDBe94+RybqTM3E7 AauIcuzsA69feCMx23RmBI5i71FTY1GE3dRFmyWaiIzZe7Au3uZpAlP1ZlXuv6v/45gX dxdq19ovnLpGZKxTi0mgtQlQkqdf/KQ45h17dV1Gl6SHGQrz5PKw0SB25dq8YNg/k15+ hdxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1k/rwLcFO2bB3Oa74LdI4dO5dKJGAnDPj2NzOWcALug=; b=PTx+i0uOMJ/9dU5R9tarvxWICtv3QQYvze5Bfrd1FLkrHAiXzLNPdxX7GCZuoyy4xc PatbvPHoXBie6d9LkpvqFICCPuego1zj/7cc76RtVQEPc/sgwvlscmk6y8ykl+cGiw4V VhfeqRxAUiCXrKOYEQ63G08VoR+QRYUuyRtEP8wNy4KAcqfyiYPJB+xNm+0wiDF11J45 bs2mCdISFokBTr9/DlxkacM5wWIJwAfYyafLRj2NCszmMH7i8Gl2dPTCSQA+2PSC6dlz 64c9xFn3KjxXnyjolm6NdwQpFX/0gs7+TAfbAWbC16ZROfFO/t5UuFF05+bx5ABSJEdf 0dyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FxTb+Whw; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w126-20020a626284000000b006375460490dsi29894932pfb.136.2023.05.02.03.41.51; Tue, 02 May 2023 03:42:03 -0700 (PDT) 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=@chromium.org header.s=google header.b=FxTb+Whw; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234050AbjEBKg6 (ORCPT + 99 others); Tue, 2 May 2023 06:36:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233846AbjEBKgN (ORCPT ); Tue, 2 May 2023 06:36:13 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85DBF527D for ; Tue, 2 May 2023 03:35:47 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-51b603bb360so3103092a12.2 for ; Tue, 02 May 2023 03:35:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1683023747; x=1685615747; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=1k/rwLcFO2bB3Oa74LdI4dO5dKJGAnDPj2NzOWcALug=; b=FxTb+Whw3s4DsO+LoDJSIj9HK/kqLMLJw5iBHlim3UjK1ozu2HxriBtEICQMGvIr2V z8pWvpLlDbSlP9orffy5OMwDMsOUpoJdfHrJjo5lSH7ZLI0NIrTGkdk9srG+MmqLMyf2 rdS9Rsc6sS1J/zPo6ZtaEkyQHUZNiE1pwYrsA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683023747; x=1685615747; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1k/rwLcFO2bB3Oa74LdI4dO5dKJGAnDPj2NzOWcALug=; b=CILJacsOlYSoS8xGTFLxc+HJBYOGM4cUl2r/DjcB0Kd80eReg4+5Ow7r9tzUJuyj04 eIHca6t9GAeKszQ2LlBTeDDxBb4FEgXxGtIdAhRTePPyN0nNG8V1gmLVtv172Q1jkc9r TePMENEQHPRUD2tjTJLI2QjJjPem6rCIjXl03eHElKp2sOkn5H9uYkP3RtcO8uruDMur ypwlQxqQa7b1+kp/IrVfEASBfecjh+sekYG+AbVd4SRxcPody23ZTY5OUphtUouHzBdo dS8LMibMxyuC9CK9v+yeNAC4+huH5zi+GCliPmMFAIGX/fqxfgEG4fcz8JVT1ktxyJ7g vadg== X-Gm-Message-State: AC+VfDx4XUim+Kfn9ETtr8s26Dr9sODZ6Q3Yhntje/4plnhnDa1Kd1kX qU8UKQZ1SXarnnDWsEy/CXS0lQ== X-Received: by 2002:a05:6a21:329f:b0:f0:a282:a343 with SMTP id yt31-20020a056a21329f00b000f0a282a343mr22950107pzb.16.1683023746979; Tue, 02 May 2023 03:35:46 -0700 (PDT) Received: from google.com ([2401:fa00:1:10:b873:4627:7ea:a0dd]) by smtp.gmail.com with ESMTPSA id j14-20020a17090a588e00b0024e2980574asm1052755pji.4.2023.05.02.03.35.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 03:35:46 -0700 (PDT) Date: Tue, 2 May 2023 18:35:41 +0800 From: Chen-Yu Tsai To: bchihi@baylibre.com Cc: daniel.lezcano@linaro.org, angelogioacchino.delregno@collabora.com, rafael@kernel.org, amitk@kernel.org, rui.zhang@intel.com, matthias.bgg@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, rdunlap@infradead.org, ye.xingchen@zte.com.cn, p.zabel@pengutronix.de, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, james.lo@mediatek.com, rex-bc.chen@mediatek.com, nfraprado@collabora.com, abailon@baylibre.com, amergnat@baylibre.com, khilman@baylibre.com Subject: Re: [PATCH v2 0/5] Add LVTS support for mt8192 Message-ID: <20230502103541.GB3388518@google.com> References: <20230425133052.199767-1-bchihi@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230425133052.199767-1-bchihi@baylibre.com> X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FSL_HELO_FAKE, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Apr 25, 2023 at 03:30:47PM +0200, bchihi@baylibre.com wrote: > From: Balsam CHIHI > > Add full LVTS support (MCU thermal domain + AP thermal domain) to MediaTek MT8192 SoC. > Also, add Suspend and Resume support to LVTS Driver (all SoCs), > and update the documentation that describes the Calibration Data Offsets. > > Changelog: > v2 : > - Based on top of thermal/linux-next : > base-commit: 7ac82227ee046f8234471de4c12a40b8c2d3ddcc > - Squash "add thermal zones and thermal nodes" and > "add temperature mitigation threshold" commits together to form > "arm64: dts: mediatek: mt8192: Add thermal nodes and thermal zones" commit. > - Add Suspend and Resume support to LVTS Driver. > - Update Calibration Data documentation. > - Fix calibration data offsets for mt8192 > (Thanks to "Chen-Yu Tsai" and "N?colas F. R. A. Prado"). > > v1 : > - The initial series "Add LVTS support for mt8192" : > "https://lore.kernel.org/all/20230307163413.143334-1-bchihi@baylibre.com/". > > Balsam CHIHI (5): > thermal/drivers/mediatek/lvts_thermal: Add suspend and resume > dt-bindings: thermal: mediatek: Add LVTS thermal controller definition > for mt8192 > thermal/drivers/mediatek/lvts_thermal: Add mt8192 support > arm64: dts: mediatek: mt8192: Add thermal nodes and thermal zones > thermal/drivers/mediatek/lvts_thermal: Update calibration data > documentation Tested-by: Chen-Yu Tsai on a MT8192 Hayato Chromebook. Sensor readings look OK. Haven't tried stress testing to hit thermal threshold yet.