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>
This commit is contained in:
Jishnu Prakash
2024-08-01 12:37:57 +05:30
committed by Madhusudhan Sana
parent 7ed138f492
commit f024728173
3 changed files with 33 additions and 0 deletions

View File

@@ -2,3 +2,5 @@
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include "sdxkova-pmic-overlay.dtsi"

View File

@@ -2,3 +2,5 @@
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include "sdxkova-pmic-overlay.dtsi"

View File

@@ -0,0 +1,29 @@
// 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>;
};
};