aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2015-08-12 06:32:12 -0400
committerThierry Reding <treding@nvidia.com>2015-08-14 15:35:31 -0400
commit58d6a7bc4f851b5bd43280eab145bab992cb7ebe (patch)
treef1a287286ce7645bd61c1063435dfb9bde85504c
parent330b48bd700d5cdc3d1922c4e50f0626ab8ec002 (diff)
drm/panel: simple: Add bus format for HannStar HSD070PWW1 LVDS panel
The bus format both specifies the bpc and the way the individual bits get serialized into the 7 LVDS timeslots. While the is only one standard mapping for 6 bpc and so the driver could infer the bit mapping from the bpc alone, there are more options for the 8 bpc case which makes specifiying the bus format mandatory. To keep things consistent across panels and to set a precedent for new panel additions add the proper bus format. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index f94201b6e882..a1cd431e17a6 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -729,6 +729,7 @@ static const struct panel_desc hannstar_hsd070pww1 = {
729 .width = 151, 729 .width = 151,
730 .height = 94, 730 .height = 94,
731 }, 731 },
732 .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG,
732}; 733};
733 734
734static const struct display_timing hannstar_hsd100pxn1_timing = { 735static const struct display_timing hannstar_hsd100pxn1_timing = {