Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1841848pxb; Wed, 9 Feb 2022 05:45:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGtM+FTettiHF92UqVKlOKGzFyJmewHTB9ItCKskfV86qO/AhPKKQ5zxLKsQgLrlPqfQ+d X-Received: by 2002:a05:6a00:14d1:: with SMTP id w17mr2365965pfu.46.1644414337431; Wed, 09 Feb 2022 05:45:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644414337; cv=none; d=google.com; s=arc-20160816; b=NCwZjXQ02oSCQRyRVt4x3jc9BI0cyQD5c2Uf/m/PwvOlPgQmxc8YhpmHp0uEzLf8+9 okAa5usLpxxw8im8BKYwSgeqSk8g3xh7FATZbfe6FRfJS18Z0WsJIes0/o1IYlikpquO 8fJEcex6q4lytFnD/9nHnRUe+2+67QB1W0WliDstW3skNPOjEk5Qg2WAfG7YOFoHwdC1 Ok0w9fd61SJqENJ7THKZwjQfI8HKCL4VVB2oVr+1+1rwBBrelmVO4gIuWa0ZAlRMod1+ Xw3gEuxIEyOUeJCQ+KTW9H2pDK8fhNZK6Y6MoLlcsb0ipF42TtLhzT7ss6JTbnNk4K31 xeTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3iRmgk4sE3G5R6ny6tEUeYqF+37fupjFGhzzwxVHVG8=; b=HoklKGGqWgSivuhwApU8NZ18+N74eEw+JeSS2HLorUwj59InVb5z81/XQYG48vxquq oEeeRIpLivMams81c1e5gGiF0ydamGA0hYiRzH7/B8Tx5nCFI8AaEj2a8BqZ5Jazl47R 6pnuoj5PCWaEmgM8uGZ9Dni2hWxoOmeL61rdFTMcPe6rOephb2gOhqTt0v9Hudzp5tu3 9cgW9OxKOhtOU6AL0AdjIC4QyWj6cIE+z7bQXB48l6+ihsJxNmZbi48JjS5Hf3oflLVd Y7DDssvm/EC0ghsEmK1DaLLT0iWJ/Clqmppzgnzxg7GFrP58mo/LemKj+BFMDGksn6ne cEvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JdppDHBg; 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 p27si15166587pgb.407.2022.02.09.05.45.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 05:45:37 -0800 (PST) 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=JdppDHBg; 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 5771BE09DD83; Wed, 9 Feb 2022 02:26:42 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231994AbiBIGmv (ORCPT + 99 others); Wed, 9 Feb 2022 01:42:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231347AbiBIGms (ORCPT ); Wed, 9 Feb 2022 01:42:48 -0500 Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C23EC043181 for ; Tue, 8 Feb 2022 22:42:53 -0800 (PST) Received: by mail-qv1-xf29.google.com with SMTP id a19so1095596qvm.4 for ; Tue, 08 Feb 2022 22:42:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3iRmgk4sE3G5R6ny6tEUeYqF+37fupjFGhzzwxVHVG8=; b=JdppDHBgdz10eh2s8OCsYPjqQBQ8wFWZAWETfQHtXPXaTjFoP7TZCfKLcE9oyZEpkY JKxEa+5wNV2aw+nYMiCguaKjOcNDJIobhu9T3yzprebIBHyE8BRFH+DBU1+Zy7XekGrn LpkTAy0NR7y6kFQtY4W/pepaKpQJgBVcUfOtPb0wzs5JeFeKpmF6NVXjt24+RVyrZ1pb ZohA8eMc6H3yAuu1ns7aLfq4vGCJrbgaeWLWIsBXpsJsH41M93wapFIjEVxtr88d+wFi F+HqL+9g1MafeMNADh0yGo5Ji8FaxLT5E7lHSo24/XZlqDu3RK+Dd4pqZClgpUKRyNZz cOlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3iRmgk4sE3G5R6ny6tEUeYqF+37fupjFGhzzwxVHVG8=; b=tKFkugviBArXMR5BIsB78W2tWohGePXfdtD+GYJ25umJoaiFVawvx5zPxyztg/biUj zcms2BLSwKT7DDpy+Y426OCZ9CP7KL0uWhe6tqqg3GVM+rFrj25XyuRga1uY2enCwNfB iK5BSfjnI04OmFnNrOMNqAGb5BagFVZ00VpI8EbYHewu+gL77/dSd1d1OyJ0i9lmWIWF k6S1ZAd4LtEbnpysD1D05KyZ+aJoJw0xmU9R7uML3hBBIVo1Ooz39WgxQ39IZR0TzdKl eZUDqKW+NUoCkKskz6rl/8i/RNAD5oUC0RjjfCLOCxeZQ7l2nrumWvE+HFoUsEIFHfZr tFuA== X-Gm-Message-State: AOAM531+w66GEwVdmhumpYSKMU/KuSEMElCPu5DFQw6bG5LFAXAscUQf wzB59DI3glMoMuDo4+eGatc/oGEENUbKvQ== X-Received: by 2002:a05:6a00:88e:: with SMTP id q14mr723726pfj.47.1644388658146; Tue, 08 Feb 2022 22:37:38 -0800 (PST) Received: from localhost ([136.185.132.167]) by smtp.gmail.com with ESMTPSA id nv13sm5149261pjb.17.2022.02.08.22.37.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 22:37:37 -0800 (PST) Date: Wed, 9 Feb 2022 12:07:35 +0530 From: Viresh Kumar To: Francesco Dolcini Cc: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "Rafael J. Wysocki" , Matthias Brugger , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Ziswiler , Denys Drozdov , Stefan Agner Subject: Re: [PATCH v2 0/2] Enable i.MX7 SOLO temperature sensor Message-ID: <20220209063735.552mz6q5cqymv5gx@vireshk-i7> References: <20220124082803.94286-1-francesco.dolcini@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220124082803.94286-1-francesco.dolcini@toradex.com> User-Agent: NeoMutt/20180716-391-311a52 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 24-01-22, 09:28, Francesco Dolcini wrote: > To be able to read the T junction on i.MX CPU the imx-cpufreq-dt needs to be > loaded, however this is currently not the case for i.MX7S given that it does > have only one operating frequency. > > Add "fsl,imx7s" to cpufreq-dt-platdev blocklist and a single frequency > operating point to the CPU. > > With that it is now possible to correctly read the CPU T junction. > > Tested on Toradex Colibri iMX7S > > [ 6.232577] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 0 mkt segment 1 supported-hw 0x1 0x2 > ... > [ 6.880624] imx_thermal 30360000.anatop:tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C > > root@colibri-imx7-02983025:~# cat /sys/class/thermal/thermal_zone0/temp > 38000 > > v2: > - removed empty new line > - rebased and tested on v5.17-rc1 Applied. Thanks. -- viresh