From: Koen K. <k....@st...> - 2008-11-05 21:16:10
|
Op 5 nov 2008, om 11:05 heeft Tomi Valkeinen het volgende geschreven: > 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: >> >>> Signed-off-by: Tomi Valkeinen <tom...@no...> >>> --- >>> >>> 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? Reset implies that power stays on (like the reset button on a desktop), while enable and disable imply power on and power off. Maybe that's just me :) regards, Koen > 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 > > -- > To unsubscribe from this list: send the line "unsubscribe linux- > omap" in > the body of a message to maj...@vg... > More majordomo info at http://vger.kernel.org/majordomo-info.html > |