summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/sansa-fuzeplus
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/sansa-fuzeplus')
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h2
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-target.h12
2 files changed, 11 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h b/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h
index 5907eefdc2..9fccfa9da4 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h
@@ -30,6 +30,4 @@
#define ADC_BATT_TEMP 4
#define ADC_CH2 5
-#define IMX233_ADC_BATT_TEMP_SENSOR 0
-
#endif
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-target.h b/firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-target.h
index 34d1d00e1d..2fd5559baf 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-target.h
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-target.h
@@ -37,12 +37,22 @@
* - top off period: 30 min
* - high die temperature: 71 °C
* - low die temperature: 56 °C
- * - safe temperature current: 30 mA
+ * - safe die temperature current: 30 mA
+ * - battery temperature channel: 0
+ * - high battery temperature: 1100
+ * - low battery temperature: 220
+ * - safe battery temperature current: 0 mA
+ * - low DCDC battery voltage: 3.9 V
*/
#define IMX233_CHARGE_CURRENT 200
#define IMX233_STOP_CURRENT 30
#define IMX233_TOPOFF_TIMEOUT (30 * 60 * HZ)
#define IMX233_CHARGING_TIMEOUT (4 * 3600 * HZ)
+#define IMX233_DIE_TEMP_HIGH 71
+#define IMX233_DIE_TEMP_LOW 56
+#define IMX233_BATT_TEMP_SENSOR 0
+#define IMX233_BATT_TEMP_HIGH 1100
+#define IMX233_BATT_TEMP_LOW 220
#endif /* POWERMGMT_TARGET_H */