msm: camera: utils: Add support for cesta hw client voting through mmrm

This change will allow clients voting through mmrm to use the new mmrm
api and vote according to their drv_type. This change affects
registering, unregistering and setting the clk rate to sw and
hw clients.

CRs-Fixed: 3385745
Change-Id: I11f76a0de3ba0d8d969093725d4c528afef51373
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
This commit is contained in:
Atiya Kailany
2022-12-20 13:54:51 -08:00
committed by Camera Software Integration
parent 6d99262523
commit de76f19956
7 changed files with 126 additions and 13 deletions

View File

@@ -93,6 +93,7 @@ enum cam_vote_level {
#define CAM_SOC_PINCTRL_STATE_DEFAULT "cam_default"
#define CAM_CESTA_MAX_CLIENTS 3
#define CAM_NUM_PWR_STATES 2
/**
* struct cam_soc_util_hw_client_clk_rates: Information about HW client clock vote