Re: [PATCH v2 0/4] clock: Get rid of clock_get_ns()

2021-01-03 Thread Philippe Mathieu-Daudé
On 1/1/21 9:35 PM, Philippe Mathieu-Daudé wrote: > On 12/15/20 4:09 PM, Peter Maydell wrote: >> This patchseries makes some changes to the clock API: >> * Remove clock_get_ns() >> * Add clock_ticks_to_ns() to return number of nanoseconds >>it will take the clock to tick N times >> * clock_di

Re: [PATCH v2 0/4] clock: Get rid of clock_get_ns()

2021-01-01 Thread Philippe Mathieu-Daudé
On 12/15/20 4:09 PM, Peter Maydell wrote: > This patchseries makes some changes to the clock API: > * Remove clock_get_ns() > * Add clock_ticks_to_ns() to return number of nanoseconds >it will take the clock to tick N times > * clock_display_freq() to return prettily-formatted string >fo

Re: [PATCH v2 0/4] clock: Get rid of clock_get_ns()

2020-12-15 Thread Philippe Mathieu-Daudé
On 12/15/20 4:29 PM, Philippe Mathieu-Daudé wrote: > On 12/15/20 4:09 PM, Peter Maydell wrote: >> This patchseries makes some changes to the clock API: >> * Remove clock_get_ns() >> * Add clock_ticks_to_ns() to return number of nanoseconds >>it will take the clock to tick N times >> * clock_

Re: [PATCH v2 0/4] clock: Get rid of clock_get_ns()

2020-12-15 Thread Philippe Mathieu-Daudé
On 12/15/20 4:09 PM, Peter Maydell wrote: > This patchseries makes some changes to the clock API: > * Remove clock_get_ns() > * Add clock_ticks_to_ns() to return number of nanoseconds >it will take the clock to tick N times > * clock_display_freq() to return prettily-formatted string >fo

[PATCH v2 0/4] clock: Get rid of clock_get_ns()

2020-12-15 Thread Peter Maydell
This patchseries makes some changes to the clock API: * Remove clock_get_ns() * Add clock_ticks_to_ns() to return number of nanoseconds it will take the clock to tick N times * clock_display_freq() to return prettily-formatted string for showing humans the approximate clock frequency This