Hi Everyone, 01.09.2016, 23:40, "Maxime Ripard" <maxime.ripard at free-electrons.com>: > Â The SinA33 has an unidentified panel. Add the timings for it under a new > Â compatible.
Excuse me... I will ask a question which is not fully related to the patch here... If I want to add a generic panel for Q8 tablets, what should it be called? "allwinner,q8-lcd-panel-800x480"? And, Hans, do you have any examples for a 1024x600 Q8 A33 tablet? (If the answer is yes, I think sun8i-a33-q8-tablet.dts will met a split...) Thanks, Icenowy > Â Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com> > Â --- > Â Â drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++ > Â Â 1 file changed, 26 insertions(+) > > Â diff --git a/drivers/gpu/drm/panel/panel-simple.c > b/drivers/gpu/drm/panel/panel-simple.c > Â index 85143d1b9b31..af142e804245 100644 > Â --- a/drivers/gpu/drm/panel/panel-simple.c > Â +++ b/drivers/gpu/drm/panel/panel-simple.c > Â @@ -1409,6 +1409,29 @@ static const struct panel_desc > shelly_sca07010_bfn_lnn = { > Â Â Â Â Â Â Â Â Â Â .bus_format = MEDIA_BUS_FMT_RGB666_1X18, > Â Â }; > > Â +static const struct drm_display_mode sinlinx_sina33_lcd_7_mode = { > Â + .clock = 66000, > Â + .hdisplay = 1024, > Â + .hsync_start = 1024 + 160, > Â + .hsync_end = 1024 + 160 + 70, > Â + .htotal = 1024 + 160 + 70 + 90, > Â + .vdisplay = 600, > Â + .vsync_start = 600 + 127, > Â + .vsync_end = 600 + 127 + 20, > Â + .vtotal = 600 + 127 + 20 + 3, > Â + .vrefresh = 60, > Â +}; > Â + > Â +static const struct panel_desc sinlinx_sina33_lcd_7 = { > Â + .modes = &sinlinx_sina33_lcd_7_mode, > Â + .num_modes = 1, > Â + .size = { > Â + .width = 154, > Â + .height = 87, > Â + }, > Â + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, > Â +}; > Â + > Â Â static const struct drm_display_mode starry_kr122ea0sra_mode = { > Â Â Â Â Â Â Â Â Â Â .clock = 147000, > Â Â Â Â Â Â Â Â Â Â .hdisplay = 1920, > Â @@ -1644,6 +1667,9 @@ static const struct of_device_id platform_of_match[] > = { > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â .compatible = "shelly,sca07010-bfn-lnn", > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â .data = &shelly_sca07010_bfn_lnn, > Â Â Â Â Â Â Â Â Â Â }, { > Â + .compatible = "sinlinx,sina33-lcd-7", > Â + .data = &sinlinx_sina33_lcd_7, > Â + }, { > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â .compatible = "starry,kr122ea0sra", > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â .data = &starry_kr122ea0sra, > Â Â Â Â Â Â Â Â Â Â }, { > Â -- > Â 2.9.2 > > Â _______________________________________________ > Â linux-arm-kernel mailing list > Â linux-arm-kernel at lists.infradead.org > Â http://lists.infradead.org/mailman/listinfo/linux-arm-kernel