ARM: dts: msm: Add support for Multi SD tray regulators for ravelin

Add rpmh-regulator devices for vrm.sd and vrm.px2 RPMh PBS resources.
These can be used to enable and disable SD card supply regulators L24B
and L28B via PBS. They are needed to support multi-card trays.

Change-Id: I62c9c86e9e294217aabeaf9255fea31764bf400d
This commit is contained in:
Rakesh Kota
2022-12-06 14:43:32 +05:30
committed by Gerrit - the friendly Code Review server
parent 1d3bf9c896
commit 3ccbe25389

View File

@@ -783,4 +783,34 @@
qcom,set = <RPMH_REGULATOR_SET_ALL>;
};
};
rpmh-regulator-vrmsd {
compatible = "qcom,rpmh-pbs-regulator";
qcom,resource-name = "vrm.sd";
L24B_PBS:
pm6450_l24_pbs: regulator-pm6450-l24-pbs {
regulator-name = "pm6450_l24_pbs";
qcom,set = <RPMH_REGULATOR_SET_ALL>;
/*
* min/max voltages are voted on L24B and this regulator will
* only be voted for enabling/disabling conditions.
*/
};
};
rpmh-regulator-vrmpx2 {
compatible = "qcom,rpmh-pbs-regulator";
qcom,resource-name = "vrm.px2";
L28B_PBS:
pm6450_l28_pbs: regulator-pm6450-l28-pbs {
regulator-name = "pm6450_l28_pbs";
qcom,set = <RPMH_REGULATOR_SET_ALL>;
/*
* min/max voltages are voted on L28B and this regulator will
* only be voted for enabling/disabling conditions.
*/
};
};
};