1 #ifndef _CUST_LEDS_DEF_H
2 #define _CUST_LEDS_DEF_H
4 //#define CUST_LEDS_BACKLIGHT_PMIC_PARA /* parallel */
5 //#define CUST_LEDS_BACKLIGHT_PMIC_SERI /* series */
12 //MT65XX_LED_MODE_CUST,
13 MT65XX_LED_MODE_CUST_LCM
,
14 MT65XX_LED_MODE_CUST_BLS_PWM
19 MT65XX_LED_PMIC_LCD_ISINK
=0,
20 MT65XX_LED_PMIC_NLED_ISINK0
,
21 MT65XX_LED_PMIC_NLED_ISINK1
,
22 MT65XX_LED_PMIC_NLED_ISINK2
,
23 MT65XX_LED_PMIC_NLED_ISINK3
33 typedef int (*cust_brightness_set
)(int level
, int div
);
34 typedef int (*cust_set_brightness
)(int level
);
37 * name : must the same as lights HAL
42 * PMIC: enum mt65xx_led_pmic
43 * CUST: custom set brightness function pointer
45 struct cust_mt65xx_led
{
47 enum mt65xx_led_mode mode
;
49 struct PWM_config config_data
;
52 extern struct cust_mt65xx_led
*get_cust_led_list(void);
53 #endif /* _CUST_LEDS_DEF_H */