ARM: palmtreo: fix lcd initilialization on treo680
authorMike Dunn <mikedunn@newsguy.com>
Thu, 27 Dec 2012 18:02:17 +0000 (10:02 -0800)
committerHaojian Zhuang <haojian.zhuang@linaro.org>
Wed, 23 Jan 2013 08:56:32 +0000 (16:56 +0800)
commit2c33727a62ac07eed3ae423c209f549394c5c4e9
tree051f8fe490a06feac9681f9295469a4f41e7e44f
parent7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619
ARM: palmtreo: fix lcd initilialization on treo680

This patch gets the LCD working on my Palm Treo680 by adding some code that
manages the three gpios interfaced to the lcd on the Treo 680.  The precise role
of each gpio in the hardware architecture is not entirely clear to me; this
patch is the result of trial-and-error and observing how the PalmOS code
initializes the lcd.

The need for this patch is not evident when Linux is loaded from PalmOS, because
at that point the lcd-related gpios have already been configured.  But when
booting the kernel by other means, this patch is required unless the bootloader
has performed the necessary initialializations.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Acked-by: Tomas Cech <sleep_walker@suse.cz>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/include/mach/palmtreo.h
arch/arm/mach-pxa/palmtreo.c
This page took 0.044743 seconds and 5 git commands to generate.