commit | 51d3b40847b800ab41b48379063d740261342242 | [log] [tgz] |
---|---|---|
author | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | Sat Feb 14 01:05:18 2015 +0300 |
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | Wed Feb 25 13:53:37 2015 +0900 |
tree | 3c07f99e7c1b252c0eca29d6a34da9712b008517 | |
parent | 1786175f91aa928775220dff60ffea099147f026 [diff] |
serial: sh: fix internal clock source on SCIF The formula to calculate SCIF BRR for R-Car H2/M2/E2 SoCs is as follows: BRR = pclk / (64 * 2^(2n-1) * baudrate) - 1, the prescaler is 0 due to SCSMR settings, hence n=0 Also SCSCR must be set to use internal or external clock source. Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>