Skip to content

Commit 28cbc2d

Browse files
Fabobroonie
authored andcommitted
regulator: mt6315-regulator: fix invalid allowed mode
In the binding example, the regulator mode 4 is shown as a valid mode, but the driver actually only support mode 0 to 2: This generates an error in dmesg when copy/pasting the binding example: [ 0.306080] vbuck1: invalid regulator-allowed-modes element 4 [ 0.307290] vbuck2: invalid regulator-allowed-modes element 4 This commit fixes this error by removing the invalid mode from the examples. Fixes: 977fb5b ("regulator: document binding for MT6315 regulator") Signed-off-by: Fabien Parent <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 68d6c84 commit 28cbc2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ examples:
5555
regulator-min-microvolt = <300000>;
5656
regulator-max-microvolt = <1193750>;
5757
regulator-enable-ramp-delay = <256>;
58-
regulator-allowed-modes = <0 1 2 4>;
58+
regulator-allowed-modes = <0 1 2>;
5959
};
6060
6161
vbuck3 {
6262
regulator-compatible = "vbuck3";
6363
regulator-min-microvolt = <300000>;
6464
regulator-max-microvolt = <1193750>;
6565
regulator-enable-ramp-delay = <256>;
66-
regulator-allowed-modes = <0 1 2 4>;
66+
regulator-allowed-modes = <0 1 2>;
6767
};
6868
};
6969
};

0 commit comments

Comments
 (0)