Skip to contentSkip to conversation

dt-bindings: regulator: Convert TPS65023 to DT schema

PATCH In review Eduard Bostina 3 participants 4 messages Aug 15 – Aug 31

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: regulator: Convert TPS65023 to DT schema

Convert the Texas Instruments TPS65023 family of PMICs bindings to DT schema.

---
 .../bindings/regulator/ti,tps65023.yaml       | 90 +++++++++++++++++++
 .../bindings/regulator/tps65023.txt           | 60 -------------
 2 files changed, 90 insertions(+), 60 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/ti,tps65023.yaml
 delete mode 100644 Documentation/devicetree/bindings/regulator/tps65023.txt
Documentation/devicetree/bindings/regulator/ti,tps65023.yaml new file +90 -0
new file mode 100644
index 000000000000..928698595f52
@@ -0,0 +1,90 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/ti,tps65023.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments TPS65023 Regulator
+
+maintainers:
+  - Eduard Bostina <[email protected]>
+
+properties:
+  compatible:
+    enum:
+      - ti,tps65020
+      - ti,tps65021
+      - ti,tps65023
+
+  reg:
+    maxItems: 1
+
+  regulators:
+    type: object
+    description: >
+      List of child nodes that specify the regulator initialization data.
+      Must be named after their hardware counterparts: VDCDC[1-3] and LDO[1-2].
+
+    patternProperties:
+      "^(VDCDC[1-3]|LDO[1-2])$":
+        type: object
+        $ref: regulator.yaml#
+        unevaluatedProperties: false
+
+    additionalProperties: false
+
+required:
+  - compatible
+  - reg
+  - regulators
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        tps65023@48 {
+            compatible = "ti,tps65023";
+            reg = <0x48>;
+
+            regulators {
+                VDCDC1 {
+                    regulator-name = "vdd_mpu";
+                    regulator-always-on;
+                    regulator-min-microvolt = <1200000>;
+                    regulator-max-microvolt = <1200000>;
+                };
+
+                VDCDC2 {
+                    regulator-name = "vdd_core";
+                    regulator-always-on;
+                    regulator-min-microvolt = <3300000>;
+                    regulator-max-microvolt = <3300000>;
+                };
+
+                VDCDC3 {
+                    regulator-name = "vdd_io";
+                    regulator-always-on;
+                    regulator-min-microvolt = <1800000>;
+                    regulator-max-microvolt = <1800000>;
+                };
+
+                LDO1 {
+                    regulator-name = "vdd_usb18";
+                    regulator-always-on;
+                    regulator-min-microvolt = <1800000>;
+                    regulator-max-microvolt = <1800000>;
+                };
+
+                LDO2 {
+                    regulator-name = "vdd_usb33";
+                    regulator-always-on;
+                    regulator-min-microvolt = <3300000>;
+                    regulator-max-microvolt = <3300000>;
+                };
+            };
+        };
+    };
Documentation/devicetree/bindings/regulator/tps65023.txt deleted +0 -60

60 lines not on this page · raw message

Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 2 lines · Eduard Bostina

Convert the Texas Instruments TPS65023 family of PMICs bindings to DT schema.

Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look at what existing commits in the area you're changing are doing and make sure your subject lines visually resemble what they're doing. There's no need to resubmit to fix this alone.

Reviewed-by on v1 1/1
#2 lore raw
In reply to Eduard Bostina
Quoted 10 lines · Eduard Bostina

Convert the Texas Instruments TPS65023 family of PMICs bindings to DT schema.

---
 .../bindings/regulator/ti,tps65023.yaml       | 90 +++++++++++++++++++
 .../bindings/regulator/tps65023.txt           | 60 -------------
 2 files changed, 90 insertions(+), 60 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/ti,tps65023.yaml
 delete mode 100644 Documentation/devicetree/bindings/regulator/tps65023.txt

Best regards,
Krzysztof

maintainer
#3 lore raw
In reply to Eduard Bostina
Quoted 1 line · Eduard Bostina

dt-bindings: regulator: Convert TPS65023 to DT schema

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.4

Thanks!

[1/1] dt-bindings: regulator: Convert TPS65023 to DT schema

      https://git.kernel.org/broonie/regulator/c/7a89ec1b4fcc

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark