dev: gcdb: add pwm backlight configuration in GCDB
Add PWM backlight configuration in GCDB data structure.
Change-Id: If5629c86612beff71c78415b77e5d4b48be6e244
diff --git a/dev/gcdb/display/include/panel.h b/dev/gcdb/display/include/panel.h
index 88cbcb6..6c52890 100755
--- a/dev/gcdb/display/include/panel.h
+++ b/dev/gcdb/display/include/panel.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -152,7 +152,6 @@
BL_PWM = 0,
BL_WLED,
BL_DCS,
- BL_LPG,
};
typedef struct panel_reset_sequence {
@@ -168,6 +167,8 @@
uint16_t bl_step;
uint16_t bl_pmic_controltype;
char *bl_pmic_model;
+ uint16_t bl_pwm_gpio_num;
+ uint16_t bl_lpg_chan_id;
};
#endif /*_PANEL_H_ */
diff --git a/dev/gcdb/display/include/panel_jdi_qhd_dualdsi_video.h b/dev/gcdb/display/include/panel_jdi_qhd_dualdsi_video.h
index cd0301c..73a3c46 100644
--- a/dev/gcdb/display/include/panel_jdi_qhd_dualdsi_video.h
+++ b/dev/gcdb/display/include/panel_jdi_qhd_dualdsi_video.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -220,7 +220,7 @@
/* Backlight setting */
/*---------------------------------------------------------------------------*/
static struct backlight jdi_qhd_dualdsi_video_backlight = {
- 0, 1, 4095, 100, 0, 0
+ 0, 1, 4095, 100, 0, 0, 7, 3
};
#endif /*_PANEL_JDI_QHD_DUALDSI_VIDEO_H_*/