Skip to content

Commit 0271b61

Browse files
babnskidatabroonie
authored andcommitted
dt-bindings: mfd: dlg,da9063: document voltage monitoring
Document that the da9063 only provides under- *and* over-voltage monitoring in one, and therefore requires both to be configured with the same severity and value. Add an example for clarification. Signed-off-by: Benjamin Bara <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Adam Ward <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b8717a8 commit 0271b61

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

Documentation/devicetree/bindings/mfd/dlg,da9063.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ maintainers:
1212
description: |
1313
For device-tree bindings of other sub-modules refer to the binding documents
1414
under the respective sub-system directories.
15+
Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special
16+
handling: First, when GP_FB2 is used, it must be ensured that there is no
17+
moment where all voltage monitors are disabled. Next, as da9063 only supports
18+
UV *and* OV monitoring, both must be set to the same severity and value
19+
(0: disable, 1: enable).
1520
1621
properties:
1722
compatible:
@@ -121,11 +126,19 @@ examples:
121126
regulator-max-microamp = <2000000>;
122127
regulator-boot-on;
123128
};
129+
ldo6 {
130+
/* UNUSED */
131+
regulator-name = "LDO_6";
132+
regulator-uv-protection-microvolt = <0>;
133+
regulator-ov-protection-microvolt = <0>;
134+
};
124135
ldo11 {
125136
regulator-name = "LDO_11";
126137
regulator-min-microvolt = <900000>;
127-
regulator-max-microvolt = <3600000>;
128-
regulator-boot-on;
138+
regulator-max-microvolt = <900000>;
139+
regulator-uv-protection-microvolt = <1>;
140+
regulator-ov-protection-microvolt = <1>;
141+
regulator-always-on;
129142
};
130143
};
131144
};

0 commit comments

Comments
 (0)