Files
android_kernel_samsung_sm87…/qcom/sdxkova-pmic-overlay.dtsi
Jishnu Prakash f024728173 ARM: dts: msm: add SD/eMMC regulator devices for sdxkova
Add regulator device for the external gpio-controlled regulator
which powers the SD Card and eMMC on sdxkova boards.

Change-Id: I0b07342dda4d07e51ebcd63a2ca52f7a77ddc590
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-08-29 22:20:27 -07:00

30 lines
807 B
Plaintext

// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <dt-bindings/gpio/gpio.h>
/ {
vreg_sdc1_sd_ls_vccb: sdc1-sd-ls-gpio-regulator {
compatible = "regulator-gpio";
regulator-name = "sdc1_sd_ls_vccb";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2850000>;
enable-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>;
gpios = <&tlmm 84 GPIO_ACTIVE_HIGH>;
states = <1800000 0>,
<2850000 1>;
startup-delay-us = <5000>;
enable-active-high;
};
vreg_sdc1_emmc_sd_vdd: sdc1-emmc-sd-fixed-regulator {
compatible = "qcom,stub-regulator";
regulator-name = "sdc1_emmc_sd_vdd";
regulator-min-microvolt = <2950000>;
regulator-max-microvolt = <2950000>;
parent-supply = <&vreg_sdc1_sd_ls_vccb>;
};
};