[PATCH 5/5] documentation: regulator: add dummy-supply
Andrej Picej
andrej.picej at norik.com
Mon Nov 15 05:02:08 PST 2021
Add "barebox,allow-dummy-supply" documentation.
Signed-off-by: Andrej Picej <andrej.picej at norik.com>
---
.../bindings/regulator/regulator.rst | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/regulator.rst
diff --git a/Documentation/devicetree/bindings/regulator/regulator.rst b/Documentation/devicetree/bindings/regulator/regulator.rst
new file mode 100644
index 000000000..4c7f70295
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/regulator.rst
@@ -0,0 +1,31 @@
+Voltage/Current Regulators
+==========================
+
+In addition to the upstream bindings, another property is added:
+
+Optional properties:
+- ``barebox,allow-dummy-supply`` : A property to allow usage of dummy power
+ regulator. This can be added to nodes, whose power is supplied by regulators,
+ which drivers are not yet supported. It will rely on regulator reset default
+ and use dummy regulator instead.
+
+Examples:
+
+.. code-block:: none
+
+ &usdhc3 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ barebox,allow-dummy-supply;
+
+ partition at 0 {
+ label = "barebox";
+ reg = <0x0 0xe0000>;
+ };
+
+ partition at e0000 {
+ label = "barebox-environment";
+ reg = <0xe0000 0x20000>;
+ };
+ };
--
2.25.1
More information about the barebox
mailing list