Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa625017 authored by Ram Prakash Gupta's avatar Ram Prakash Gupta
Browse files

ARM: dts: msm: Vote vccq2 via vccq to support GKI

vccq2 is supplied by eLDO and this eLDO is controlled via
L9B regulator which only supports max 1.2V but since for
gki build QTI flag is disabled vote for vccq2 regulator
is taking default values from driver and not from dt. Hence
use vccq to vote on L9B to enable eLDO for UFS2.2 devices
since L9B is common regulator as both vccq & vccq2.

Change-Id: Icf8c9f169d693a6dad608c16baa9ed9666905430
parent 1cf41137
Loading
Loading
Loading
Loading
+15 −9
Original line number Diff line number Diff line
@@ -70,19 +70,25 @@
	vcc-low-voltage-sup;
	vcc-max-microamp = <800000>;

	vccq-supply = <&L9B>;
	vccq-max-microamp = <900000>;
	vccq-min-microamp = <10000>;

	/*
	 * Vccq2 voltage level should be 1.8V but in case of yupik
	 * Yupik target supports both UFS2.2 & UFS3.1, here
	 * vccq2 is supplied via eLDO, and that is controlled via
	 * L9B which supports a max voltage of 1.2V, but eLDO would
	 * supply 1.8V.
	 * supply 1.8V. and same L9B acts as vccq voltage for UFS3.1
	 * devices.
	 * Here L9B can max support for 1.2V but UFS GKI driver code
	 * votes for 1.8V, which is leading to failure from pmic
	 * regulator.
	 *
	 * Now since vccq and control of eLDO are common that is L9B
	 * we can use vccq vote as control of eLDO for vccq2.
	 * Hence vccq entries shall be used for both type of UFS
	 * devices only. And vccq entries should not be changed/removed
	 * for any design alteration.
	 */
	vccq2-supply = <&L9B>;
	vccq2-voltage-level = <1200000 1200000>;
	vccq2-max-microamp = <800000>;
	vccq-supply = <&L9B>;
	vccq-max-microamp = <900000>;
	vccq-min-microamp = <10000>;

	qcom,vddp-ref-clk-supply = <&L9B>;
	qcom,vddp-ref-clk-max-microamp = <100>;
+15 −9
Original line number Diff line number Diff line
@@ -71,19 +71,25 @@
	vcc-low-voltage-sup;
	vcc-max-microamp = <800000>;

	vccq-supply = <&L9B>;
	vccq-max-microamp = <900000>;
	vccq-min-microamp = <10000>;

	/*
	 * Vccq2 voltage level should be 1.8V but in case of yupik
	 * Yupik target supports both UFS2.2 & UFS3.1, here
	 * vccq2 is supplied via eLDO, and that is controlled via
	 * L9B which supports a max voltage of 1.2V, but eLDO would
	 * supply 1.8V.
	 * supply 1.8V. and same L9B acts as vccq voltage for UFS3.1
	 * devices.
	 * Here L9B can max support for 1.2V but UFS GKI driver code
	 * votes for 1.8V, which is leading to failure from pmic
	 * regulator.
	 *
	 * Now since vccq and control of eLDO are common that is L9B
	 * we can use vccq vote as control of eLDO for vccq2.
	 * Hence vccq entries shall be used for both type of UFS
	 * devices only. And vccq entries should not be changed/removed
	 * for any design alteration.
	 */
	vccq2-supply = <&L9B>;
	vccq2-voltage-level = <1200000 1200000>;
	vccq2-max-microamp = <800000>;
	vccq-supply = <&L9B>;
	vccq-max-microamp = <900000>;
	vccq-min-microamp = <10000>;

	qcom,vddp-ref-clk-supply = <&L9B>;
	qcom,vddp-ref-clk-max-microamp = <100>;
+15 −9
Original line number Diff line number Diff line
@@ -72,19 +72,25 @@
	vcc-low-voltage-sup;
	vcc-max-microamp = <800000>;

	vccq-supply = <&L9B>;
	vccq-max-microamp = <900000>;
	vccq-min-microamp = <10000>;

	/*
	 * Vccq2 voltage level should be 1.8V but in case of yupik
	 * Yupik target supports both UFS2.2 & UFS3.1, here
	 * vccq2 is supplied via eLDO, and that is controlled via
	 * L9B which supports a max voltage of 1.2V, but eLDO would
	 * supply 1.8V.
	 * supply 1.8V. and same L9B acts as vccq voltage for UFS3.1
	 * devices.
	 * Here L9B can max support for 1.2V but UFS GKI driver code
	 * votes for 1.8V, which is leading to failure from pmic
	 * regulator.
	 *
	 * Now since vccq and control of eLDO are common that is L9B
	 * we can use vccq vote as control of eLDO for vccq2.
	 * Hence vccq entries shall be used for both type of UFS
	 * devices only. And vccq entries should not be changed/removed
	 * for any design alteration.
	 */
	vccq2-supply = <&L9B>;
	vccq2-voltage-level = <1200000 1200000>;
	vccq2-max-microamp = <800000>;
	vccq-supply = <&L9B>;
	vccq-max-microamp = <900000>;
	vccq-min-microamp = <10000>;

	qcom,vddp-ref-clk-supply = <&L9B>;
	qcom,vddp-ref-clk-max-microamp = <100>;