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

2020-10-10 Thread Philippe Mathieu-Daudé
On 10/10/20 5:17 PM, Philippe Mathieu-Daudé wrote: On 10/10/20 3:57 PM, Luc Michel wrote: This function creates a clock and parents 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 wh

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

2020-10-10 Thread Philippe Mathieu-Daudé
On 10/10/20 3:57 PM, Luc Michel wrote: This function creates a clock and parents 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 (a

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

2020-10-10 Thread Luc Michel
This function creates a clock and parents 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: