diff options
author | Guillaume Knispel <gknispel@proformatique.com> | 2012-02-28 18:32:01 +0100 |
---|---|---|
committer | Guillaume Knispel <gknispel@proformatique.com> | 2012-02-28 18:32:01 +0100 |
commit | 59a7c543a70e59763a70ab71dae97da2d0febd86 (patch) | |
tree | cf22a0cef25b23665daa5f40f63e076d1b4096bc /xhfc/xhfc_leb.c | |
parent | ed2ff86d36b27be481229f0e1eaf420f0fbb0945 (diff) |
trigger cs2 from xivo_tdm_trigger_handler
Diffstat (limited to 'xhfc/xhfc_leb.c')
-rw-r--r-- | xhfc/xhfc_leb.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/xhfc/xhfc_leb.c b/xhfc/xhfc_leb.c index 42e7b9d..c7e94d7 100644 --- a/xhfc/xhfc_leb.c +++ b/xhfc/xhfc_leb.c @@ -128,8 +128,21 @@ void leb_init(struct xhfc_pi *leb) | LEB_TCS_BYTE_EN, ®s->timing_cs[1]); + writel( LEB_TCS_CS_EN + | LEB_TCS_T1_ADDR_TM(3) + | LEB_TCS_T2_SU_CS_TM(3) + | LEB_TCS_T3_STRB_TM(3) + | LEB_TCS_T4_HOLD_TM(3) + | LEB_TCS_T5_RCVRY_TM(3) + | LEB_TCS_CYC_TYPE_INTEL + | LEB_TCS_CNFG_512_B + | LEB_TCS_SPLT_EN + | LEB_TCS_WR_EN + | LEB_TCS_BYTE_EN, + ®s->timing_cs[2]); + /* We are true paranoiacs: */ - (void)readl(®s->timing_cs[1]); + (void)readl(®s->timing_cs[2]); /* That's it! :-) */ } |