Hi, Belisko Marek <marek.belisko@xxxxxxxxx> writes: > Hi Tony, > > I'm using custom am33xx board where mpu voltage can be changed through > gpio regulator on 4.1 (latest stable) kernel. I defined gpio-regulator > node and also operating-points to DT. Gpio regulator seems to be > working fine but during probing cpufreq-dt I get error: > failed to init cpufreq table: -61 > > I did small investigation and seem that dev_pm_opp_init_cpufreq_table > fails at first condition dev_pm_opp_get_opp_count <= 0 and this is > because opp_list is empty. So it seems that any opp for am33xx aren't > defined if I'm getting it right. I did look to mach-omap2/opp3xxx_data > but there is nothing am33xx specific. It is known problem or exist > some patches around to fix that? Many thanks. OPP initialization is not in mainline yet, there are some out-of-tree patches which TI has been working on. If you want to use them, have a look at TI's vendor kernel at [1] [1] http://git.ti.com/ti-linux-kernel/ti-linux-kernel/blobs/ti-lsk-linux-4.1.y/arch/arm/mach-omap2/opp33xx_data.c -- balbi
Attachment:
signature.asc
Description: PGP signature