315 //pwm need display sof 316 mt_disp_update(0, 0, CFG_DISPLAY_WIDTH, CFG_DISPLAY_HEIGHT); 317 #endif 318 #ifdef MTK_BATLOWV_NO_PANEL_ON_EARLY 319 } 320 #endif 321 322 #ifdef LK_PROFILING 323 dprintf(INFO, "[PROFILE] --- backlight takes %d ms --- \n", (int)get_timer(...
;//dts中对应的背光模式,在K39tv1_64_bsp.dts中led6:led@6{compatible="mediatek,lcd-backlight";led_mode=<5>;//对应的背光模式MT65XX_LED_MODE_CUST_BLS_PWMdata=<1>;pwm_config=<02000>;}; KERNEL阶段: L:\work3\project\kernel-4.4\drivers\misc\mediatek\video\mt6739\videox\ mtkfb.c:modul...
[RGU] EMI_DCS_SUCCESS 0 [RGU] DVFSRC_SUCCESS 0 [DDR Reserve] ddr reserve mode not be enabled yet [RGU] mtk_wdt_mode_config mode value=34, tmp:22000034 [RGU] mtk_wdt_mode_config mode value=7D, tmp:2200007D [RGU] g_rgu_status: 0 (0x0) [DOE_ENV]get_env apwdt_en ...
unsignedint(*get_pwm) (unsignedintdivider);void(*set_backlight_mode) (unsignedintmode);/*///*/int(*adjust_fps) (void*cmdq,intfps);--调节刷新率,一般刷新率为60Hz/*///ESD_RECOVERY///*/unsignedint(*esd_check) (void);--ESD检测相关,开启该功能,系统会周期性检测lcm寄存器状态,状态NG则会r...
43、y:200Duty:80PWM3Level:5Frequency:200Duty:100EINT开启中断(EnableInterrupt)?Charger0充电器Cable0电缆SendKey0Earphone0耳机ADC模拟数字转换器(Analogue-DigitalConverter)VBAT3.79V电池电压BTemp23.86C电池温度(会有小幅波动)VAUX1.80V辅助电压(会有小幅波动)Currentn/a电流VChgr0.70V充电电压(会有小幅波动)Se...
(GPO out) PWM PWM1 KPLED_PWM Keypad PWM control PWM2 GPO1_BLEN_PWM Main LCD backlight PWM control IRQ GPIO21 reserve reserve EINT0 EINT0_EARPHONE Earphone plug-in interrupt EINT1 EINT1_CHRDET Charger plug-in interrupt EINT2 EINT2_CLAMDET Clam shell open/close interrupt ADC ADC0 ADC0...
修改分频参数方法,修改config_data里面的第二个参数: {“lcd-backlight”, MT65XX_LED_MODE_CUST_BLS_PWM, (int)disp_bls_set_backlight,{0, 1, 0, 0, 0}} //设置div=1 2. 修改clock freq: 在alps\mediatek\platform\mt6582\kernel\drivers\dispsys\ddp_bls.c文件的 disp_bls_init和disp_bls_...
android7.1+msm8937背光控制 由msm8952_pwm_backlight_ctrl()来配置3.2 kernel部分我们知道背光控制方式,由我们采用的显示屏背光电路来决定,比如我们是PWM,对应设备树 3.2.1 软件流程3.2.1.1... PM8937的MPP PMI8937的MPP,我们采用的是PMI8937_MPP22.Android背光控制类型 背光控制方法有PWM、WLED和DCS这几种, WLED...
backlight related function */ void (*set_backlight) (unsigned int level); --背光相关函数 void (*set_backlight_cmdq) (void *handle, unsigned int level); void (*set_pwm) (unsigned int divider); unsigned int (*get_pwm) (unsigned int divider); void (*set_backlight_mode) (unsigned ...
unsignedint(*get_pwm) (unsignedintdivider);void(*set_backlight_mode) (unsignedintmode);/*///*/int(*adjust_fps) (void*cmdq,intfps);--调节刷新率,一般刷新率为60Hz/*///ESD_RECOVERY///*/unsignedint(*esd_check) (void);--ESD检测相关,开启该功能,系统会周期性检测lcm寄存器状态,状态NG则会r...