Skip to content

Commit 2fc032e

Browse files
jbrun3tgroeck
authored andcommitted
dt-bindings: hwmon: pmbus: add ti tps25990 support
Add DT binding for the Texas Instruments TPS25990 eFuse Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Jerome Brunet <[email protected]> Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent 509c3a3 commit 2fc032e

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
5+
$id: http://devicetree.org/schemas/hwmon/pmbus/ti,tps25990.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Texas Instruments TPS25990 Stackable eFuse
9+
10+
maintainers:
11+
- Jerome Brunet <[email protected]>
12+
13+
description:
14+
The TI TPS25990 is an integrated, high-current circuit
15+
protection and power management device with PMBUS interface
16+
17+
properties:
18+
compatible:
19+
const: ti,tps25990
20+
21+
reg:
22+
maxItems: 1
23+
24+
ti,rimon-micro-ohms:
25+
description:
26+
micro Ohms value of the resistance installed between the Imon pin
27+
and the ground reference.
28+
29+
interrupts:
30+
description: PMBUS SMB Alert Interrupt.
31+
maxItems: 1
32+
33+
regulators:
34+
type: object
35+
description:
36+
list of regulators provided by this controller.
37+
38+
properties:
39+
vout:
40+
$ref: /schemas/regulator/regulator.yaml#
41+
type: object
42+
unevaluatedProperties: false
43+
44+
gpdac1:
45+
$ref: /schemas/regulator/regulator.yaml#
46+
type: object
47+
unevaluatedProperties: false
48+
49+
gpdac2:
50+
$ref: /schemas/regulator/regulator.yaml#
51+
type: object
52+
unevaluatedProperties: false
53+
additionalProperties: false
54+
55+
required:
56+
- compatible
57+
- reg
58+
- ti,rimon-micro-ohms
59+
60+
additionalProperties: false
61+
62+
examples:
63+
- |
64+
#include <dt-bindings/interrupt-controller/irq.h>
65+
i2c {
66+
#address-cells = <1>;
67+
#size-cells = <0>;
68+
69+
hw-monitor@46 {
70+
compatible = "ti,tps25990";
71+
reg = <0x46>;
72+
73+
interrupt-parent = <&gpio>;
74+
interrupts = <42 IRQ_TYPE_LEVEL_LOW>;
75+
ti,rimon-micro-ohms = <1370000000>;
76+
77+
regulators {
78+
cpu0_vout: vout {
79+
regulator-name = "main_cpu0";
80+
};
81+
};
82+
};
83+
};

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22879,6 +22879,12 @@ F: include/linux/dma/k3-udma-glue.h
2287922879
F: include/linux/dma/ti-cppi5.h
2288022880
X: drivers/dma/ti/cppi41.c
2288122881

22882+
TEXAS INSTRUMENTS TPS25990 HARDWARE MONITOR DRIVER
22883+
M: Jerome Brunet <[email protected]>
22884+
22885+
S: Maintained
22886+
F: Documentation/devicetree/bindings/hwmon/pmbus/ti,tps25990.yaml
22887+
2288222888
TEXAS INSTRUMENTS TPS23861 PoE PSE DRIVER
2288322889
M: Robert Marko <[email protected]>
2288422890
M: Luka Perkov <[email protected]>

0 commit comments

Comments
 (0)