From f919ae8d3f94f06102c3e00cd5b9a4ebbc607e7c Mon Sep 17 00:00:00 2001 From: Haochen Yang Date: Wed, 31 Jul 2024 15:38:08 -0700 Subject: [PATCH] ARM: dts: msm: Add support to update camera qos This change adds support to update static and smart camera qos. enable-secure-qos-update property specifies whether secure camera Qos update feature is enabled. CRs-Fixed: 3857947 Change-Id: I4c70f1be49a1e3bcda1ea2e4a73fbce3c130b6ab Signed-off-by: Haochen Yang --- bindings/msm-cam-cpas.txt | 5 +++++ sun-camera.dtsi | 1 + 2 files changed, 6 insertions(+) diff --git a/bindings/msm-cam-cpas.txt b/bindings/msm-cam-cpas.txt index 39a6c62d..c872a2cf 100644 --- a/bindings/msm-cam-cpas.txt +++ b/bindings/msm-cam-cpas.txt @@ -229,6 +229,11 @@ First Level Node - CAM CPAS device Definition: Client ID for camera caches. ID is used to differentiate the property of the cache like being Forget, Dealloc. +- enable-secure-qos-update + Usage: optional + Value type: + Definition: Bool property specifying whether secure camera Qos update feature is enabled. + - enable-smart-qos Usage: optional Value type: diff --git a/sun-camera.dtsi b/sun-camera.dtsi index 726439eb..71300adc 100644 --- a/sun-camera.dtsi +++ b/sun-camera.dtsi @@ -1734,6 +1734,7 @@ sys-cache-names = "ofe_ip", "ipe_rt_ip", "ipe_srt_ip", "ipe_rt_rf", "ipe_srt_rf"; sys-cache-uids = <71 72 73 74 75>; sys-cache-concur = <1 1 1 0 0>; + enable-secure-qos-update; enable-smart-qos; enable-cam-drv = <(CAM_DDR_DRV | CAM_CLK_DRV)>; rt-wr-priority-min = <4>;