From a264c0454b8ddd8c5ac0ed29623c72f65ec4d53f Mon Sep 17 00:00:00 2001 From: Aswin Murugan Date: Thu, 13 Nov 2025 17:04:23 +0530 Subject: soc: qcom: cmd-db: Add cmd_db_read_slave_id() & cmd_db_read_aux_data() functions Partially reverted commit "soc: qcom: cmd-db: drop unused functions" by restoring only the cmd_db_read_slave_id() and cmd_db_read_aux_data() functions, which were removed in that commit. These functions are required for the RPMH Power Domain Driver. Reviewed-by: Neil Armstrong Reviewed-by: Casey Connolly Signed-off-by: Balaji Selvanathan Signed-off-by: Aswin Murugan Reviewed-by: Casey Connolly > --- Link: https://patch.msgid.link/20251113113427.2218045-2-aswin.murugan@oss.qualcomm.com Signed-off-by: Neil Armstrong --- include/soc/qcom/cmd-db.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/soc/qcom/cmd-db.h b/include/soc/qcom/cmd-db.h index 1190f2c22ca..16609ac9d78 100644 --- a/include/soc/qcom/cmd-db.h +++ b/include/soc/qcom/cmd-db.h @@ -21,6 +21,8 @@ enum cmd_db_hw_type { #if IS_ENABLED(CONFIG_QCOM_COMMAND_DB) u32 cmd_db_read_addr(const char *resource_id); +enum cmd_db_hw_type cmd_db_read_slave_id(const char *resource_id); +const void *cmd_db_read_aux_data(const char *resource_id, size_t *len); #else static inline u32 cmd_db_read_addr(const char *resource_id) -- cgit v1.3.1