Skip to content

Commit ce5b5be

Browse files
tokyovigilantevireshk
authored andcommitted
cpufreq: sun50i: add Allwinner H700 speed bin
Support for the Allwinner H618, H618 and H700 was added to the sun50i cpufreq-nvmem driver recently [1] however at the time some operating points supported by the H700 (1.008, 1.032 and 1.512 GHz) and in use by vendor BSPs were found to be unstable during testing, so the H700 speed bin and the 1.032 GHz OPP were not included in the mainline driver. Retesting with kernel 6.10rc2 (which carries additional fixes for the driver) now shows stable operation with these points. Add the H700 speed bin to the driver. Reviewed-by: Andre Przywara <[email protected]> Signed-off-by: Ryan Walklin <[email protected]> -- [1] https://lore.kernel.org/linux-sunxi/[email protected] Signed-off-by: Viresh Kumar <[email protected]>
1 parent 90e4ed6 commit ce5b5be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/cpufreq/sun50i-cpufreq-nvmem.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ static u32 sun50i_h616_efuse_xlate(u32 speedbin)
9191
case 0x5d00:
9292
value = 0;
9393
break;
94+
case 0x6c00:
95+
value = 5;
96+
break;
9497
default:
9598
pr_warn("sun50i-cpufreq-nvmem: unknown speed bin 0x%x, using default bin 0\n",
9699
speedbin & 0xffff);

0 commit comments

Comments
 (0)