summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-atlas7.c
diff options
context:
space:
mode:
authorJun Gao <jun.gao@mediatek.com>2017-07-17 14:02:10 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-07-31 17:02:59 +0300
commitf2326401b8ff8a646092562d272ed50d9cf99c6c (patch)
treef5bcb8c12bd397fd5dcf1d5b455c070f08a7e6fe /drivers/clocksource/timer-atlas7.c
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff)
downloadlinux-f2326401b8ff8a646092562d272ed50d9cf99c6c.tar.xz
i2c: mediatek: send i2c master code at 400k
The speed of sending i2c master code in high-speed mode depends on source clock, clock-div and TIMING register. The source clock and clock-div of different SoC are not all the same. In order to send i2c master code at 400k in high-speed mode, a appropriate value should be set to TIMING register for a certain source clock and clock-div. Signed-off-by: Jun Gao <jun.gao@mediatek.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/clocksource/timer-atlas7.c')
0 files changed, 0 insertions, 0 deletions