summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorReid Tonking <reidt@ti.com>2023-12-22 12:28:35 -0600
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2024-03-21 14:26:33 +0000
commit58bb5cc8e3b0abb5a70ba739f739f5b2bee3cb0e (patch)
tree56141aaa5816705c533355f3e831ce52b491bbd0 /include
parentd73d85d25f888203ac94968a8004ee614acf4e06 (diff)
misc: k3_avs: add k3_check_opp function
Useful when trying to check if an opp efuse is burned in or not. k3_avs driver checks opp_ids when probing and overwrites the voltage values in vd_data for the respective board. This can be called to check that data and returns 0 if valid. Reviewed-by: Udit Kumar <u-kumar1@ti.com> Signed-off-by: Reid Tonking <reidt@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/k3-avs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/k3-avs.h b/include/k3-avs.h
index 855fbebd3b..52bbb2fe7f 100644
--- a/include/k3-avs.h
+++ b/include/k3-avs.h
@@ -27,5 +27,6 @@
int k3_avs_set_opp(struct udevice *dev, int vdd_id, int opp_id);
int k3_avs_notify_freq(int dev_id, int clk_id, u32 freq);
+int k3_check_opp(int opp_id);
#endif