Re: [PATCH v2 1/2] arm64: dts: mediatek: cherry: Describe CPU supplies

From: Nícolas F. R. A. Prado
Date: Fri Mar 01 2024 - 09:29:45 EST


+CC Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>

As he told me he was experiencing the hangs fixed in this series too.

On Wed, Jan 10, 2024 at 11:23:01AM -0300, Nícolas F. R. A. Prado wrote:
> Describe in each CPU node the regulator supplying it.
>
> Fixes: 260c04d425eb ("arm64: dts: mediatek: cherry: Enable MT6315 regulators on SPMI bus")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>
>
> ---
>
> Changes in v2:
> - Moved supplies to CPU nodes
> - Added fixes tag
>
> .../boot/dts/mediatek/mt8195-cherry.dtsi | 32 +++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi
> index 3c6079edda19..1f3a6755f155 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi
> @@ -264,6 +264,38 @@ &auxadc {
> status = "okay";
> };
>
> +&cpu0 {
> + cpu-supply = <&mt6359_vcore_buck_reg>;
> +};
> +
> +&cpu1 {
> + cpu-supply = <&mt6359_vcore_buck_reg>;
> +};
> +
> +&cpu2 {
> + cpu-supply = <&mt6359_vcore_buck_reg>;
> +};
> +
> +&cpu3 {
> + cpu-supply = <&mt6359_vcore_buck_reg>;
> +};
> +
> +&cpu4 {
> + cpu-supply = <&mt6315_6_vbuck1>;
> +};
> +
> +&cpu5 {
> + cpu-supply = <&mt6315_6_vbuck1>;
> +};
> +
> +&cpu6 {
> + cpu-supply = <&mt6315_6_vbuck1>;
> +};
> +
> +&cpu7 {
> + cpu-supply = <&mt6315_6_vbuck1>;
> +};
> +
> &dp_intf0 {
> status = "okay";
>
> --
> 2.43.0
>