]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: samsung,coreprimevelte: add PMIC
authorKarel Balej <balejk@matfyz.cz>
Thu, 28 Aug 2025 09:49:02 +0000 (11:49 +0200)
committerDuje Mihanović <duje@dujemihanovic.xyz>
Mon, 13 Oct 2025 10:11:34 +0000 (12:11 +0200)
Bind power management chip to the samsung,coreprimevelte smartphone.
This enables support for onkey and RTC as well as for regulators two of
which are explicitly bound here to the SD card.

Signed-off-by: Karel Balej <balejk@matfyz.cz>
Reviewed-by: Duje Mihanović <duje@dujemihanovic.xyz>
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts

index 47a4f01a7077bfafe2cc50d0e59c37685ec9c2e9..54131b0e5617ec911e481f9ff1533f72e51ef389 100644 (file)
 
 &twsi2 {
        status = "okay";
+
+       pmic@30 {
+               compatible = "marvell,88pm886-a1";
+               reg = <0x30>;
+               interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+               wakeup-source;
+
+               regulators {
+                       ldo6: ldo6 {
+                               regulator-boot-on;
+                               regulator-min-microvolt = <1200000>;
+                               regulator-max-microvolt = <3300000>;
+                       };
+
+                       ldo14: ldo14 {
+                               regulator-boot-on;
+                               regulator-min-microvolt = <1200000>;
+                               regulator-max-microvolt = <3300000>;
+                       };
+               };
+       };
 };
 
 &twsi3 {
        cd-inverted;
        bus-width = <4>;
        wp-inverted;
+       vmmc-supply = <&ldo14>;
+       vqmmc-supply = <&ldo6>;
 };