Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/arch/arm/include/asm/imx-common/fbpanel.h b/arch/arm/include/asm/imx-common/fbpanel.h
- index bda2e07..a3eeddd 100644
- --- a/arch/arm/include/asm/imx-common/fbpanel.h
- +++ b/arch/arm/include/asm/imx-common/fbpanel.h
- @@ -853,6 +853,31 @@ void fbp_setup_display(const struct display_info_t *displays, int cnt);
- }\
- }
- +#define VD_CHIMEI_G104X1_L03(_mode, _detect, _bus, _addr) \
- +{\
- + .bus = _bus,\
- + .addr = _addr,\
- + .pixfmt = IPU_PIX_FMT_RGB24,\
- + .detect = _detect,\
- + .enable = fbp_enable_fb,\
- + .fbtype = FB_##_mode,\
- + .mode = {\
- + .name = "chimei-g104x1-l03-rgb24",\
- + .refresh = 60,\
- + .xres = 1024,\
- + .yres = 768,\
- + .pixclock = 1000000000000ULL/((1024+220+40+60)*(768+21+7+10)*60),\
- + .left_margin = 220,\
- + .right_margin = 40,\
- + .upper_margin = 21,\
- + .lower_margin = 7,\
- + .hsync_len = 60,\
- + .vsync_len = 10,\
- + .sync = FB_SYNC_EXT,\
- + .vmode = FB_VMODE_NONINTERLACED\
- + }\
- +}
- +
- #define VD_1024_600(_mode, _detect, _bus, _addr) \
- {\
- .bus = _bus,\
- diff --git a/board/boundary/dash/dash.c b/board/boundary/dash/dash.c
- index 25c10b8..1a8b0fa 100644
- --- a/board/boundary/dash/dash.c
- +++ b/board/boundary/dash/dash.c
- @@ -265,6 +265,7 @@ static const struct display_info_t displays[] = {
- VD_WXGA_J(LVDS, NULL, 0, 0x00),
- VD_WXGA(LVDS, NULL, 0, 0x00),
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- VD_WSVGA(LVDS, fbp_detect_i2c, 2, 0x38),
- };
- diff --git a/board/boundary/ioc/ioc.c b/board/boundary/ioc/ioc.c
- index ae3995d..b2fe921 100644
- --- a/board/boundary/ioc/ioc.c
- +++ b/board/boundary/ioc/ioc.c
- @@ -533,6 +533,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- /* fusion7 specific touchscreen */
- diff --git a/board/boundary/jlm/jlm.c b/board/boundary/jlm/jlm.c
- index 55e155a..cbbed0b 100644
- --- a/board/boundary/jlm/jlm.c
- +++ b/board/boundary/jlm/jlm.c
- @@ -457,6 +457,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- /* fusion7 specific touchscreen */
- diff --git a/board/boundary/nit6xlite/nit6xlite.c b/board/boundary/nit6xlite/nit6xlite.c
- index 07fea3d..3829cf5 100644
- --- a/board/boundary/nit6xlite/nit6xlite.c
- +++ b/board/boundary/nit6xlite/nit6xlite.c
- @@ -454,6 +454,7 @@ static const struct display_info_t displays[] = {
- VD_WSVGA(LVDS, NULL, 2, 0x38),
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- VD_SHARP_LQ101K1LY04(LVDS, NULL, 0, 0x00),
- diff --git a/board/boundary/nitrogen6_max/nitrogen6_max.c b/board/boundary/nitrogen6_max/nitrogen6_max.c
- index 794dc9f..97de838 100644
- --- a/board/boundary/nitrogen6_max/nitrogen6_max.c
- +++ b/board/boundary/nitrogen6_max/nitrogen6_max.c
- @@ -596,6 +596,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- VD_HANNSTAR(LVDS2, NULL, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- /* fusion7 specific touchscreen */
- diff --git a/board/boundary/nitrogen6_som2/nitrogen6_som2.c b/board/boundary/nitrogen6_som2/nitrogen6_som2.c
- index 8be4b6e..035a184 100644
- --- a/board/boundary/nitrogen6_som2/nitrogen6_som2.c
- +++ b/board/boundary/nitrogen6_som2/nitrogen6_som2.c
- @@ -685,6 +685,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- /* fusion7 specific touchscreen */
- diff --git a/board/boundary/nitrogen6_vm/nitrogen6_vm.c b/board/boundary/nitrogen6_vm/nitrogen6_vm.c
- index 6730039..6733072 100644
- --- a/board/boundary/nitrogen6_vm/nitrogen6_vm.c
- +++ b/board/boundary/nitrogen6_vm/nitrogen6_vm.c
- @@ -522,6 +522,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- VD_SHARP_LQ101K1LY04(LVDS, NULL, 0, 0x00),
- diff --git a/board/boundary/nitrogen6sx/nitrogen6sx.c b/board/boundary/nitrogen6sx/nitrogen6sx.c
- index bcc2ae4..7052f18 100644
- --- a/board/boundary/nitrogen6sx/nitrogen6sx.c
- +++ b/board/boundary/nitrogen6sx/nitrogen6sx.c
- @@ -703,6 +703,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- /* fusion7 specific touchscreen */
- diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c
- index 0455525..4414de7 100644
- --- a/board/boundary/nitrogen6x/nitrogen6x.c
- +++ b/board/boundary/nitrogen6x/nitrogen6x.c
- @@ -598,6 +598,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- /* fusion7 specific touchscreen */
- diff --git a/board/boundary/oc/oc.c b/board/boundary/oc/oc.c
- index 44ecae4..db7ea95 100644
- --- a/board/boundary/oc/oc.c
- +++ b/board/boundary/oc/oc.c
- @@ -377,6 +377,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_VGA(LVDS, NULL, 0, 0x00),
- VD_WXGA_J(LVDS, NULL, 0, 0x00),
- diff --git a/board/boundary/ta/ta.c b/board/boundary/ta/ta.c
- index cdbe6fa..0551b6e 100644
- --- a/board/boundary/ta/ta.c
- +++ b/board/boundary/ta/ta.c
- @@ -439,6 +439,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- };
- diff --git a/board/boundary/usd/usd.c b/board/boundary/usd/usd.c
- index c63cea8..4904d72 100644
- --- a/board/boundary/usd/usd.c
- +++ b/board/boundary/usd/usd.c
- @@ -554,6 +554,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- VD_LG9_7(LVDS, NULL, 2, 0x04),
- VD_SHARP_LQ101K1LY04(LVDS, NULL, 0, 0x00),
- diff --git a/board/boundary/utc/utc.c b/board/boundary/utc/utc.c
- index 8a5e144..e8722a6 100644
- --- a/board/boundary/utc/utc.c
- +++ b/board/boundary/utc/utc.c
- @@ -483,6 +483,7 @@ static const struct display_info_t displays[] = {
- /* egalax_ts */
- VD_HANNSTAR(LVDS, fbp_detect_i2c, 2, 0x04),
- + VD_CHIMEI_G104X1_L03(LVDS, NULL, 0, 0x00),
- /* ft5x06 */
- VD_WSVGA(LVDS, fbp_detect_i2c, 2, 0x38),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement