Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1301981ybb; Sat, 4 Apr 2020 00:32:27 -0700 (PDT) X-Google-Smtp-Source: APiQypLeS8D82wxENHSq2lLW5QfMgf2Z1IOmByKQovxDXRyUhSHBaa71cvKuJ0NT73n8aSsGw9+m X-Received: by 2002:a4a:3bd7:: with SMTP id s206mr9710305oos.89.1585985547413; Sat, 04 Apr 2020 00:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585985547; cv=none; d=google.com; s=arc-20160816; b=Gg2hf8r7phssttYHyPHj+elRAkf1i+nWJ+Mh9jF6VhzZoaV4mlARlMWtwjLPSJlVMZ CMDlUAKRF3BI36bLXFlhK+zyujsbUIQaEvvO0eQL2IOpPyfvScZOvbPvCGJMM1EVFmls AHPsD83/WRfkvRPpDXkWFQMZDX2aum2Xq3XzSzYekG/xFjigEBZjUQhD55MfLnehkIOf CaU7Xl20U9n1ejRaMhg+BrByL8r+NaFOIMVTAYf3q+L4UtvuDMuV7I+Pt1cZi/+QP7wI W0DmAbzmB2lGgfLYxQhbu78XMZx60zI98JtH/aeUkDIbw9QiovrLMoBcmDgyxEv/c+xI R0tA== 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=PM54+TAF+g/S8Jdu48v4vdALgU1uHmqD41DlN+nN2GQ=; b=w8v3hJGPQg5QcFH8oRtalTMV577g+JPe88kNWv343PGniWtx7tXJCE/+AhkFcFzr+L kxqgLRTgI+ogoQ6BS8Al007KdV7eigJnQ7e5LTRqxqazFj9xbBNzUPmXe+leUDq2egEm Rq+nM3eDbmZZqjXIWJcNyxGwmFmoziNEcf5xEkGzCmjO5LjqoUi40v5pldQDppIKKkLJ +Iy1gFE81fcq0LRBUvpExpdDmCVRzeModiKv97rKFovghCKdxEn1lpx4m+BFWAKPpZUo YpwcdzH62HiY1vtxadgWNG9Yn9r+ujXvRy58xpZ8bp1PY6uBfFndJ1CIwLRGRiHVdPLL ahXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b="U/z7FaYg"; 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 n187si4985681oob.22.2020.04.04.00.32.15; Sat, 04 Apr 2020 00:32:27 -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="U/z7FaYg"; 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 S1726402AbgDDHbc (ORCPT + 99 others); Sat, 4 Apr 2020 03:31:32 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:41697 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbgDDHba (ORCPT ); Sat, 4 Apr 2020 03:31:30 -0400 Received: by mail-vs1-f67.google.com with SMTP id a63so6463003vsa.8 for ; Sat, 04 Apr 2020 00:31: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=PM54+TAF+g/S8Jdu48v4vdALgU1uHmqD41DlN+nN2GQ=; b=U/z7FaYgCxrifjRMbUMuNc48xDQkG1azVQ1qAqD5C7gQ2BC0+SFLokHqrseBZoS9BZ HhrCnBVjIlsNzTSk4g9jfL9JJz+m5CKI+s5CrxslyKnjLoTsEBG8QO2itdwefQVPu7Sh RWs2OJabHZCg++IlG5djjUt5kNFHWUOxPGGHY1AUmooXc5/Kvu95qNG/RJNI1bp408I1 rv4YucMhPRAVJiiew6KxAcltBjYQn1wwVVPeylGsfx2YHhAuDgZgIaV+C9Eq+6VzjDvp i2sBU69P9pmQehnOz4LSQCQfw45G1MRqFniKV+pNE9TYCEJv2jY/nLd6aPv16oy5YDpy UvZA== 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=PM54+TAF+g/S8Jdu48v4vdALgU1uHmqD41DlN+nN2GQ=; b=TyfR1QOl4nsGFDz1yIqKaciMmtb8oer7b4IZQaLsyUqVmCCfNeWx4IQofAMK7s/RNi 6GtAi+3dgxNNgZQDYPzdW0mYMLcBWhZBAONy35DK+3iAVl5TolO+Vl7tnZwRWtaJIfX5 yJLJFOKQA2+aOh9AjBrcU3RYhS8I4nLrMW/6QEw3rU9/olGPegMjQWz9z4a/bLITyitY 3PX7S3n7wmWUvovp1yNjhclaaGlxqfPzh60A0smsjFa6hTl6SDkqvqyxZWYYLiwjbtWT jV1LbJtBoJk2kMeQMcju0HvNJB7NGDYoagRIYnFeUdUyCUlvFJ7sH/mi+zuFxiGvYzFt Xp8A== X-Gm-Message-State: AGi0PuYCu+4pbdpY8buGHEeXTFC0z9D1wt++CIJ49GCmJw/5fX/gnqNC YJJkRM2zPBp9hwm9a1UBs+XVW+Ets7Zi2hkhugAuUg== X-Received: by 2002:a67:69d5:: with SMTP id e204mr8446240vsc.159.1585985488361; Sat, 04 Apr 2020 00:31:28 -0700 (PDT) MIME-Version: 1.0 References: <20200331075356.19171-1-j-keerthy@ti.com> <20200331075356.19171-2-j-keerthy@ti.com> In-Reply-To: <20200331075356.19171-2-j-keerthy@ti.com> From: Amit Kucheria Date: Sat, 4 Apr 2020 13:00:00 +0530 Message-ID: Subject: Re: [PATCH v5 1/4] dt-bindings: thermal: k3: Add VTM bindings documentation 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: > > Add VTM bindings documentation. In the Voltage Thermal > Management Module(VTM), K3 AM654 supplies a voltage > reference and a temperature sensor feature that are gathered in the band > gap voltage and temperature sensor (VBGAPTS) module. The band > gap provides current and voltage reference for its internal > circuits and other analog IP blocks. The analog-to-digital > converter (ADC) produces an output value that is proportional > to the silicon temperature. > > Signed-off-by: Keerthy > Reviewed-by: Rob Herring > --- > > Changes in v5: > > * Added Reviewed-by: Rob Herring > > .../bindings/thermal/ti,am654-thermal.yaml | 56 +++++++++++++++++++ > 1 file changed, 56 insertions(+) > create mode 100644 Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml > > diff --git a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml > new file mode 100644 > index 000000000000..d241b65d6072 > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml > @@ -0,0 +1,56 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/thermal/ti,am654-thermal.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Texas Instruments AM654 VTM (DTS) binding > + > +maintainers: > + - Keerthy > + > +properties: > + compatible: > + const: ti,am654-vtm > + > + reg: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + "#thermal-sensor-cells": > + const: 1 > + > +required: > + - "#thermal-sensor-cells" > + - compatible > + - reg > + - power-domains > + A nit-pick: arrange the required properties in order they're listed above. > +additionalProperties: false > + > +examples: > + - | > + #include > + vtm: thermal@42050000 { > + compatible = "ti,am654-vtm"; > + reg = <0x0 0x42050000 0x0 0x25c>; > + power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>; > + #thermal-sensor-cells = <1>; > + }; > + > + mpu0_thermal: mpu0_thermal { > + polling-delay-passive = <250>; /* milliseconds */ > + polling-delay = <500>; /* milliseconds */ > + thermal-sensors = <&vtm0 0>; > + > + trips { > + mpu0_crit: mpu0_crit { > + temperature = <125000>; /* milliCelsius */ > + hysteresis = <2000>; /* milliCelsius */ > + type = "critical"; > + }; > + }; > + }; > +... > -- > 2.17.1 >