devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: hwmon: add TI DC-DC converters
@ 2021-11-16 11:02 Krzysztof Kozlowski
  2021-11-29 22:05 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2021-11-16 11:02 UTC (permalink / raw)
  To: Guenter Roeck, Jean Delvare, linux-hwmon, linux-kernel,
	Rob Herring, Jonathan Cameron, devicetree
  Cc: Krzysztof Kozlowski, Vincent Pelletier

Few Texas Instruments DC-DC converters on PMBus like TPS544B20 do not
have bindings and are used only as hardware monitoring sensor.  These
devices are actually not trivial and can receive basic configuration
(e.g. power up mode, CNTL pin polarity, expected input voltage), however
devicetree support for configuration was never added.

Therefore in current state the devices are used only in read-only mode
and have trivial bindings, so document them to have basic dtschema
tests.

Cc: Vincent Pelletier <plr.vincent@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 Documentation/devicetree/bindings/trivial-devices.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 791079021f1b..3297a6480534 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -329,12 +329,19 @@ properties:
           - ti,tmp122
             # Digital Temperature Sensor
           - ti,tmp275
+            # TI DC-DC converter on PMBus
+          - ti,tps40400
             # TI Dual channel DCAP+ multiphase controller TPS53676 with AVSBus
           - ti,tps53676
             # TI Dual channel DCAP+ multiphase controller TPS53679
           - ti,tps53679
             # TI Dual channel DCAP+ multiphase controller TPS53688
           - ti,tps53688
+            # TI DC-DC converters on PMBus
+          - ti,tps544b20
+          - ti,tps544b25
+          - ti,tps544c20
+          - ti,tps544c25
             # Winbond/Nuvoton H/W Monitor
           - winbond,w83793
             # i2c trusted platform module (TPM)
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: hwmon: add TI DC-DC converters
  2021-11-16 11:02 [PATCH] dt-bindings: hwmon: add TI DC-DC converters Krzysztof Kozlowski
@ 2021-11-29 22:05 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-11-29 22:05 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: linux-kernel, Jonathan Cameron, devicetree, Rob Herring,
	Vincent Pelletier, Guenter Roeck, Jean Delvare, linux-hwmon

On Tue, 16 Nov 2021 12:02:07 +0100, Krzysztof Kozlowski wrote:
> Few Texas Instruments DC-DC converters on PMBus like TPS544B20 do not
> have bindings and are used only as hardware monitoring sensor.  These
> devices are actually not trivial and can receive basic configuration
> (e.g. power up mode, CNTL pin polarity, expected input voltage), however
> devicetree support for configuration was never added.
> 
> Therefore in current state the devices are used only in read-only mode
> and have trivial bindings, so document them to have basic dtschema
> tests.
> 
> Cc: Vincent Pelletier <plr.vincent@gmail.com>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
>  Documentation/devicetree/bindings/trivial-devices.yaml | 7 +++++++
>  1 file changed, 7 insertions(+)
> 

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-29 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 11:02 [PATCH] dt-bindings: hwmon: add TI DC-DC converters Krzysztof Kozlowski
2021-11-29 22:05 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).