]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sdm845-starqltechn: add slpi support
authorDzmitry Sankouski <dsankouski@gmail.com>
Fri, 12 Sep 2025 18:56:36 +0000 (21:56 +0300)
committerBjorn Andersson <andersson@kernel.org>
Tue, 16 Sep 2025 15:25:57 +0000 (10:25 -0500)
Add support for Qualcomm sensor low power island.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Link: https://lore.kernel.org/r/20250912-starqltechn_slpi-v2-2-5ca5ddbbe7b4@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts

index 32ce666fc57e8b890170b6e2754799b0d739dcaf..75a53f0bbebd07c13be348810644768a811c87a6 100644 (file)
                };
        };
 
+       slpi_regulator: slpi-regulator {
+               compatible = "regulator-fixed";
+               pinctrl-0 = <&slpi_ldo_active_state>;
+               pinctrl-names = "default";
+
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-name = "slpi";
+
+               enable-active-high;
+               gpio = <&tlmm 8 GPIO_ACTIVE_HIGH>;
+       };
+
        vib_regulator: gpio-regulator {
                compatible = "regulator-fixed";
 
        status = "okay";
 };
 
+&slpi_pas {
+       firmware-name = "qcom/sdm845/starqltechn/slpi.mbn";
+       cx-supply = <&slpi_regulator>;
+
+       status = "okay";
+};
+
 &usb_1 {
        status = "okay";
 };
                bias-pull-up;
        };
 
+       slpi_ldo_active_state: slpi-ldo-active-state {
+               pins = "gpio8";
+               function = "gpio";
+               drive-strength = <2>;
+               bias-disable;
+       };
+
        touch_irq_state: touch-irq-state {
                pins = "gpio120";
                function = "gpio";