* Adam Ford <aford173@xxxxxxxxx> [170119 14:36]: > On Thu, Jan 19, 2017 at 3:44 PM, Tony Lindgren <tony@xxxxxxxxxxx> wrote: > > > > Yeah that's possible. Maybe the recent cpufreq patches for am335x > > can be used to read the hardware information? > > > Tony - Can you point me to those patches? I know we're looking for > feedback from Nishanth, but if you can point me to the am335x patches, > I'd like to see what was being done. It's the "[PATCH v4 0/4] cpufreq: Introduce TI CPUFreq/OPP Driver" thread. > I managed to find the register to read the max speed in the DM3730 TRM > (it's not listed in the 3630 version). On a DM3730, If we read address > 0x4800244C and bit 9 is set, it is a 1 GHz processor, otherwise it's > 800 MHz. I don't know if the 3630 is the same, but maybe someone from > TI can confirm or someone in the community with a 3630 board. > > In my head I was thinking that when calculating the frequency ceiling, > we'd compare it to a value based on bit 9 if the CPU family was a > 36xx/37xx. If something was already done, I can copy that concept > instead. Well I think that cpufreq driver thread above is doing similar things. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html