Skip to contentSkip to conversation

dt-bindings: mfd: Convert dlg,da9052-i2c.txt to yaml format

PATCH Applied Frank Li 3 participants 3 messages Nov 14, 2025 – Nov 20, 2025

Subsystems (4)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: mfd: Convert dlg,da9052-i2c.txt to yaml format

Convert dlg,da9052-i2c.txt to yaml format.
Additional changes:
- compatible string fallback to dlg,da9052 to align existing dts files.
- Add interrupts property.
- Add ref to /schemas/spi/spi-peripheral-props.yaml#
- Add dlg,da9053bc.

Remove dlg,da9053 from trivial-devices.yaml.

---
change in v2
- dont' fallback to dlg,da9052

---
 .../devicetree/bindings/mfd/da9052-i2c.txt    | 67 --------------
 .../devicetree/bindings/mfd/dlg,da9052.yaml   | 89 +++++++++++++++++++
 2 files changed, 89 insertions(+), 67 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mfd/da9052-i2c.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/dlg,da9052.yaml
Documentation/devicetree/bindings/mfd/da9052-i2c.txt deleted +0 -67
deleted file mode 100644
index 07c69c0c6624c..0000000000000
@@ -1,67 +0,0 @@
-* Dialog DA9052/53 Power Management Integrated Circuit (PMIC)
-
-Required properties:
-- compatible : Should be "dlg,da9052", "dlg,da9053-aa",
-			 "dlg,da9053-ab", or "dlg,da9053-bb"
-
-Optional properties:
-- dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen
-                    input lines are used as general purpose analogue
-					input.
-- tsiref-supply: Phandle to the regulator, which provides the reference
-                 voltage for the TSIREF pin. Must be provided when the
-			     touchscreen pins are used for ADC purposes.
-
-Sub-nodes:
-- regulators : Contain the regulator nodes. The DA9052/53 regulators are
-  bound using their names as listed below:
-
-    buck1     : regulator BUCK CORE
-    buck2     : regulator BUCK PRO
-    buck3     : regulator BUCK MEM
-    buck4     : regulator BUCK PERI
-    ldo1      : regulator LDO1
-    ldo2      : regulator LDO2
-    ldo3      : regulator LDO3
-    ldo4      : regulator LDO4
-    ldo5      : regulator LDO5
-    ldo6      : regulator LDO6
-    ldo7      : regulator LDO7
-    ldo8      : regulator LDO8
-    ldo9      : regulator LDO9
-    ldo10     : regulator LDO10
-
-  The bindings details of individual regulator device can be found in:
-  Documentation/devicetree/bindings/regulator/regulator.txt
-
-Examples:
-
-i2c@63fc8000 { /* I2C1 */
-
-	pmic: dialog@48 {
-		compatible = "dlg,da9053-aa";
-		reg = <0x48>;
-
-		regulators {
-			buck1 {
-				regulator-min-microvolt = <500000>;
-				regulator-max-microvolt = <2075000>;
-			};
-
-			buck2 {
-				regulator-min-microvolt = <500000>;
-				regulator-max-microvolt = <2075000>;
-			};
-
-			buck3 {
-				regulator-min-microvolt = <925000>;
-				regulator-max-microvolt = <2500000>;
-			};
-
-			buck4 {
-				regulator-min-microvolt = <925000>;
-				regulator-max-microvolt = <2500000>;
-			};
-		};
-	};
-};
Documentation/devicetree/bindings/mfd/dlg,da9052.yaml new file +89 -0

89 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 13 lines · Frank Li

Convert dlg,da9052-i2c.txt to yaml format.
Additional changes:
- compatible string fallback to dlg,da9052 to align existing dts files.
- Add interrupts property.
- Add ref to /schemas/spi/spi-peripheral-props.yaml#
- Add dlg,da9053bc.

Remove dlg,da9053 from trivial-devices.yaml.

---
change in v2
- dont' fallback to dlg,da9052

Quoted 7 lines
---
 .../devicetree/bindings/mfd/da9052-i2c.txt    | 67 --------------
 .../devicetree/bindings/mfd/dlg,da9052.yaml   | 89 +++++++++++++++++++
 2 files changed, 89 insertions(+), 67 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mfd/da9052-i2c.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/dlg,da9052.yaml
maintainer Applied
#2 lore raw

Re: (subset) [PATCH v2 1/1] dt-bindings: mfd: Convert dlg,da9052-i2c.txt to yaml format

In reply to Frank Li
Quoted 8 lines · Frank Li

Convert dlg,da9052-i2c.txt to yaml format.
Additional changes:
- compatible string fallback to dlg,da9052 to align existing dts files.
- Add interrupts property.
- Add ref to /schemas/spi/spi-peripheral-props.yaml#
- Add dlg,da9053bc.

[...]

Applied, thanks!

[1/1] dt-bindings: mfd: Convert dlg,da9052-i2c.txt to yaml format

      commit: d2b240f9a180ebd63477d0534633f22e16fe41ad

--
Lee Jones [李琼斯]