Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2545454pxu; Mon, 7 Dec 2020 09:11:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAR4/PYCfc6SEFA3bCERJlNtPCOFIO6opQutyDnnLO6fTyFCcqqmLqAcc71Gw6NBu0hbIH X-Received: by 2002:a17:906:229a:: with SMTP id p26mr19881666eja.291.1607361079729; Mon, 07 Dec 2020 09:11:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607361079; cv=none; d=google.com; s=arc-20160816; b=T4zUKVU44f2IqxnnTJvQMUZAFodxgTW6l0cc9RaK+2/USrW1pUoN9NYLxmMUyh3g09 TkFQzNmL9ykkomxRfPFel16/Hw7of5Nz/cmO0pXWeHd0nPU3/XXFrk9O4YkQzciLmwxy Zdn9cii3uEWAOmm+YPD+2l3VCmeKwt94yHA/JJfNgAHlO/X7f7Oo4u3Q7R7kLvrn9qsy Fk2EE/FvjY/a5yvoJYfLdnr9quPzMfdpgqRV1LU4iI+q5BLRkauWeWETNOgbmXxQQAh3 T1yGjFV5rHHNKqmKNnC5uu/M+xp6ZxnmSkSB02FpKL8B2sOtT9zdCTJORWEfh1baPKhs JUHA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=SogwgdPzZLs7UQaCL9uSzW/XvOBxKSbmidKt0mKHBqM=; b=pUWtoTG4xsOxtNoDh3fm8fTzSBn/wd+bltP6w0S01pIF1VN2UHN7ZAmhgKWvCePdHr paHZ9H0Ta8N1fVL5zA6wB3DR+rgRtvo0vq90O2dnIaC9Lvd5asRqqKv8/pPEfVTolYJC C0KsiGQRRNsGBWbCyZZlm2q3Lt0q/gqGyme6VzujT85Vp0X9SMnmUazBD+qARXv6Rq38 8SFOR0WUP8s/8xdyS3NaI+Mh04fqa7Gm9Ls+xIprPLJretgj1m4kCf4mBdk82skIVlar DmltVrTUji1IaOGnE6GcFpp+vtT1jgtHM2CNGI+Gt0aHVqxo33hawUbC0w7kclHKZ0hJ ihWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t20si8469884edw.31.2020.12.07.09.10.42; Mon, 07 Dec 2020 09:11:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbgLGRIq (ORCPT + 99 others); Mon, 7 Dec 2020 12:08:46 -0500 Received: from mail-oo1-f65.google.com ([209.85.161.65]:40904 "EHLO mail-oo1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbgLGRIp (ORCPT ); Mon, 7 Dec 2020 12:08:45 -0500 Received: by mail-oo1-f65.google.com with SMTP id 9so678784ooy.7; Mon, 07 Dec 2020 09:08:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=SogwgdPzZLs7UQaCL9uSzW/XvOBxKSbmidKt0mKHBqM=; b=aJx5WW/j4od1ZI/UXgIQFLm2qASM/Zs+X/uY5MhumaD91MFNDqkvd9MiesjSNeEj5I Er2DBOTLVDQFtoC36B9IoK4T8E36XK8GGhpLAAOq//BwwysjF+1D0JqBhwc/uk8/STb+ EEJUP2CwqOjmG5k4qPBlK0RMUCmWMbQqUocW9FVZg2qEvBliE7TorbiLeNb6U1rH5Tos 3EU7+o5LuZFwroRVHLAQeo9z8ris+/bD0yjALGk+v6YcZ8kB/8PRPFMfmj9/bNtupvEO y+CQdxduM94PgLednxPbYnQWEOxFYPtCMZRUXfavaSpp/RIEWnNGSfdHAF7s0ACNq7et dmDQ== X-Gm-Message-State: AOAM530Y9xFUfMaI9LVU0z/oICLsfxZwpLme+2w/5dK/RZ8ft77zAjEr Yo8E1vCjagBPbTxA0Igl7A== X-Received: by 2002:a4a:3e42:: with SMTP id t63mr1568149oot.32.1607360878900; Mon, 07 Dec 2020 09:07:58 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id k13sm2929820otl.72.2020.12.07.09.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 09:07:58 -0800 (PST) Received: (nullmailer pid 445307 invoked by uid 1000); Mon, 07 Dec 2020 17:07:56 -0000 Date: Mon, 7 Dec 2020 11:07:56 -0600 From: Rob Herring To: Michael Kao Cc: ethan.chang@mediatek.com, Zhang Rui , Daniel Lezcano , linux-pm@vger.kernel.org, srv_heupstream@mediatek.com, Eduardo Valentin , Mark Rutland , Matthias Brugger , hsinyi@chromium.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 3/3] dt-bindings: thermal: Add binding document for mt6873 thermal controller Message-ID: <20201207170756.GB439416@robh.at.kernel.org> References: <20201207063127.28051-1-michael.kao@mediatek.com> <20201207063127.28051-4-michael.kao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201207063127.28051-4-michael.kao@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 07, 2020 at 02:31:27PM +0800, Michael Kao wrote: > This patch adds binding document for mt6873 thermal controller. > > Signed-off-by: Michael Kao > --- > .../thermal/mediatek-thermal-lvts.yaml | 80 +++++++++++++++++++ > 1 file changed, 80 insertions(+) > create mode 100644 Documentation/devicetree/bindings/thermal/mediatek-thermal-lvts.yaml > > diff --git a/Documentation/devicetree/bindings/thermal/mediatek-thermal-lvts.yaml b/Documentation/devicetree/bindings/thermal/mediatek-thermal-lvts.yaml > new file mode 100644 > index 000000000000..745611718c0a > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/mediatek-thermal-lvts.yaml > @@ -0,0 +1,80 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/thermal/mediatek-thermal-lvts.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mediatek SoC LVTS thermal controller (DTS) binding > + > +maintainers: > + - Yu-Chia Chang , Michael Kao Not the right format. 1 email per entry. > + > +properties: > + compatible: > + const: mediatek,mt6873-lvts > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: lvts_clk > + > + "#thermal-sensor-cells": > + const: 0 > + > +required: > + - "#thermal-sensor-cells" > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + dts: lvts@1100b000 { > + compatible = "mediatek,mt6873-lvts"; > + reg = <0x1100b000 0x1000>; > + clocks = <&infracfg CLK_INFRA_THERM>; > + clock-names = "lvts_clk"; > + #thermal-sensor-cells = <0>; > + interrupts = ; > + }; > + > + thermal-zones { > + cpu_thermal: cpu-thermal { > + polling-delay-passive = <0>; > + polling-delay = <0>; > + > + thermal-sensors = <&dts>; > + trips { > + cpu_alert1: cpu-alert1 { > + temperature = <85000>; > + hysteresis = <0>; > + type = "passive"; > + }; > + > + cpu_crit: cpu-crit { > + temperature = <120000>; > + hysteresis = <0>; > + type = "critical"; > + }; > + }; > + > + cooling-maps { > + }; > + }; > + }; > +... > -- > 2.18.0 >