Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1052994yba; Thu, 4 Apr 2019 03:18:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqykMp8HnytDsn6oQREuuZmwQAUgs7qT3aEJgETWc7K179mBFjNyiwyRr06t4Fw4gyxXKWku X-Received: by 2002:a63:b64:: with SMTP id a36mr5068988pgl.58.1554373138007; Thu, 04 Apr 2019 03:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554373137; cv=none; d=google.com; s=arc-20160816; b=pEoIZjJD3qna7pKyLZcDmy0FuJWgWhpo5iK0sAx1NK+BlERi6wBtX8/MMNJmGWSucW qsnI/5PVQPcDqdvqu2iuJYNQFMtv6NFW/YdiTTEFgHuDm7hr3Cte73kujbwz2vHt1J/o 4q75lQIV09ilRoHk2NlPXLtYkKII8G1xn/ndjdHhk0Jvg7WS7x/nZe+/9JFPRRjLyate Zh0WlCJtvnaTTcr7K3F/SR7S4ZxBgz1ZbCIVqRt08VqrNRDNZRv0IKmyG9M7y7B2IIQc 9txYjAUBi/XklEt4YSa+a+/vz7kwv2vH2eYCFOnwo1CL+2LDMmW01BITZzXcO9IBZO04 ddXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=5DxTW9PtZZ3mSeHNjENoa9rON7DMLH0EzOwcicSWPsU=; b=Gc5zRnpO0A4g04R2qxp6o1omj0KpJceSIW6Nsk11yeDNnPF45/VyQA3bqkb8bOCs2R ccwFl/Y8vgmEeWbnerTqQ2ngXZku1IBcf+LPU4Znm6WcoTQaIODGh7A7jzSwAIaKlqlK +WAEp9Cd6XrHhdu+8bajTn9eNxIdvatbQeXm/pYw0rXcmox1c5omOpG2xcke58i+vnwK 3yMHcZzqEMjw1Hro4nw5PUlTfj8jKFq4D8p6/UGMx+SUVRgzyYQSzBPZ5RWS/lKlEsR7 M9X4H7j0ap+WQWDmYKt4yodsiKgI4q0Ds4wl9kEU1gpIVlhc9F1X/UnKkPR5dL88r5L1 0UuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=WJGzChcY; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si5490427pgp.273.2019.04.04.03.18.42; Thu, 04 Apr 2019 03:18:57 -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=@amazon.com header.s=amazon201209 header.b=WJGzChcY; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729157AbfDDKRz (ORCPT + 99 others); Thu, 4 Apr 2019 06:17:55 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:52463 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728663AbfDDKRz (ORCPT ); Thu, 4 Apr 2019 06:17:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1554373074; x=1585909074; h=from:to:subject:date:message-id:in-reply-to:references: mime-version; bh=5DxTW9PtZZ3mSeHNjENoa9rON7DMLH0EzOwcicSWPsU=; b=WJGzChcYqUK/PcrSetPNOracMf1OLHFQH3+f1F9MuCcWZA/4eq9hbvDN mRY3B7hkJD0cFy4aZUsq9wE6P7nSy5xD4ZbSL9yvtAKxj1bzZvzN8aGGn arbBOfzw1y7D4mafKTeWxPWbNmBLybrZx7bSuQdht/YJqKhVqk0t0KBUw 8=; X-IronPort-AV: E=Sophos;i="5.60,308,1549929600"; d="scan'208";a="797408673" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Apr 2019 10:17:24 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id x34AHICx010298 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 4 Apr 2019 10:17:21 GMT Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 4 Apr 2019 10:17:20 +0000 Received: from udc4a3e82dbc15a031435.hfa14.amazon.com (10.43.160.69) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 4 Apr 2019 10:17:14 +0000 From: Talel Shenhar To: , , , , , , , , , , , , Subject: [PATCH v2 1/2] dt-bindings: thermal: al-thermal: Add binding documentation Date: Thu, 4 Apr 2019 13:16:55 +0300 Message-ID: <1554373016-1442-2-git-send-email-talel@amazon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554373016-1442-1-git-send-email-talel@amazon.com> References: <1554373016-1442-1-git-send-email-talel@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.69] X-ClientProxiedBy: EX13D25UWC003.ant.amazon.com (10.43.162.129) To EX13D01EUB001.ant.amazon.com (10.43.166.194) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 { + polling-delay-passive = <250>; + polling-delay = <1000>; + thermal-sensors = <&thermal 0>; + trips { + thermalz0_crit { + temperature = <105000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + }; + }; + -- 2.7.4