AMOLED 屏 配置问题
1 首先你要在屏的.c 文件 增加
static struct LCM_setting_table lcm_backlight_level_setting[] = {
{0x51, 1, {0xFF}},
{REGFLAG_END_OF_TABLE, 0x00, {}}
};
static void lcm_setbacklight(unsigned int level)
{
// Refresh value of backlight level.
lcm_backlight_level_setting[0].para_list[0] = level;
push_table(lcm_backlight_level_setting, sizeof(lcm_backlight_level_setting) / sizeof(struct LCM_setting_table), 1);
}
LCM_DRIVER nt35565_3d_lcm_drv =
{
.name = " nt35565_3d",
.set_util_funcs = lcm_set_util_funcs,
.get_params = lcm_get_params,
.init = lcm_init,
.suspend = lcm_suspend,
.resume = lcm_resume,
.update = lcm_update,
//.compare_id = lcm_compare_id,
.set_backlight = lcm_setbacklight, //lhh added
};
2 cust_led.c
mediatek/custom/project_name/kernel/leds/mt65xx
{"lcd-backlight", MT65XX_LED_MODE_CUST, (int)Cust_SetBacklight,{0}},
3 cust_led.c mediatek/custom/project_name/uboot/
{"lcd-backlight", MT65XX_LED_MODE_CUST, (int)DISP_SetBacklight,{0}},
OLED无需控制背光啊!
刚好手边有一块AMOLED,测试了一下,无法调整
我的屏也是0x51调亮度的,平台是MT6589
不知是否还有其他方法?
AMOLED需要玻璃厂提供技术支持,可以找屏厂联系沟通,目前AMOLED这块的资料没有公开,控制在玻璃厂手里
这屏并不是从玻璃厂拿到的,所以问不到
不知是否有大神可以指导一下思路
谢谢
这个问题很简单的
可以请大神指导一下吗?
谢谢
没人回复,继续推
还希望有大神能帮忙
没人回复,继续推
还希望有大神能帮忙
顶了再LOOK
没人回复,继续推
还希望有大神能帮忙
加我QQ 5-2-4-7-0-3-9-4-8 帮你说明一下吧,方便点