Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5016823yba; Wed, 10 Apr 2019 09:32:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxnZLmAHbltxlsePVZJcfstENORfM8ShVTyI3mabRyxgA8uex17bzbPgq+D55IiG3M+jOfB X-Received: by 2002:a17:902:70c6:: with SMTP id l6mr18043275plt.95.1554913947965; Wed, 10 Apr 2019 09:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554913947; cv=none; d=google.com; s=arc-20160816; b=Khu75e3P/P28MP9frpAErFZkY2nY5ndNb108mI4k4axekXQ8GXLbL48ICrU8jRfqgr WUJALLu5GCurFohHbPlcyjrET9Atk4kaaLxoq50E8Ua9gfXnrJ3gp4KITUpjLNApcIiY /zTizZldQ5t4B0q2d6VMW9vr2WGdH5pg0T2tCO8fZQWVAems3AyK/1n51R1Bp229JQVd Ib6g5UL+JGyyhC0bRA7Vdk+WIB8GsNthfq3hJDD2ew17urknPfklpiza3zAF32iHLu9h mrVW4KqVDTWhFaguABKU2RfVSp7yy4aFMVo5jxtwuJY7KnOfnEPOdg7IaWQfcsYGlJTg +1TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9GecMz2KPIeESiZKPs22diHS55qIWq05bHgPCBS/UHs=; b=xy3mEtKYCC3Jis/xnHdSDuR3c6i+hTRX14qtLb6/JNS6qO2QLyB08oX/aFtUcJJJCy R5up0EsxwLAmNoGV2Rh3htiSFp55Nssr2PDHGQ+1pic/7rbn5OyYZvRG+wniObWHmFkz YODv9wtbhKblhNlue+4cslB/R9fIIuLQLVBtB5kx8o4fpKiJeWuQv1IJgVFML/xixoo5 6Ce4VdNWdojnKEaNB+C+de4ur+bVINxBc0qYmsPBUMB9yZB7SKuiwR6sWeoNzpLtJY4r l09I/TIKI7shjd6pQcZNjYJvU5+936TBUB49fif7FEsOR9AXbMnkx2cDMqFh5xsvMJIs ReEg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z123si28731945pgb.199.2019.04.10.09.32.11; Wed, 10 Apr 2019 09: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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732580AbfDJOKD (ORCPT + 99 others); Wed, 10 Apr 2019 10:10:03 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:37421 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730195AbfDJOKD (ORCPT ); Wed, 10 Apr 2019 10:10:03 -0400 Received: by mail-ot1-f68.google.com with SMTP id c16so2041119otn.4; Wed, 10 Apr 2019 07:10:02 -0700 (PDT) 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:user-agent; bh=9GecMz2KPIeESiZKPs22diHS55qIWq05bHgPCBS/UHs=; b=arCblmzO7LXpyoM41FLr8knMFnxJJh3mnHwFzTQVl1OkjNik8x5/aviD7QZK+tJBMW ysd+M7bSjC3FYyb978mL0rcoRPxOBwphDt2+s2r/ilGCrjGYM+Ls0lz5kpkKzsZA22SC w54NdcJ8o7jS6PzIzWcUrBMaoAR0zU+NlOxzVCSzdkKlgJZadAPU/3ER2GakDkWjUwZo Xc9L293OjxqKSkuMcSNTGjI/nHvdHOsozkeyDJlKQzE0I1NhBhyMwlqhkze0tVzR0rbG pGBojuDZCw478N1JgXcvnOJ2YAM8Sx5VjGMjfafi6V6e4YaaRqveV8aC/twUk2unujT0 UL1Q== X-Gm-Message-State: APjAAAUOkpAvP4ekeWLhhdR3r6rppssKVLJPwICRgzfkwG8aWyx43h8j kyHNLSCmO5G64862Boc/pA== X-Received: by 2002:a9d:32f5:: with SMTP id u108mr28426804otb.153.1554905401984; Wed, 10 Apr 2019 07:10:01 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id h26sm12681838oih.22.2019.04.10.07.10.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Apr 2019 07:10:01 -0700 (PDT) Date: Wed, 10 Apr 2019 09:10:00 -0500 From: Rob Herring To: Talel Shenhar Cc: edubezval@gmail.com, dwmw@amazon.co.uk, jonnyc@amazon.com, rui.zhang@intel.com, hhhawa@amazon.com, ronenk@amazon.com, hanochu@amazon.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: thermal: al-thermal: Add binding documentation Message-ID: <20190410141000.GA19197@bogus> References: <1554373016-1442-1-git-send-email-talel@amazon.com> <1554373016-1442-2-git-send-email-talel@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554373016-1442-2-git-send-email-talel@amazon.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 04, 2019 at 01:16:55PM +0300, Talel Shenhar wrote: > Add thermal binding documentation for Amazon's Annapurna Labs Thermal > Sensor. > > Signed-off-by: Talel Shenhar > Reviewed-by: David Woodhouse > --- > .../bindings/thermal/amazon,al-thermal.txt | 33 ++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt > > diff --git a/Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt b/Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt > new file mode 100644 > index 0000000..af8cf18 > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt > @@ -0,0 +1,33 @@ > +Amazon's Annapurna Labs Thermal Sensor > + > +Simple thermal device that allows temperature reading by a single MMIO > +transaction. > + > +Required properties: > +- compatible: "amazon,al-thermal". > +- reg: The physical base address and length of the sensor's registers. > +- #thermal-sensor-cells: Must be 1. See ./thermal.txt for a description. > + > +Example: > + thermal: thermal { > + compatible = "amazon,al-thermal"; > + reg = <0x0 0x05002860 0x0 0x1>; > + #thermal-sensor-cells = <0x1>; > + }; > + > + thermal-zones { > + thermal_z0 { thermal-z0 { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + thermal-sensors = <&thermal 0>; > + trips { > + thermalz0_crit { critical { With that, Reviewed-by: Rob Herring > + temperature = <105000>; > + hysteresis = <2000>; > + type = "critical"; > + }; > + }; > + > + }; > + }; > + > -- > 2.7.4 >