Hi,
After updated kernel to 2.6.37_TI816XPSP_04.00.00.10, I found some smartflex related files such as:
smartreflex.c, smartreflex-class2.c and smartreflex-class3.c. Some questions about this feature.
1. what is the relationship among these files?
Per my understanding, smartreflex.c is the basic file for SmartReflex technology, class2 and class3 are the
specific implemention for different chips. Am I wrong?
2. which file should be used in c6a816x?
I checked Kconfig(located in plat-omap) and Makefile(in mach-omap2), and got the related infos.
config OMAP_SMARTREFLEX
config OMAP_SMARTREFLEX_CLASS3
depends on OMAP_SMARTREFLEX && TWL4030_CORE
config TI816X_SMARTREFLEX
config SMARTREFLEX_CLASS2
depends on TI816X_SMARTREFLEX
obj-$(CONFIG_OMAP_SMARTREFLEX) += sr_device.o
smartreflex.o
obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o
obj-$(CONFIG_SMARTREFLEX_CLASS2) += smartreflex-class2.o
I think it should be smartreflex-class2, after enable related options and compile kernel, only smartreflex-class2.o was found,
so here, I suspect smartreflex-class3.c has relationship with smartreflex.c, and the single file(smartreflex-class2.c) can support
SmartReflex feature in c6a816x evm platform, is it right?
3. Is there any pmic chip which needed by SmartReflex in c6a816x evm platform?
I got the info "class 2 operations need: a) voltage setting using i2c1/spi or other interface layer - depending on PMIC involved"
from the URL http://elinux.org/OMAP_Power_Management/SmartReflex.
4. For SmartReflex, what is the situation in c6a816x evm platform? is it implemented in the platform? and how to test SmartReflex?
Thanks for your time & Best Regards,
Gary