mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-06 17:35:20 +02:00
arm64: dts: mediatek: mt8186: Fix supported-hw mask for GPU OPPs
[ Upstream commit2317d018b8
] The speedbin eFuse reads a value 'x' from 0 to 7 and, in order to make that compatible with opp-supported-hw, it gets post processed as BIT(x). Change all of the 0x30 supported-hw to 0x20 to avoid getting duplicate OPPs for speedbin 4, and also change all of the 0x8 to 0xcf because speedbins different from 4 and 5 do support 900MHz, 950MHz, 1000MHz with the higher voltage of 850mV, 900mV, 950mV respectively. Fixes:f38ea593ad
("arm64: dts: mediatek: mt8186: Wire up GPU voltage/frequency scaling") Link: https://lore.kernel.org/r/20240725072243.173104-1-angelogioacchino.delregno@collabora.com Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
8d81cd1a04
commit
bd7fa63736
|
@ -731,7 +731,7 @@
|
||||||
opp-900000000-3 {
|
opp-900000000-3 {
|
||||||
opp-hz = /bits/ 64 <900000000>;
|
opp-hz = /bits/ 64 <900000000>;
|
||||||
opp-microvolt = <850000>;
|
opp-microvolt = <850000>;
|
||||||
opp-supported-hw = <0x8>;
|
opp-supported-hw = <0xcf>;
|
||||||
};
|
};
|
||||||
|
|
||||||
opp-900000000-4 {
|
opp-900000000-4 {
|
||||||
|
@ -743,13 +743,13 @@
|
||||||
opp-900000000-5 {
|
opp-900000000-5 {
|
||||||
opp-hz = /bits/ 64 <900000000>;
|
opp-hz = /bits/ 64 <900000000>;
|
||||||
opp-microvolt = <825000>;
|
opp-microvolt = <825000>;
|
||||||
opp-supported-hw = <0x30>;
|
opp-supported-hw = <0x20>;
|
||||||
};
|
};
|
||||||
|
|
||||||
opp-950000000-3 {
|
opp-950000000-3 {
|
||||||
opp-hz = /bits/ 64 <950000000>;
|
opp-hz = /bits/ 64 <950000000>;
|
||||||
opp-microvolt = <900000>;
|
opp-microvolt = <900000>;
|
||||||
opp-supported-hw = <0x8>;
|
opp-supported-hw = <0xcf>;
|
||||||
};
|
};
|
||||||
|
|
||||||
opp-950000000-4 {
|
opp-950000000-4 {
|
||||||
|
@ -761,13 +761,13 @@
|
||||||
opp-950000000-5 {
|
opp-950000000-5 {
|
||||||
opp-hz = /bits/ 64 <950000000>;
|
opp-hz = /bits/ 64 <950000000>;
|
||||||
opp-microvolt = <850000>;
|
opp-microvolt = <850000>;
|
||||||
opp-supported-hw = <0x30>;
|
opp-supported-hw = <0x20>;
|
||||||
};
|
};
|
||||||
|
|
||||||
opp-1000000000-3 {
|
opp-1000000000-3 {
|
||||||
opp-hz = /bits/ 64 <1000000000>;
|
opp-hz = /bits/ 64 <1000000000>;
|
||||||
opp-microvolt = <950000>;
|
opp-microvolt = <950000>;
|
||||||
opp-supported-hw = <0x8>;
|
opp-supported-hw = <0xcf>;
|
||||||
};
|
};
|
||||||
|
|
||||||
opp-1000000000-4 {
|
opp-1000000000-4 {
|
||||||
|
@ -779,7 +779,7 @@
|
||||||
opp-1000000000-5 {
|
opp-1000000000-5 {
|
||||||
opp-hz = /bits/ 64 <1000000000>;
|
opp-hz = /bits/ 64 <1000000000>;
|
||||||
opp-microvolt = <875000>;
|
opp-microvolt = <875000>;
|
||||||
opp-supported-hw = <0x30>;
|
opp-supported-hw = <0x20>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user