Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3617016ybb; Mon, 6 Apr 2020 12:05:18 -0700 (PDT) X-Google-Smtp-Source: APiQypKGNtfV4CmVbjnQRDaCwxaPuYDDVaMe16t2cZrlLM7UuejWVadwjSioo3r0U+ymBdFaxTbH X-Received: by 2002:aca:f591:: with SMTP id t139mr536982oih.153.1586199918139; Mon, 06 Apr 2020 12:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586199918; cv=none; d=google.com; s=arc-20160816; b=Ucv3dMj0G7sssvGPE0cpix2s9+4Uq2JANbYfQnAjUm+c6Mo7yTfP8jt03B8zHBi4yZ GYNLjJbWsOZ769OxuRUD05/BDnGeDek5Hv1r0cxJCYZXydOXIWKVV/wIs/aw6m3zcOW2 3b0gWg1BfshLPnwuS5zBnwNR0ac3+nd20lKXNCws1vmznR9bvaR7kHUSrQeVB/ya5q8i 8P051vz58dzJaeNJd21XasSy80+m6EzDBevnojeydvAw3zc8cEDF9G0QThhHdwUcYCuj xS1/BcGwPp8MLfINlS4qhrJf/cU+Fq+NljxklGyp8/iLvnlYIfGM/z6LczNChwMiRIfv 8wyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dKSOuUapGnWf3Hq2VKiORYvF7/gi1e0olK/3vh44kQQ=; b=y4V7BaJKpO7gglbYL8bKHYwKSRaQrAvBe+s7nh5ijE2rK6HEPMY2aBnkltjsS9FceP 1yDv8cSw7HsRNtirY5cGt7NnI7yCl6KVeV/qoOI03fF4fpu+fs98ysrYq8euEPqxySLN soCRgKngnJPaw4BKV8B07toizi/q+qMwQfvGQhv555pgVv6+pGpF3wtdZLoCJIt5kpxY fqoMi0iANMRklqtocE9w0W/EkXuJLhKxnAEDiX3GiuSdfU2CWGY4EQdH4o5qTCBTOlL0 0si2nXzqEOMacUFHwJDUcyiBkDC8qV5y6bnBdI9KHuTvDMcEbEndCnyTsavZfLJ8r4V9 V6jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=bOB0LqZR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 96si208928oty.198.2020.04.06.12.05.03; Mon, 06 Apr 2020 12:05:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=bOB0LqZR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726246AbgDFTEa (ORCPT + 99 others); Mon, 6 Apr 2020 15:04:30 -0400 Received: from mail-ua1-f65.google.com ([209.85.222.65]:36762 "EHLO mail-ua1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgDFTEa (ORCPT ); Mon, 6 Apr 2020 15:04:30 -0400 Received: by mail-ua1-f65.google.com with SMTP id m15so363948uao.3 for ; Mon, 06 Apr 2020 12:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dKSOuUapGnWf3Hq2VKiORYvF7/gi1e0olK/3vh44kQQ=; b=bOB0LqZRTfAo6bdJQM33HQTyFUvLOR2z0Foi8Jb7TOSz1Og4RBWGZeKA4kZ/KpEEAp lAEpgpzt0q6aG5DTLjV4xRZnSYIp0ZzUTqyGwsDsiCON6vSw4wMh362yvErfWIEjIFtE Wa+l+6HD1L6snPqXyu03v/xIPeJB9BnUfoLrY6RgTLjRXZdnoRb04+OZOWBvFSzLCXmG Lczq/lgonbLYzFjzZZBUwzc41Ae9iurYnVUxNbq3GDCxYejuuHJkSx8X/MQ2/WEHfbVC Y/gPn+28cj89NxAFAFKPa/J8wNu1zga0PppWe0Z6j9DtuYOUV0tBIJCUQnHtf0qtUtqy mRVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dKSOuUapGnWf3Hq2VKiORYvF7/gi1e0olK/3vh44kQQ=; b=c3pVGkP5rW7is+57pBiiAr6qfhnd/p0xjyNg9g5G+Ulz7gCIUe0oWGWWh2harATAoT VMLHU4VGLN8OvxpKFqclziHRXh2r4YPN0+Cp0qunVflHJtBoP9qx/QdUDJKE+pJC+rj+ 40TQEaDAxGwZs2ETPQihCnOn7nX2CiD/5vPfsrexGdBggqmRBdugc4lDl97MJ69JfdfQ wvQhFpk00Bq0akyWD00RqQv9Pio1M1f3wK1b/7gCMfu/5BjoN6cwVkdaIUdRlp14Sh9T 4N19b13BD0KgN9/XeiEWZLP3td9VlijmwnO9+Y4Pca4pgJLOpKJ/YMggBHATse4BW8h+ MKjA== X-Gm-Message-State: AGi0Pubq661NHLOYvCVNsYMbri2E1elIxqsZa4C/I1+FFG4SNfF6SNAu pBdsioCQzYL0gPN5+ipVShQrt0A6BjLrlJzfnatvaQ== X-Received: by 2002:ab0:5f90:: with SMTP id b16mr805358uaj.77.1586199867533; Mon, 06 Apr 2020 12:04:27 -0700 (PDT) MIME-Version: 1.0 References: <20200331075356.19171-1-j-keerthy@ti.com> <20200331075356.19171-4-j-keerthy@ti.com> In-Reply-To: <20200331075356.19171-4-j-keerthy@ti.com> From: Amit Kucheria Date: Tue, 7 Apr 2020 00:34:16 +0530 Message-ID: Subject: Re: [PATCH v5 3/4] arm64: dts: ti: am654: Add thermal zones To: Keerthy Cc: Zhang Rui , Rob Herring , Daniel Lezcano , t-kristo@ti.com, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , lakml , Linux PM list , Mark Rutland Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 31, 2020 at 1:24 PM Keerthy wrote: > > The am654 SoC has three thermal zones namely MPU0, MPU1 and MCU > zones > > Signed-off-by: Keerthy > --- > .../dts/ti/k3-am654-industrial-thermal.dtsi | 45 +++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi > > diff --git a/arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi b/arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi > new file mode 100644 > index 000000000000..cdc3d40c3f60 > --- /dev/null > +++ b/arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi > @@ -0,0 +1,45 @@ > +// SPDX-License-Identifier: GPL-2.0 > + > +#include > + > +mpu0_thermal: mpu0_thermal { > + polling-delay-passive = <250>; /* milliseconds */ > + polling-delay = <500>; /* milliseconds */ > + thermal-sensors = <&wkup_vtm0 0>; You are referencing the wkup_vtm0 node before defining it in the next patch. Swap the order of the patches and move the include for thermal zones to this patch. > + > + trips { > + mpu0_crit: mpu0_crit { > + temperature = <125000>; /* milliCelsius */ > + hysteresis = <2000>; /* milliCelsius */ > + type = "critical"; > + }; > + }; > +}; > + > +mpu1_thermal: mpu1_thermal { > + polling-delay-passive = <250>; /* milliseconds */ > + polling-delay = <500>; /* milliseconds */ > + thermal-sensors = <&wkup_vtm0 1>; > + > + trips { > + mpu1_crit: mpu1_crit { > + temperature = <125000>; /* milliCelsius */ > + hysteresis = <2000>; /* milliCelsius */ > + type = "critical"; > + }; > + }; > +}; > + > +mcu_thermal: mcu_thermal { > + polling-delay-passive = <250>; /* milliseconds */ > + polling-delay = <500>; /* milliseconds */ > + thermal-sensors = <&wkup_vtm0 2>; > + > + trips { > + mcu_crit: mcu_crit { > + temperature = <125000>; /* milliCelsius */ > + hysteresis = <2000>; /* milliCelsius */ > + type = "critical"; > + }; > + }; > +}; > -- > 2.17.1 >