From 602a22e77a8f17d2bfe094ca68427d1a778605f6 Mon Sep 17 00:00:00 2001 From: Kalpak Kawadkar Date: Wed, 8 May 2024 12:05:54 +0530 Subject: [PATCH] ANDROID: abi_gki_aarch64_qcom: Add clk_restore_context and clk_save_context Export clk_restore_context and clk_save_context so that other modules can use. There is a qcom clock driver which uses the clock restore and save context for the hibernation use case. The PLLs, always enabled clocks are saved and restored during this use case. Leaf changes summary: 2 artifact changed Changed leaf types summary: 0 leaf type changed Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 2 Added functions Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable 2 Added functions: [A] 'function void clk_restore_context()' [A] 'function void clk_save_context()' Bug: 339747317 Change-Id: I0f9f0853f9593239dedb7d84941002d346038843 Signed-off-by: Kalpak Kawadkar --- android/abi_gki_aarch64.xml | 161 +++++++++++++++++++---------------- android/abi_gki_aarch64_qcom | 2 + 2 files changed, 90 insertions(+), 73 deletions(-) diff --git a/android/abi_gki_aarch64.xml b/android/abi_gki_aarch64.xml index 34d2ea871272..98151234f864 100644 --- a/android/abi_gki_aarch64.xml +++ b/android/abi_gki_aarch64.xml @@ -1315,7 +1315,9 @@ + + @@ -67634,6 +67636,9 @@ + + + @@ -78241,7 +78246,11 @@ - + + + + + @@ -122999,12 +123008,12 @@ - - - - - - + + + + + + @@ -125209,11 +125218,17 @@ + + + + + + @@ -132306,9 +132321,9 @@ - - - + + + @@ -132360,9 +132375,9 @@ - - - + + + @@ -132445,10 +132460,10 @@ - - - - + + + + @@ -133416,12 +133431,12 @@ - - - - - - + + + + + + @@ -134022,7 +134037,7 @@ - + @@ -137526,11 +137541,11 @@ - - - - - + + + + + @@ -142663,12 +142678,12 @@ - - - - - - + + + + + + @@ -148510,11 +148525,11 @@ - - - - - + + + + + @@ -150892,26 +150907,26 @@ - - + + - - - - + + + + - - - - + + + + - - - - + + + + @@ -150932,9 +150947,9 @@ - - - + + + @@ -150946,8 +150961,8 @@ - - + + @@ -150982,23 +150997,23 @@ - - - - + + + + - - - - + + + + - - - - - + + + + + @@ -151606,7 +151621,7 @@ - + diff --git a/android/abi_gki_aarch64_qcom b/android/abi_gki_aarch64_qcom index 7a133e627fc2..3fb23d9e4f38 100644 --- a/android/abi_gki_aarch64_qcom +++ b/android/abi_gki_aarch64_qcom @@ -178,7 +178,9 @@ clk_prepare clk_put clk_register + clk_restore_context clk_round_rate + clk_save_context clk_set_parent clk_set_rate clk_sync_state