diff --git a/qcom/sdxkova-idp-cpe.dtsi b/qcom/sdxkova-idp-cpe.dtsi index 9df4770a..1985a918 100644 --- a/qcom/sdxkova-idp-cpe.dtsi +++ b/qcom/sdxkova-idp-cpe.dtsi @@ -2,3 +2,5 @@ /* * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */ + +#include "sdxkova-pmic-overlay.dtsi" diff --git a/qcom/sdxkova-idp-mbb.dtsi b/qcom/sdxkova-idp-mbb.dtsi index 9df4770a..1985a918 100644 --- a/qcom/sdxkova-idp-mbb.dtsi +++ b/qcom/sdxkova-idp-mbb.dtsi @@ -2,3 +2,5 @@ /* * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */ + +#include "sdxkova-pmic-overlay.dtsi" diff --git a/qcom/sdxkova-pmic-overlay.dtsi b/qcom/sdxkova-pmic-overlay.dtsi new file mode 100644 index 00000000..43b0d889 --- /dev/null +++ b/qcom/sdxkova-pmic-overlay.dtsi @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include + +/ { + 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>; + }; +};