msm: camera: cpas: Add support to update camera qos
This change add support to update camera qos statically and dynamically via hyp. For each NIU camera driver can call scm API with each NIU's register offsets, value and number of registers offset that need to be programed. CRs-Fixed: 3781697 Change-Id: I42705dd2b379e29f7f32f9c2564cc476dc8c1308 Signed-off-by: Dharmender Sharma <quic_dharshar@quicinc.com>
This commit is contained in:

committed by
Alok Chauhan

parent
f6b44a99e3
commit
15af46a8b6
@@ -32,6 +32,15 @@
|
||||
#define CAM_CPAS_QOS_DEFAULT_SETTINGS_MASK 0x1
|
||||
#define CAM_CPAS_QOS_CUSTOM_SETTINGS_MASK 0x2
|
||||
|
||||
/**
|
||||
* Secure camera QoS update id - Enum for identify QOS settings update type
|
||||
*/
|
||||
enum secure_camera_qos_update_type {
|
||||
CAM_QOS_UPDATE_TYPE_STATIC = 0x0,
|
||||
CAM_QOS_UPDATE_TYPE_SMART = 0x1,
|
||||
CAM_QOS_UPDATE_TYPE_MAX,
|
||||
};
|
||||
|
||||
/**
|
||||
* enum cam_cpas_regbase_types - Enum for cpas regbase available for clients
|
||||
* to read/write
|
||||
|
Reference in New Issue
Block a user