Re: [PATCH v2 03/15] hw/core/clock: add the clock_new helper function

2020-10-06 Thread Philippe Mathieu-Daudé
On 10/5/20 9:56 PM, Luc Michel wrote: > This function creates a clock a parent it to another object with a given > name. It calls clock_setup_canonical_path before returning the new > clock. > > This function is useful to create clocks in devices when one doesn't > want to expose it at the qdev

[PATCH v2 03/15] hw/core/clock: add the clock_new helper function

2020-10-05 Thread Luc Michel
This function creates a clock a parent it to another object with a given name. It calls clock_setup_canonical_path before returning the new clock. This function is useful to create clocks in devices when one doesn't want to expose it at the qdev level (as an input or an output). Suggested-by: