All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] DM: uclass for timer
@ 2015-09-08 11:35 Thomas Chou
  2015-09-10  2:45 ` Simon Glass
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Chou @ 2015-09-08 11:35 UTC (permalink / raw)
  To: u-boot

Hi Simon,

Shall we have a timer class in driver model?

I am trying to get the base address and clock rate of timer from device 
tree, and use them for timer_init() in common/board_f.c and lib/time.c .

As almost every board needs a timer, I wonder if it makes sense to use 
driver model? Or shall I use fdtdec to do the binding?

timer_init() sits after initf_dm() in common/board_f.c will this work?

Best regards,
Thomas Chou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-10  3:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 11:35 [U-Boot] DM: uclass for timer Thomas Chou
2015-09-10  2:45 ` Simon Glass
2015-09-10  3:11   ` Thomas Chou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.