Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5678238yba; Thu, 11 Apr 2019 03:27:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxuzwujpbEeasLY9s48/drAze4d0lq41HLKb57v3+uZW169en/FFW5UXUr/W3sER8gDAAjt X-Received: by 2002:a62:524e:: with SMTP id g75mr48111118pfb.106.1554978468397; Thu, 11 Apr 2019 03:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554978468; cv=none; d=google.com; s=arc-20160816; b=x5Q+DtGNE6CixrlLWgEyAXZRpu8NtFk4q1Ag1b/Rnt/JE3V11mmwc4asNZKj/f+klD +VpEoTjTBgWs9blAmUoQGF1jFLgn4fEGvQLpw9S+6E5QTeuzNIWm12guhG7cwioFbqpD vYB/AC8BFEmHhTliM2E/++grmWC06dw7Mf6/pmNhKay/4z2logabg+KunTMQNjtMCFfR 2g5Bj9LODK9Y5axQkZleOnJK9p6x7CXryKj1hz0o0QBFyue84RECUWgbONJhcHVV18a0 gIq3CIWQnlegZVktUEbd44rvDBqflWZwuf3Ikyl7cpc8i5C1UEW7o+8lBfGUiOG6Pmw2 zIpw== 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=ewHfeHaZGCcbtoMonZP3Mqcm8V5hUOP6oD7ibYxYroA=; b=0HBbbgQ4WZfnJYASeI3fF+uyN6ZwvX6FWhL/yeQMWxjmkITTs+gC7lKfbw0/0D1Z8p aAIgn1vPsyJHgD4ZOEv07q97HQ5HVEjslVu25xTCppG0QD4C/2SDGYv4+NxGoHwTt8Sk b78XR90qEj5BMqDohmd7kcZfU0W5Rg9X4IaNrI+insqQv+ME+Sli4XrTNqtFM/VjRu4w rSMryBfYKkd/D9ADgpXWcht+P1gc6/6jPkga5yqMoIVB/KlEDDTB1VyBdax4/Pegsdd9 6EF3TOAxSvAfTTpz7W2mU1ycgchM7NHkdnGTE8Zj0mCcfkblwj9yoHvZdWpyiNJwdN0i iXpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Rr0akxD4; 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 e1si33926222pgf.254.2019.04.11.03.27.31; Thu, 11 Apr 2019 03:27:48 -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=Rr0akxD4; 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 S1726646AbfDKKZb (ORCPT + 99 others); Thu, 11 Apr 2019 06:25:31 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:35858 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbfDKKZb (ORCPT ); Thu, 11 Apr 2019 06:25:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1554978330; x=1586514330; h=from:to:subject:date:message-id:in-reply-to:references: mime-version; bh=ewHfeHaZGCcbtoMonZP3Mqcm8V5hUOP6oD7ibYxYroA=; b=Rr0akxD4UUAkqlE3p/T3rLar8fpbC2UGeo+ES2OPrrcGJQIZSSr5RGTn XPwROryxnDWu/VrlL/YNi/olk7Do8L95zld6oeG03njZZ0enBzJTTaYqp kPihzVegZgOrPGrCQ5g/89eX8EuM2ZOoieyRMLMPRqdGPVE91Kw3Jn3f+ Q=; X-IronPort-AV: E=Sophos;i="5.60,337,1549929600"; d="scan'208";a="793572855" Received: from sea3-co-svc-lb6-vlan2.sea.amazon.com (HELO email-inbound-relay-1d-37fd6b3d.us-east-1.amazon.com) ([10.47.22.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Apr 2019 10:23:31 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1d-37fd6b3d.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id x3BAN9PI109976 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 11 Apr 2019 10:23:12 GMT Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 11 Apr 2019 10:23:11 +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, 11 Apr 2019 10:23:04 +0000 From: Talel Shenhar To: , , , , , , , , , , , , Subject: [PATCH v3 1/2] dt-bindings: thermal: al-thermal: Add binding documentation Date: Thu, 11 Apr 2019 13:22:47 +0300 Message-ID: <1554978168-17369-2-git-send-email-talel@amazon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554978168-17369-1-git-send-email-talel@amazon.com> References: <1554978168-17369-1-git-send-email-talel@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.69] X-ClientProxiedBy: EX13D15UWB001.ant.amazon.com (10.43.161.254) 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 Reviewed-by: Rob Herring --- .../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..703979d --- /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 { + critical { + temperature = <105000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + }; + }; + -- 2.7.4