summaryrefslogtreecommitdiff
path: root/platform/generic/allwinner/sun20i-d1.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2023-01-23 09:32:06 +0300
committerAnup Patel <anup@brainfault.org>2023-01-24 15:00:21 +0300
commit33bf9174602c900201481241e9ade31cf37fccd8 (patch)
tree0e93c78764f1343b232d359391a72bd4cb53849d /platform/generic/allwinner/sun20i-d1.c
parentdea0922f867f3d681ad3191fb562a082ea4a339f (diff)
downloadopensbi-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/generic/allwinner/sun20i-d1.c')
0 files changed, 0 insertions, 0 deletions