r2348 - trunk/src/target/u-boot/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Wed Jun 27 13:54:46 CEST 2007


Author: laforge
Date: 2007-06-27 13:54:41 +0200 (Wed, 27 Jun 2007)
New Revision: 2348

Modified:
   trunk/src/target/u-boot/patches/uboot-gta02.patch
Log:
* implement backlight control for GTA02


Modified: trunk/src/target/u-boot/patches/uboot-gta02.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-gta02.patch	2007-06-27 10:05:46 UTC (rev 2347)
+++ trunk/src/target/u-boot/patches/uboot-gta02.patch	2007-06-27 11:54:41 UTC (rev 2348)
@@ -88,7 +88,7 @@
 ===================================================================
 --- /dev/null
 +++ u-boot/board/neo1973/gta02/gta02.c
-@@ -0,0 +1,323 @@
+@@ -0,0 +1,326 @@
 +/*
 + * (C) 2006-2007 by OpenMoko, Inc.
 + * Author: Harald Welte <laforge at openmoko.org>
@@ -346,7 +346,10 @@
 +
 +void neo1973_backlight(int on)
 +{
-+	/* FIXME: PMU based implementation */
++	if (on)
++		pcf50633_reg_write(PCF50633_REG_LEDENA, 0x01);
++	else
++		pcf50633_reg_write(PCF50633_REG_LEDENA, 0x00);
 +}
 +
 +/* FIXME: shared */





More information about the commitlog mailing list