comparison src/cs/layer1/tpu_drivers/source0/tpudrv12.h @ 639:026c98f757a6

tpudrv12.h & targets/gtm900.h: our current support is for MGC2GSMT version only As it turns out, there exist two different Huawei-made hw platforms both bearing the marketing name GTM900-B: one is MG01GSMT, the other is MGC2GSMT. The two are NOT fw-compatible: aside from flash chip differences which should be handled by autodetection, the two hw platforms are already known to have different RFFEs with different control signals, and there may be other differences not yet known. Our current gtm900 build target is for MGC2GSMT only; we do not yet have a specimen of MG01GSMT on hand, hence no support for that version will be possible until and unless someone provides one.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Jan 2020 18:19:01 +0000
parents d968a3216ba0
children 3fb7384e820d
comparison
equal deleted inserted replaced
638:cab2f315827e 639:026c98f757a6
369 #define RU_1900 ( PA_OFF | FEM_PINS ^ FEM_RX_1900 ) 369 #define RU_1900 ( PA_OFF | FEM_PINS ^ FEM_RX_1900 )
370 #define RD_1900 ( PA_OFF | FEM_PINS ^ 0 ) 370 #define RD_1900 ( PA_OFF | FEM_PINS ^ 0 )
371 #define TU_1900 ( PA_HI_BAND | FEM_PINS ^ FEM_TX_HIGH ) 371 #define TU_1900 ( PA_HI_BAND | FEM_PINS ^ FEM_TX_HIGH )
372 #define TD_1900 ( PA_OFF | FEM_PINS ^ 0 ) 372 #define TD_1900 ( PA_OFF | FEM_PINS ^ 0 )
373 373
374 #elif defined(CONFIG_TARGET_GTM900) 374 #elif defined(CONFIG_TARGET_MGC2GSMT)
375 375
376 /* 376 /*
377 * Huawei GTM900-B is very closely based on Leonardo (2-band version), 377 * The common MGC2GSMT version of Huawei GTM900-B is very closely based
378 * but the two FEM Tx control signals are reversed. 378 * on Leonardo (2-band version), but the two FEM Tx control signals
379 * are reversed.
379 */ 380 */
380 381
381 #define FEM_TX_LOW BIT_1 // act1 382 #define FEM_TX_LOW BIT_1 // act1
382 #define FEM_TX_HIGH BIT_2 // act2 383 #define FEM_TX_HIGH BIT_2 // act2
383 384