Message ID | 20241204105249.3544114-4-quic_ziyuzhan@quicinc.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | pci: qcom: Add PCIe setting current load support | expand |
On Wed, Dec 04, 2024 at 06:52:49PM +0800, Ziyue Zhang wrote: > Add vdda-pll-max-microamp for vdda-pll-supply. The value of this property > is from the power grid guide. It is the maximum current the regulator can > provide. The property will be parsed by PCIe PHY driver to set the current > load. > > Signed-off-by: Ziyue Zhang <quic_ziyuzhan@quicinc.com> > --- > arch/arm64/boot/dts/qcom/qcs615-ride.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts > index 18f131ae9e07..6d93ef0d886b 100644 > --- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts > +++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts > @@ -215,6 +215,7 @@ &pcie { > &pcie_phy { > vdda-phy-supply = <&vreg_l5a>; > vdda-pll-supply = <&vreg_l12a>; > + vdda-pll-max-microamp = <165000>; > Min uV of this regulator is 1800000: https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/tree/arch/arm64/boot/dts/qcom/qcs615-ride.dts?h=for-next#n151 How can you set 165000? - Mani
在 12/11/2024 2:26 PM, Manivannan Sadhasivam 写道: > On Wed, Dec 04, 2024 at 06:52:49PM +0800, Ziyue Zhang wrote: >> Add vdda-pll-max-microamp for vdda-pll-supply. The value of this property >> is from the power grid guide. It is the maximum current the regulator can >> provide. The property will be parsed by PCIe PHY driver to set the current >> load. >> >> Signed-off-by: Ziyue Zhang <quic_ziyuzhan@quicinc.com> >> --- >> arch/arm64/boot/dts/qcom/qcs615-ride.dts | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts >> index 18f131ae9e07..6d93ef0d886b 100644 >> --- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts >> +++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts >> @@ -215,6 +215,7 @@ &pcie { >> &pcie_phy { >> vdda-phy-supply = <&vreg_l5a>; >> vdda-pll-supply = <&vreg_l12a>; >> + vdda-pll-max-microamp = <165000>; >> > Min uV of this regulator is 1800000: > https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/tree/arch/arm64/boot/dts/qcom/qcs615-ride.dts?h=for-next#n151 > > How can you set 165000? > > - Mani Hi Mani the 165000 cames from the power grid guide, and it is 165000uA not uV BRs Ziyue >
diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts index 18f131ae9e07..6d93ef0d886b 100644 --- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts +++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts @@ -215,6 +215,7 @@ &pcie { &pcie_phy { vdda-phy-supply = <&vreg_l5a>; vdda-pll-supply = <&vreg_l12a>; + vdda-pll-max-microamp = <165000>; status = "okay"; };
Add vdda-pll-max-microamp for vdda-pll-supply. The value of this property is from the power grid guide. It is the maximum current the regulator can provide. The property will be parsed by PCIe PHY driver to set the current load. Signed-off-by: Ziyue Zhang <quic_ziyuzhan@quicinc.com> --- arch/arm64/boot/dts/qcom/qcs615-ride.dts | 1 + 1 file changed, 1 insertion(+)