资料介绍
Android Lens driver porting V1Internal Use
Lens Driver Porting
Copyright MediaTek Inc. All rights reserved.
2011/04/15 KY Chen WCP2/OSS1/ME3
Internal Use
(1) Lens driver list:
alps\mediatek\custom\common\kernel
Add copy FM50AF.c ” to new xxx folder and rename to “XXX.c use the same FM50AF.h in “inc” folder folder name must be small letter
Internal Use
“fm50af” driver is used for such kind lens driver: (1) Step : 1024 (2) I2C id: 0x18 (3) Direct I2C control driver “sensordrive” driver is used for such kind lens driver: (1) Controlled by sensor (2) Control function will be built at sensor driver
Copyright MediaTek Inc. All rights reserved.
2011/12/14
2
In “XXX.c”
module_init(FM50AF_i2C_init); FM50AF_i2C_init(void) { platform_driver_register(&g_stFM50AF_Driver)
Internal Use
}
stati