diff options
author | Samuel Holland <samuel@sholland.org> | 2023-01-23 09:32:06 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-01-24 15:00:21 +0300 |
commit | 33bf9174602c900201481241e9ade31cf37fccd8 (patch) | |
tree | 0e93c78764f1343b232d359391a72bd4cb53849d /platform | |
parent | dea0922f867f3d681ad3191fb562a082ea4a339f (diff) | |
download | opensbi-33bf9174602c900201481241e9ade31cf37fccd8.tar.xz |
lib: utils: Add fdt_add_cpu_idle_states() helper function
Since the availability and latency properties of CPU idle states depend
on the specific SBI HSM implementation, it is appropriate that the idle
states are added to the devicetree at runtime by that implementation.
This helper function adds a platform-provided array of idle states to
the devicetree, following the SBI idle state binding.
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions