Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1006105iob; Fri, 13 May 2022 19:21:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXe95nSbPrOkM/sOv7r+l8qC5ug2Pft0OwCfUZLGpTivxxm9tfokJmdwYlU1HuVhV5oTA3 X-Received: by 2002:a05:600c:1f08:b0:394:9060:bb54 with SMTP id bd8-20020a05600c1f0800b003949060bb54mr6971759wmb.73.1652494903400; Fri, 13 May 2022 19:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652494903; cv=none; d=google.com; s=arc-20160816; b=k/wKPNaJdx9wEuIcMisbN2Vnb63lYZQ2+XkCol+tV2HdslJl2QokyR7LJPquLD/iON jR181dFpV6k8lwkLlBFvXf8lJ06RTXhg13j2syB6APBmQwIKLU+fxnz8bJB3S1ASovm2 f/P5J/mTqqZB0dl1aiubQXjk5dyqAit7dKhgLauKDZKc/cU1ZUjNJZ9ioTuMQRKU88t6 2J9O278mHUji9wFRw6dOGEqkdbUXn3BA5z5XWJ7MmhVLJfHP8wXd9ZSRH3haT0WH/3O1 pElvxGhyTI9BPf3TVea/OUe6o1jKOw04qukVXRPQhH8lMx9AdcwBpzaMCg6ZG4KnDbq4 lEUg== 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=gfV6hdj+G/eKhil+K8KKf6Xy30nkm2zLFDY36R9t3Bg=; b=FgXTDTWFjYmbx2Xq6E2tbMLm4SHRisFjkRv7vzs+BoJv0w1lPfdrgNHXY03BdvEhPw 93D2Os2HHoJxSlO8QnTLtOpBnIs3DRkj3dX8iN4e0/cPLea+r5DjbNT/TWiOr7FhbeaH mL7Tooan7E5b90fJHS2Rsv660jE7IUmz9Ez/HamJox2E4dA0LOZDmIDPHfu7G/HjZ3vx Oq5GNacMTLYzjVd/oJHtUMX7xPjIz1prtNVLVuOi3W+sRc+88JSw0rwxfxkpQ92st2eJ 8+RjjXLxsCUypEOPBDsk6CaA5LpiUgq7U17sGdRPHAyPq5/6EnEIpb9oc250JbqqRqJp 68VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N2yYG9Tr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o3-20020a05600002c300b0020c640b9cfesi5247250wry.831.2022.05.13.19.21.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:21:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N2yYG9Tr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 037714BED20; Fri, 13 May 2022 17:38:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355299AbiELOcs (ORCPT + 99 others); Thu, 12 May 2022 10:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355304AbiELOcq (ORCPT ); Thu, 12 May 2022 10:32:46 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19EAE6212F for ; Thu, 12 May 2022 07:32:45 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id a14-20020a7bc1ce000000b00393fb52a386so5280061wmj.1 for ; Thu, 12 May 2022 07:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=gfV6hdj+G/eKhil+K8KKf6Xy30nkm2zLFDY36R9t3Bg=; b=N2yYG9TriNOJkpOXXy+kvvvM/AVOyWksfsEqkamccWwpC1p89jHbnFVmMIbjpVpHqn ijVwQn5PbA+yltYmAjcbEzdfyMcGeik0hu/dBbEjKrW96bUcGb/31M2/C2xVd75uvGxQ 7Lu+Ojd2bUFvks7wdtkzdhLxEf1xlOe2mO+vit3gJb4HFJ3V/J/gDz6mwInwXvjDlMS7 Bu8hBAteXfuNqmRV0VLeKs0YUIIa6pUjdm+qvUS2f/h2cl2LauaSzKOh6WE8miCAm/VN CaNlV4gGIPF67/MjFTemRYxuNztld9/UNCXJm51mBxAgRN3DowKDKH3mOu5UnjLxaV6n cbhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=gfV6hdj+G/eKhil+K8KKf6Xy30nkm2zLFDY36R9t3Bg=; b=jErUDPcWUp7mHau52+G3SrmNYPGSoKjXod2jof063ewghAzrGFRFA/CV/ak6SWaoWM vgVFjXqAwMlfbfNXtjiR1zvMwPpGmbk+PEtKdCms5m06TAuoHM15Mziu2OA7OBJWWVGe 9N55r9Fhz1APaH3UL0I7b28Q15B88T//EILrbdsm4TRntspwzQGoig7EhCVczmIIgk3D b6y+l5Mf0tGKvRCrsmjxF/n9fGE0ax/IGgWMv6Q/QdRYyzTuaj+RsrhVgDp41MUQEqNW 2jXPVa+IW9R6TZA45ENS0gm0weacALnjgigPIAmRXtjDP+HibG61XWsnofH5gCGvdP6g nGNA== X-Gm-Message-State: AOAM531bHn6HhMghH14Qm44DtkGyR71l18aPE4o3NZuluovknWheuOzv rPC4Gx5DCv6tZAp//rmTQ7cOeA== X-Received: by 2002:a05:600c:b47:b0:394:1200:957b with SMTP id k7-20020a05600c0b4700b003941200957bmr10506789wmr.2.1652365963660; Thu, 12 May 2022 07:32:43 -0700 (PDT) Received: from [192.168.0.161] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id o15-20020a5d684f000000b0020c5253d8fesm4459561wrw.74.2022.05.12.07.32.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 May 2022 07:32:42 -0700 (PDT) Message-ID: Date: Thu, 12 May 2022 16:32:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v6 7/7] arm64: dts: mt8195: Add thermal zone Content-Language: en-US To: Alexandre Bailon , robh+dt@kernel.org, krzk+dt@kernel.org, matthias.bgg@gmail.com, p.zabel@pengutronix.de Cc: rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, michael.kao@mediatek.com, ben.tseng@mediatek.com, ethan.chang@mediatek.com, frank-w@public-files.de, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, khilman@baylibre.com, Tinghan Shen References: <20220512122433.1399802-1-abailon@baylibre.com> <20220512122433.1399802-8-abailon@baylibre.com> From: Krzysztof Kozlowski In-Reply-To: <20220512122433.1399802-8-abailon@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 12/05/2022 14:24, Alexandre Bailon wrote: > From: Tinghan Shen > > This adds the thermal zone for the mt8195. > > Signed-off-by: Tinghan Shen > Signed-off-by: Ben Tseng > Signed-off-by: Alexandre Bailon > --- > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 103 +++++++++++++++++++++++ > 1 file changed, 103 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > index 12887fb4d0d1..d6e5b595a89f 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > @@ -823,6 +823,21 @@ spi0: spi@1100a000 { > status = "disabled"; > }; > > + lvts: lvts@1100b000 { Generic node names. > + compatible = "mediatek,mt8195-lvts"; > + #thermal-sensor-cells = <1>; > + reg = <0 0x1100b000 0 0x1000>, > + <0 0x11278000 0 0x1000>; > + interrupts = , > + ; > + clocks = <&infracfg_ao CLK_INFRA_AO_THERM>; > + clock-names = "lvts_clk"; > + resets = <&infracfg_rst 1>, > + <&infracfg_rst 2>; > + nvmem-cells = <&lvts_e_data1 &lvts_e_data2>; > + nvmem-cell-names = "e_data1","e_data2"; > + }; > + > spi1: spi@11010000 { > compatible = "mediatek,mt8195-spi", > "mediatek,mt6765-spi"; > @@ -1627,4 +1642,92 @@ vencsys_core1: clock-controller@1b000000 { > #clock-cells = <1>; > }; > }; > + > + thermal_zones: thermal-zones { > + cpu_big1 { No underscores in node names. Generic node names - please open existing thermal zones schema and look how it is done. This probably fails validation, so be sure your DTS passes make dtbs_check. Best regards, Krzysztof