]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: timer: Implement pre_probe()
authorBin Meng <bmeng.cn@gmail.com>
Fri, 13 Nov 2015 08:11:15 +0000 (00:11 -0800)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:23:51 +0000 (06:23 -0700)
commit579eb5a0cc61a529be5fb540fa32ed0404955db2
treed8e8256885cba466820d5681e53b795772e1d4d4
parent435ae76edd3a90fc4dd2f582052d7362cb8bdad7
dm: timer: Implement pre_probe()

Every timer device needs to have a valid clock frequency and it
can be specified in the device tree. Use pre_probe() to get this
in the timer uclass driver.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/timer/timer-uclass.c