cpufreq: frequency scaling spec in DT node
From: Mason <hidden>
Date: 2017-07-11 11:56:03
Also in:
linux-pm
On 11/07/2017 13:09, Mason wrote:
On 11/07/2017 12:25, Viresh Kumar wrote:quoted
On 11-07-17, 11:27, Mason wrote:quoted
On 29/06/2017 16:34, Viresh Kumar wrote:quoted
On 29-06-17, 13:41, Mason wrote:quoted
I'm on SoC B, where nominal/max freq is expected to be 1206 MHz. So the OPPs in the DT are: operating-points = <1206000 0 603000 0 402000 0 241200 0 134000 0>; *But* FW changed the max freq behind my back, to 1215 MHz.What does this line mean really? Where is this frequency changed? In the OPP table in DT?I apologize for being unclear. What I meant is that the bootloader originally set the max frequency to 1206 MHz. The OPP table in DTS was written based on that value. Later, someone changed the bootloader code to set a slightly higher max frequency. When I flashed the new bootloader on my board, the OPP table no longer matches the actual frequency. But I am not notified when bootloader authors change max frequencies, which is why I wrote "changed the max freq behind my back". Again, sorry for the confusing statements. (The bootloader is not DT-aware, so it leaves the DT untouched.)
I just realized that there's another unstated assumption. Since the bootloader is not DT-aware, the DTB is, in fact, appended to the kernel image. This is why it's possible to have "mismatching" kernel and bootloader. Regards.