Subject: [PATCH] arm64: dts: mediatek: mt8186: Change gpu speedbin nvmem cell name

MT8186's GPU speedbin value must be interpreted, or the value will not
be meaningful.
Use the correct "gpu-speedbin" nvmem cell name for the GPU speedbin to
allow triggering the cell info fixup handler, hence feeding the right
speedbin number to the users.

Fixes: 263d2fd02afc ("arm64: dts: mediatek: mt8186: Add GPU speed bin NVMEM cells")
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt8186.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
index af6f6687de35..bfc3669141f2 100644
--- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
@@ -1659,7 +1659,7 @@ efuse: efuse@11cb0000 {
#address-cells = <1>;
#size-cells = <1>;

- gpu_speedbin: gpu-speed-bin@59c {
+ gpu_speedbin: gpu-speedbin@59c {
reg = <0x59c 0x4>;
bits = <0 3>;
};
--
2.42.0


2023-10-06 03:14:59

by Chen-Yu Tsai

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: mediatek: mt8186: Change gpu speedbin nvmem cell name

On Thu, Oct 5, 2023 at 11:12 PM AngeloGioacchino Del Regno
<[email protected]> wrote:
>
> MT8186's GPU speedbin value must be interpreted, or the value will not
> be meaningful.
> Use the correct "gpu-speedbin" nvmem cell name for the GPU speedbin to
> allow triggering the cell info fixup handler, hence feeding the right
> speedbin number to the users.
>
> Fixes: 263d2fd02afc ("arm64: dts: mediatek: mt8186: Add GPU speed bin NVMEM cells")
> Signed-off-by: AngeloGioacchino Del Regno <[email protected]>

Reviewed-by: Chen-Yu Tsai <[email protected]>