On 1/21/21 8:05 PM, Peter Maydell wrote: > Add a function for checking whether a clock has a source. This is > useful for devices which have input clocks that must be wired up by > the board as it allows them to fail in realize rather than ploughing > on with a zero-period clock. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > docs/devel/clocks.rst | 16 ++++++++++++++++ > include/hw/clock.h | 15 +++++++++++++++ > 2 files changed, 31 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>