From: Talel Shenhar <talel@amazon.com> To: <talel@amazon.com>, <robh@kernel.org>, <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: [PATCH v3 1/2] dt-bindings: thermal: al-thermal: Add binding documentation Date: Thu, 11 Apr 2019 13:22:47 +0300 [thread overview] Message-ID: <1554978168-17369-2-git-send-email-talel@amazon.com> (raw) In-Reply-To: <1554978168-17369-1-git-send-email-talel@amazon.com> Add thermal binding documentation for Amazon's Annapurna Labs Thermal Sensor. Signed-off-by: Talel Shenhar <talel@amazon.com> Reviewed-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Rob Herring <robh@kernel.org> --- .../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
WARNING: multiple messages have this Message-ID (diff)
From: Talel Shenhar <talel@amazon.com> To: talel@amazon.com, robh@kernel.org, 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: [PATCH v3 1/2] dt-bindings: thermal: al-thermal: Add binding documentation Date: Thu, 11 Apr 2019 13:22:47 +0300 [thread overview] Message-ID: <1554978168-17369-2-git-send-email-talel@amazon.com> (raw) In-Reply-To: <1554978168-17369-1-git-send-email-talel@amazon.com> Add thermal binding documentation for Amazon's Annapurna Labs Thermal Sensor. Signed-off-by: Talel Shenhar <talel@amazon.com> Reviewed-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Rob Herring <robh@kernel.org> --- .../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
next prev parent reply other threads:[~2019-04-11 10:25 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-04-11 10:22 [PATCH v3 0/2] Amazon's Annapurna Labs Thermal Sensor Driver Talel Shenhar 2019-04-11 10:22 ` Talel Shenhar 2019-04-11 10:22 ` Talel Shenhar [this message] 2019-04-11 10:22 ` [PATCH v3 1/2] dt-bindings: thermal: al-thermal: Add binding documentation Talel Shenhar 2019-04-11 10:22 ` [PATCH v3 2/2] thermal: Introduce Amazon's Annapurna Labs Thermal Driver Talel Shenhar 2019-04-11 10:22 ` Talel Shenhar 2019-04-12 12:32 ` Daniel Lezcano
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1554978168-17369-2-git-send-email-talel@amazon.com \ --to=talel@amazon.com \ --cc=devicetree@vger.kernel.org \ --cc=dwmw@amazon.co.uk \ --cc=edubezval@gmail.com \ --cc=hanochu@amazon.com \ --cc=hhhawa@amazon.com \ --cc=jonnyc@amazon.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=robh@kernel.org \ --cc=ronenk@amazon.com \ --cc=rui.zhang@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.