RE: [PATCH v2 2/2] timer: sti: use clk API to get timer clock rate

2020-03-19 Thread Patrick DELAUNAY
Hi, > From: U-Boot On Behalf Of Nicolas Heemeryck > Sent: vendredi 13 mars 2020 23:43 > > Retrieve clock rate through device tree. This mimics the behavior of > arm_global_timer in Linux. > > Signed-off-by: Nicolas Heemeryck > Cc: Patrice Chotard > > --- Applied to u-boot-stm/next,

Re: [PATCH v2 2/2] timer: sti: use clk API to get timer clock rate

2020-03-17 Thread Patrice CHOTARD
Hi Nicolas On 3/13/20 11:42 PM, Nicolas Heemeryck wrote: > Retrieve clock rate through device tree. This mimics the behavior of > arm_global_timer in Linux. > > Signed-off-by: Nicolas Heemeryck > Cc: Patrice Chotard > > --- > > Changes for v2: > > - Fall back on CONFIG_SYS_HZ_CLOCK if

[PATCH v2 2/2] timer: sti: use clk API to get timer clock rate

2020-03-15 Thread Nicolas Heemeryck
Retrieve clock rate through device tree. This mimics the behavior of arm_global_timer in Linux. Signed-off-by: Nicolas Heemeryck Cc: Patrice Chotard --- Changes for v2: - Fall back on CONFIG_SYS_HZ_CLOCK if clk_get_by_index returns an error or no clock driver is provided. ---