diff mbox series

[2/6] dt-bindings: regulator: Nokia Tahvo/Betty ASIC Vcore regulator

Message ID 20211224214512.1583430-3-peter.vasil@gmail.com
State New
Headers show
Series None | expand

Commit Message

peter.vasil@gmail.com Dec. 24, 2021, 9:39 p.m. UTC
From: Peter Vasil <peter.vasil@gmail.com>

One of the functions of Tahvo/Betty ASIC MFD chip is a voltage regulator for
Vcore output, adjustable from 1.005V to 1.475V. On Nokia N8x0 Internet Tablet
devices, this controls power to the Epson S1D13745 framebuffer IC.
---
 .../nokia,tahvo-vcore-regulator.yaml          | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/nokia,tahvo-vcore-regulator.yaml

Comments

Tony Lindgren Feb. 3, 2022, 7:07 a.m. UTC | #1
* peter.vasil@gmail.com <peter.vasil@gmail.com> [211224 21:53]:
> From: Peter Vasil <peter.vasil@gmail.com>
> 
> One of the functions of Tahvo/Betty ASIC MFD chip is a voltage regulator for
> Vcore output, adjustable from 1.005V to 1.475V. On Nokia N8x0 Internet Tablet
> devices, this controls power to the Epson S1D13745 framebuffer IC.

Reviewed-by: Tony Lindgren <tony@atomide.com>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/regulator/nokia,tahvo-vcore-regulator.yaml b/Documentation/devicetree/bindings/regulator/nokia,tahvo-vcore-regulator.yaml
new file mode 100644
index 000000000000..5e1e98c32311
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/nokia,tahvo-vcore-regulator.yaml
@@ -0,0 +1,41 @@ 
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/nokia,tahvo-vcore-regulator.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nokia Tahvo/Betty ASIC Vcore regulator
+
+maintainers:
+  - Peter Vasil <peter.vasil@gmail.com>
+
+description: |
+  One of the functions of Tahvo/Betty ASIC MFD chip is a voltage regulator
+  for Vcore output, adjustable from 1.005V to 1.475V.
+  On Nokia N8x0 Internet Tablet devices, this controls power to the Epson
+  S1D13745 framebuffer IC.
+
+allOf:
+  - $ref: "regulator.yaml#"
+
+properties:
+  compatible:
+    const: nokia,tahvo-vcore-regulator
+
+required:
+  - compatible
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    tahvo {
+        tahvo_vcore {
+            compatible = "nokia,tahvo-vcore-regulator";
+            regulator-name = "tornado_vcore";
+            regulator-min-microvolt = <1500000>;
+            regulator-max-microvolt = <3000000>;
+            regulator-always-on;
+        };
+    };
+...