summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/abb
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-02-21 11:32:40 +0100
committerHarald Welte <laforge@gnumonks.org>2010-03-01 23:48:44 +0100
commitcc02fa61b5c0fd16099cc952e2d250c5e58b0d8d (patch)
tree4484588b89dd6563cc78f392cdfcc42d180d45b5 /src/target/firmware/abb
parent81cd75e38c04268befe128fe5f7c1b19553261ec (diff)
TWL3025: add default APC ramp
Diffstat (limited to 'src/target/firmware/abb')
-rw-r--r--src/target/firmware/abb/twl3025.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/target/firmware/abb/twl3025.c b/src/target/firmware/abb/twl3025.c
index b9c55696..5138e75e 100644
--- a/src/target/firmware/abb/twl3025.c
+++ b/src/target/firmware/abb/twl3025.c
@@ -39,6 +39,26 @@
#define TWL3025_DEV_IDX 0 /* On the SPI bus */
#define TWL3025_TSP_DEV_IDX 0 /* On the TSP bus */
+/* values encountered on a GTA-02 for GSM900 (the same for GSM1800!?) */
+const uint16_t twl3025_default_ramp[16] = {
+ ABB_RAMP_VAL( 0, 0),
+ ABB_RAMP_VAL( 0, 11),
+ ABB_RAMP_VAL( 0, 31),
+ ABB_RAMP_VAL( 0, 31),
+ ABB_RAMP_VAL( 0, 31),
+ ABB_RAMP_VAL( 0, 24),
+ ABB_RAMP_VAL( 0, 0),
+ ABB_RAMP_VAL( 0, 0),
+ ABB_RAMP_VAL( 9, 0),
+ ABB_RAMP_VAL(18, 0),
+ ABB_RAMP_VAL(25, 0),
+ ABB_RAMP_VAL(31, 0),
+ ABB_RAMP_VAL(30, 0),
+ ABB_RAMP_VAL(15, 0),
+ ABB_RAMP_VAL( 0, 0),
+ ABB_RAMP_VAL( 0, 0),
+};
+
struct twl3025 {
uint8_t page;
};