From: <far...@us...> - 2006-10-31 06:03:47
|
Revision: 655 http://svn.sourceforge.net/hackndev/?rev=655&view=rev Author: farcaller Date: 2006-10-30 22:03:40 -0800 (Mon, 30 Oct 2006) Log Message: ----------- palmt3: added GPIOs 38 and 41 to enable/disable controller code Modified Paths: -------------- linux4palm/linux/trunk/drivers/video/pxafb.c Modified: linux4palm/linux/trunk/drivers/video/pxafb.c =================================================================== --- linux4palm/linux/trunk/drivers/video/pxafb.c 2006-10-31 04:03:13 UTC (rev 654) +++ linux4palm/linux/trunk/drivers/video/pxafb.c 2006-10-31 06:03:40 UTC (rev 655) @@ -747,6 +747,11 @@ pr_debug("reg_lccr2 0x%08x\n", (unsigned int) fbi->reg_lccr2); pr_debug("reg_lccr3 0x%08x\n", (unsigned int) fbi->reg_lccr3); +#ifdef CONFIG_MACH_T3XSCALE + GPSR1 = GPIO_bit(38); + GPSR1 = GPIO_bit(41); +#endif + /* enable LCD controller clock */ pxa_set_cken(CKEN16_LCD, 1); @@ -786,6 +791,10 @@ /* disable LCD controller clock */ pxa_set_cken(CKEN16_LCD, 0); +#ifdef CONFIG_MACH_T3XSCALE + GPCR1 = GPIO_bit(38); + GPCR1 = GPIO_bit(41); +#endif } /* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |