rendered paste bodyIndex: include/asm-arm/arch-pxa/palmt650-init.h
===================================================================
--- include/asm-arm/arch-pxa/palmt650-init.h (revision 0)
+++ include/asm-arm/arch-pxa/palmt650-init.h (revision 0)
@@ -0,0 +1,40 @@
+/*
+ * palmt650-init.h
+ *
+ * Init values for Palm Treo 650
+ *
+ * Author: Michael Sheldon <mike@mikeasoft.com>
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * TODO: This values need to be checked
+ *
+ */
+
+#ifndef _INCLUDE_PALMT650_INIT_H_
+
+#define _INCLUDE_PALMT650_INIT_H_
+
+// Backlight
+
+#define PALMT650_MAX_INTENSITY 0xFE
+#define PALMT650_DEFAULT_INTENSITY 0x7E
+#define PALMT650_LIMIT_MASK 0x7F
+
+
+// Battery
+
+#define PALMT650_BAT_MAX_VOLTAGE 4000 // 4.00V current voltage at max charge
+#define PALMT650_BAT_MIN_VOLTAGE 3700 // 3.7V critical voltage
+#define PALMT650_BAT_MAX_CURRENT 0 // unknokn
+#define PALMT650_BAT_MIN_CURRENT 0 // unknown
+#define PALMT650_BAT_MAX_CHARGE 1 // unknown
+#define PALMT650_BAT_MIN_CHARGE 1 // unknown
+#define PALMT650_BAT_MEASURE_DELAY (HZ * 1)
+#define PALMT650_MAX_LIFE_MINS 300 // Treo on life in minute
+
+
+#endif
Index: drivers/leds/leds-palmt650.c
===================================================================
--- drivers/leds/leds-palmt650.c (revision 1096)
+++ drivers/leds/leds-palmt650.c (working copy)
@@ -28,7 +28,7 @@
#define ASIC6_LED_AutoStopCount 0x0c
/* LED TimeBase bits */
-#include <asm/hardware/ipaq-asic-led.h>
+#include <asm/hardware/ipaq-asic2.h>
static void *asic6_base;