mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
cc3f414cf2
This adds support for reading display timings from DT into a struct display_timings. The of_display_timing implementation supports multiple subnodes. All children are read into an array, that can be queried. If no native mode is specified, the first subnode will be used. For cases where the graphics driver knows there can be only one mode description or where the driver only supports one mode, a helper function of_get_videomode is added, that gets a struct videomode from DT. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de> Acked-by: Thierry Reding <thierry.reding@avionic-design.de> Tested-by: Thierry Reding <thierry.reding@avionic-design.de> Tested-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Afzal Mohammed <Afzal@ti.com> Tested-by: Rob Clark <robclark@gmail.com> Tested-by: Leela Krishna Amudala <leelakrishna.a@gmail.com> |
||
---|---|---|
.. | ||
atmel_lcdc.h | ||
aty128.h | ||
auo_k190xfb.h | ||
broadsheetfb.h | ||
cirrus.h | ||
cvisionppc.h | ||
da8xx-fb.h | ||
display_timing.h | ||
edid.h | ||
exynos_dp.h | ||
exynos_mipi_dsim.h | ||
gbe.h | ||
hecubafb.h | ||
iga.h | ||
ili9320.h | ||
Kbuild | ||
kyro.h | ||
mach64.h | ||
maxinefb.h | ||
mbxfb.h | ||
metronomefb.h | ||
mipi_display.h | ||
neomagic.h | ||
newport.h | ||
of_display_timing.h | ||
of_videomode.h | ||
omap-panel-generic-dpi.h | ||
omap-panel-n8x0.h | ||
omap-panel-nokia-dsi.h | ||
omap-panel-picodlp.h | ||
omap-panel-tfp410.h | ||
omapdss.h | ||
omapvrfb.h | ||
permedia2.h | ||
platform_lcd.h | ||
pm3fb.h | ||
pmag-ba-fb.h | ||
pmagb-b-fb.h | ||
pxa168fb.h | ||
radeon.h | ||
s1d13xxxfb.h | ||
sa1100fb.h | ||
samsung_fimd.h | ||
sgivw.h | ||
sh_mipi_dsi.h | ||
sh_mobile_hdmi.h | ||
sh_mobile_lcdc.h | ||
sh_mobile_meram.h | ||
sisfb.h | ||
sstfb.h | ||
tdfx.h | ||
tgafb.h | ||
trident.h | ||
udlfb.h | ||
uvesafb.h | ||
vga.h | ||
videomode.h | ||
w100fb.h |