Re: [REVIEW PATCH 8/9] DSS: support for Beagle Board
From: Tomi Valkeinen <hidden>
Date: 2008-11-05 10:05:56
Also in:
linux-omap
On Tue, 2008-11-04 at 18:28 +0100, ext Koen Kooi wrote:
Op 4 nov 2008, om 17:10 heeft Tomi Valkeinen het volgende geschreven:quoted
Signed-off-by: Tomi Valkeinen <redacted> --- arch/arm/mach-omap2/board-omap3beagle.c | 121 ++++++++++++++++++++++ ++++++--- 1 files changed, 108 insertions(+), 13 deletions(-) +static struct omap_display_data beagle_display_data_dvi = { + .type = OMAP_DISPLAY_TYPE_DPI, + .name = "dvi", + .panel_name = "panel-dvi", + .u.dpi.data_lines = 24, + .panel_reset_gpio = 170, + .panel_enable = beagle_enable_dvi, + .panel_disable = beagle_disable_dvi,gpio 170 is the enable (or disable, I forget which) for the DVI framer (TFP410), not a reset gpio. It would be nice to have a way to enable/ disable the framer from userspace since it burns 60-100mA.
Well, is there a big difference between reset and enable? Anyway, you can do echo "dvi e:0" > /sys/devices/platform/omapfb/displays and it will turn off the power. Or, alternatively, use the framebuffer blanking, although that has not been implemented to the panel-dvi.c (it's in panel-sdp3430.c).
regards, Koen
Tom