Dear sir,
We have a lcd panel whick support YUV format input only, now we want to integrate this panel on pandaboard omap4430.
But We find linux kernel drivers/video/omap2/omapfb/omapfb-main.c not enable yuv format.
Does Omap4 support yuv output? thanks.
drivers/video/omap2/omapfb/omapfb-main.c
1141 static int _setcolreg(struct fb_info *fbi, u_int regno, u_int red, u_int green, 1142 u_int blue, u_int transp, int update_hw_pal) 1143 { 1144 /*struct omapfb_info *ofbi = FB2OFB(fbi);*/ 1145 /*struct omapfb2_device *fbdev = ofbi->fbdev;*/ 1146 struct fb_var_screeninfo *var = &fbi->var; 1147 int r = 0; 1148 1149 enum omapfb_color_format mode = OMAPFB_COLOR_RGB24U; /* XXX */ 1150 1151 /*switch (plane->color_mode) {*/ 1152 switch (mode) { 1153 case OMAPFB_COLOR_YUV422: 1154 case OMAPFB_COLOR_YUV420: 1155 case OMAPFB_COLOR_YUY422: 1156 r = -EINVAL; 1157 break;