* [PATCH v2] dt-bindings: hwmon: ti,tmp108: document V+ supply, add short description
@ 2024-06-17 16:36 Stanislav Jakubek
2024-06-18 7:43 ` Krzysztof Kozlowski
2024-06-18 15:13 ` Guenter Roeck
0 siblings, 2 replies; 3+ messages in thread
From: Stanislav Jakubek @ 2024-06-17 16:36 UTC (permalink / raw)
To: Jean Delvare, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-hwmon, devicetree, linux-kernel
TMP108 is powered by its V+ supply, document it. The property is called
"vcc-supply" since the plus sign (+) is not an expected character.
While at it, add a short description with a link to its datasheets.
Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
Changes in V2:
- rename "v+-supply" to "vcc-supply"
- add a short description clarifying that vcc is actually V+
- update commit message to reflect this change
.../devicetree/bindings/hwmon/ti,tmp108.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml
index 8b5307c875ff..0ad10d43fac0 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,9 @@ properties:
"#thermal-sensor-cells":
const: 0
+ vcc-supply:
+ description: phandle to the regulator that provides the V+ supply
+
required:
- compatible
- reg
@@ -45,6 +56,7 @@ examples:
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&tmp_alrt>;
+ vcc-supply = <&supply>;
#thermal-sensor-cells = <0>;
};
};
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v2] dt-bindings: hwmon: ti,tmp108: document V+ supply, add short description
2024-06-17 16:36 [PATCH v2] dt-bindings: hwmon: ti,tmp108: document V+ supply, add short description Stanislav Jakubek
@ 2024-06-18 7:43 ` Krzysztof Kozlowski
2024-06-18 15:13 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-18 7:43 UTC (permalink / raw)
To: Stanislav Jakubek, Jean Delvare, Guenter Roeck, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-hwmon, devicetree, linux-kernel
On 17/06/2024 18:36, Stanislav Jakubek wrote:
> TMP108 is powered by its V+ supply, document it. The property is called
> "vcc-supply" since the plus sign (+) is not an expected character.
> While at it, add a short description with a link to its datasheets.
>
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] dt-bindings: hwmon: ti,tmp108: document V+ supply, add short description
2024-06-17 16:36 [PATCH v2] dt-bindings: hwmon: ti,tmp108: document V+ supply, add short description Stanislav Jakubek
2024-06-18 7:43 ` Krzysztof Kozlowski
@ 2024-06-18 15:13 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2024-06-18 15:13 UTC (permalink / raw)
To: Stanislav Jakubek
Cc: Jean Delvare, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-hwmon, devicetree, linux-kernel
On Mon, Jun 17, 2024 at 06:36:29PM +0200, Stanislav Jakubek wrote:
> TMP108 is powered by its V+ supply, document it. The property is called
> "vcc-supply" since the plus sign (+) is not an expected character.
> While at it, add a short description with a link to its datasheets.
>
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-18 15:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 16:36 [PATCH v2] dt-bindings: hwmon: ti,tmp108: document V+ supply, add short description Stanislav Jakubek
2024-06-18 7:43 ` Krzysztof Kozlowski
2024-06-18 15:13 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox