]> git.dujemihanovic.xyz Git - linux.git/commitdiff
DONOTMERGE: dt-bindings: samsung,coreprimevelte: add PMIC
authorKarel Balej <balejk@matfyz.cz>
Mon, 25 Dec 2023 21:23:27 +0000 (22:23 +0100)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Sat, 20 Jan 2024 19:52:03 +0000 (20:52 +0100)
Be sure to double-check in particular the regulator voltages. For
instance the touchscreen range could maybe be wider.

arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts

index 04fb0566ed2bce3bc48884674232d0a4f8fe86a2..87b1b95b3570959c843f0a88b4a1ad5b3064b898 100644 (file)
 
 &twsi2 {
        status = "okay";
+
+       pmic@30 {
+               compatible = "marvell,88pm886-a1";
+               reg = <0x30>;
+               interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-parent = <&gic>;
+               interrupt-controller;
+               #interrupt-cells = <1>;
+
+               regulators {
+                       ldo2: ldo2 {
+                               regulator-min-microvolt = <3100000>;
+                               regulator-max-microvolt = <3300000>;
+                       };
+
+                       ldo15: ldo15 {
+                               regulator-min-microvolt = <3300000>;
+                               regulator-max-microvolt = <3300000>;
+                       };
+
+                       buck2: buck2 {
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <1800000>;
+                       };
+               };
+       };
 };
 
 &twsi3 {