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 (as an input or an output).
Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Luc Michel <luc@lmichel.fr>
---
include/hw/clock.h | 13 +++++++++++++
hw/core/clock.c | 15 +++++++++++++++
2 files changed, 28 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>