Add "barebox,allow-dummy-supply" documentation.
Signed-off-by: Andrej Picej <[email protected]>
---
.../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@0 {
+ label = "barebox";
+ reg = <0x0 0xe0000>;
+ };
+
+ partition@e0000 {
+ label = "barebox-environment";
+ reg = <0xe0000 0x20000>;
+ };
+ };
--
2.25.1
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox