summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAndrej Picej <andrej.picej@norik.com>2021-11-19 10:54:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-25 08:29:58 +0100
commit5777d0e351433da7deaa8b39ebc1671dfe8645f0 (patch)
treed87824d84a050ab16d24a45f0d4de81096c71daf /Documentation
parent3d6db8d02c7de484757bf9ce9f8765b70cd965d8 (diff)
downloadbarebox-5777d0e351433da7deaa8b39ebc1671dfe8645f0.tar.gz
barebox-5777d0e351433da7deaa8b39ebc1671dfe8645f0.tar.xz
documentation: regulator: add allow-dummy-supply
Add "barebox,allow-dummy-supply" property documentation. Signed-off-by: Andrej Picej <andrej.picej@norik.com> Link: https://lore.barebox.org/20211119095429.1905473-7-andrej.picej@norik.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/regulator/regulator.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/regulator.rst b/Documentation/devicetree/bindings/regulator/regulator.rst
new file mode 100644
index 0000000000..9afc020acd
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/regulator.rst
@@ -0,0 +1,35 @@
+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 regulator nodes, whose drivers are not yet
+ supported. It will rely on regulator reset defaults and use of dummy regulator
+ instead.
+
+Examples:
+
+.. code-block:: none
+
+ pmic@58 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pmic>;
+ compatible = "dlg,da9063";
+ reg = <0x58>;
+
+ regulators {
+ barebox,allow-dummy-supply;
+
+ vddcore_reg: bcore1 {
+ regulator-min-microvolt = <730000>;
+ regulator-max-microvolt = <1380000>;
+ };
+
+ vddsoc_reg: bcore2 {
+ regulator-min-microvolt = <730000>;
+ regulator-max-microvolt = <1380000>;
+ };
+ }
+ }