Skip to content

clock_control: API should support asynchronous and synchronous variants of turning on clocks #11107

@SebastianBoe

Description

@SebastianBoe

Turning on a clock can take a long time, especially to wait for it to stabilize.

The clock_control driver API should have a runtime-configurable API for turning on a clock synchronously or asynchronously.

Currently it is only Kconfig-urable whether it is done synchronously or asynchronously.

Also, piggy-backing on this issue, (if asynchronous clock enable is to be supported) there should exist
a function, is_clock_running(), (where running implies 'stable' (According to spec.)).

#8803

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions