From 4d51dd69ee6e05196ecd8065fef0eaef221aca29 Mon Sep 17 00:00:00 2001 From: Wyes Karny Date: Mon, 21 Sep 2020 19:34:46 +0530 Subject: [PATCH] ARM: dts: msm: Refactor cam_hw_fuse entry For adding more information for cam_hw_fuse refactor existing entries. Also add support for mp limit fuse. CRs-Fixed: 2785460 Change-Id: I116adfd57663be967ed5cc55237cc0e971b226bd --- bindings/msm-cam-cpas.txt | 12 +++++++++--- lito-camera.dtsi | 4 ++-- shima-camera.dtsi | 3 ++- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/bindings/msm-cam-cpas.txt b/bindings/msm-cam-cpas.txt index 068edb5e..1295a562 100644 --- a/bindings/msm-cam-cpas.txt +++ b/bindings/msm-cam-cpas.txt @@ -67,9 +67,15 @@ First Level Node - CAM CPAS device - cam_hw_fuse Usage: optional - Value type: - Definition: List of fuse based features and respective - fuse info. + Value type: + Definition: List of fuse based features and respective fuse info. + fuse_id: fuse id for each features + fuse_address: fuse register io address + fuse_mask: fuse mask for the fuse registers + fuse_type: fuse feature is enable, disable or value type + hw_map: Hw map of the feature, set bit positions which HWs are + supported for that feature. Use 0xFF if all HWs supported + - interrupt-names Usage: optional diff --git a/lito-camera.dtsi b/lito-camera.dtsi index 5d3771df..0031a93f 100644 --- a/lito-camera.dtsi +++ b/lito-camera.dtsi @@ -1039,8 +1039,8 @@ reg = <0xac40000 0x1000>, <0xac42000 0x6000>; reg-cam-base = <0x40000 0x42000>; - cam_hw_fuse = , - ; + cam_hw_fuse = , + ; interrupt-names = "cpas_camnoc"; interrupts = ; camnoc-axi-min-ib-bw = <3000000000>; diff --git a/shima-camera.dtsi b/shima-camera.dtsi index 15c9292f..53451b41 100644 --- a/shima-camera.dtsi +++ b/shima-camera.dtsi @@ -1317,7 +1317,8 @@ reg = <0xac40000 0x1000>, <0xac42000 0x8000>; reg-cam-base = <0x40000 0x42000>; - cam_hw_fuse = ; + cam_hw_fuse = , + ; interrupt-names = "cpas_camnoc"; interrupts = ; camnoc-axi-min-ib-bw = <3000000000>;