mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stanislav Jakubek <stano.jakubek@gmail.com>
To: Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] dt-bindings: hwmon: ti,tmp108: document V+ supply, add short description
Date: Sun, 16 Jun 2024 21:40:27 +0200	[thread overview]
Message-ID: <Zm8/qxGc8fvi/tuE@standask-GA-A55M-S2HP> (raw)

TMP108 is powered by its V+ supply, document it.
While at it, add a short description with a link to its datasheets.

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
Not entirely sure of the "v+-supply" name, but the datasheet only ever
refers to it as "V+" or simply as the "supply voltage".
Only other name I've seen is in the schematic for the msm8226-based
motorola-falcon smartphone, where it's called "V_POS".

 .../devicetree/bindings/hwmon/ti,tmp108.yaml          | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml
index 8b5307c875ff..71d3b51d24d1 100644
--- a/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml
+++ b/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml
@@ -9,6 +9,14 @@ title: TMP108 temperature sensor
 maintainers:
   - Krzysztof Kozlowski <krzk@kernel.org>
 
+description: |
+  The TMP108 is a digital-output temperature sensor with a
+  dynamically-programmable limit window, and under- and overtemperature
+  alert functions.
+
+  Datasheets:
+    https://www.ti.com/product/TMP108
+
 properties:
   compatible:
     enum:
@@ -24,6 +32,8 @@ properties:
   "#thermal-sensor-cells":
     const: 0
 
+  v+-supply: true
+
 required:
   - compatible
   - reg
@@ -45,6 +55,7 @@ examples:
             interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
             pinctrl-names = "default";
             pinctrl-0 = <&tmp_alrt>;
+            v+-supply = <&supply>;
             #thermal-sensor-cells = <0>;
         };
     };
-- 
2.34.1


             reply	other threads:[~2024-06-16 19:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-16 19:40 Stanislav Jakubek [this message]
2024-06-16 20:43 ` Guenter Roeck
2024-06-17  5:09   ` Stanislav Jakubek
2024-06-17  6:16     ` Krzysztof Kozlowski

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=Zm8/qxGc8fvi/tuE@standask-GA-A55M-S2HP \
    --to=stano.jakubek@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh@kernel.org \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®