ARM: dts: msm: Add vmrm resource id parameter

Add vmrm resource id parameter for vmrm driver, parameter definition
is memory label, memory tag, interrupt label.

CRs-Fixed: 3683770
Change-Id: I3715f7fa32ff4ba1fd402c8294a40220678f287f
Signed-off-by: zhuo <quic_zhuo@quicinc.com>
This commit is contained in:
zhuo
2024-01-09 15:03:32 -08:00
committed by Camera Software Integration
parent 260448ed67
commit eb63869f62
16 changed files with 187 additions and 0 deletions

View File

@@ -126,6 +126,12 @@ First Level Node - CCI device
Value type: <phandle>
Definition: should contain mmagic regulator used for mmagic clocks.
- vmrm-resource-ids
Usage: optional
Value type: <u32>
Definition: should specify vmrm resource id list order is mem label,
mem tag, irq1 label, irq2 label.
=========================
CCI clock settings
=========================
@@ -201,6 +207,7 @@ Example:
pinctrl-1 = <&cci0_suspend>;
pinctrl-2 = <&cci1_active>;
pinctrl-3 = <&cci1_suspend>;
vmrm-resource-ids = <7 7 7>;
i2c_freq_100Khz: qcom,i2c_standard_mode {
hw-thigh = <78>;
hw-tlow = <114>;

View File

@@ -150,6 +150,12 @@ to CDM interface node.
Value type: <empty>
Definition: Flag to indicate whether this is non real time device.
- vmrm-resource-ids
Usage: optional
Value type: <u32>
Definition: should specify vmrm resource id list order is mem label,
mem tag, irq1 label, irq2 label.
Example:
qcom,cpas-cdm0@ac48000 {
cell-index = <0>;
@@ -180,5 +186,6 @@ Example:
config-fifo;
fifo-depths = <64 0 0 0>;
single-context-cdm;
vmrm-resource-ids = <12 12 12>;
status = "ok";
};

View File

@@ -298,6 +298,12 @@ First Level Node - CAM CPAS device
properties for those need to be included for this
property to work.
- vmrm-resource-ids
Usage: optional
Value type: <u32>
Definition: should specify vmrm resource id list order is mem label,
mem tag, irq1 label, irq2 label.
===================================================================
Third Level Node - CAMNOC Level nodes
===================================================================
@@ -521,6 +527,7 @@ Example:
rt-wr-lowstress-indicator-threshold = <0>;
rt-wr-bw-ratio-scale-factor = <1>;
enable-cam-drv;
vmrm-resource-ids = <10 10 10>;
camera-bus-nodes {
level3-nodes {
level-index = <3>;

View File

@@ -139,6 +139,12 @@ First Level Node - CSIPHY device
Value type: <u32>
Definition: List of 0 or 1 values indicating whether shared clk or not.
- vmrm-resource-ids
Usage: optional
Value type: <u32>
Definition: should specify vmrm resource id list order is mem label,
mem tag, irq1 label, irq2 label.
Example:
cam_csiphy0: qcom,csiphy0@ace4000 {
@@ -171,5 +177,6 @@ cam_csiphy0: qcom,csiphy0@ace4000 {
clock-cntl-level = "nominal";
clock-rates =
<480000000 0 400000000 0>;
vmrm-resource-ids = <1 1 1>;
status = "ok";
};

View File

@@ -141,6 +141,12 @@ First Level Node - CAM EEPROM device
Value type: <u32>
Definition: List of clocks rates.
- vmrm-resource-ids
Usage: optional
Value type: <u32>
Definition: should specify vmrm resource id list order is mem label,
mem tag, irq1 label, irq2 label.
Example:
eeprom0: qcom,eeprom@0 {
@@ -174,6 +180,7 @@ Example:
clock-names = "cam_clk";
clock-cntl-level = "turbo";
clock-rates = <24000000>;
vmrm-resource-ids = <32 32>;
};
=======================================================

View File

@@ -179,6 +179,12 @@ and name of firmware image.
Value type: <empty>
Definition: Flag to indicate whether this is non real time device.
- vmrm-resource-ids
Usage: optional
Value type: <u32>
Definition: should specify vmrm resource id list order is mem label,
mem tag, irq1 label, irq2 label.
Examples:
cam_a5: qcom,a5 {
cell-index = <0>;
@@ -258,6 +264,7 @@ cam_lx7: qcom,lx7 {
ubwc-ipe-write-cfg = <0x161ef 0x1620f>;
ubwc-bps-fetch-cfg = <0x707b 0x7083>;
ubwc-bps-write-cfg = <0x161ef 0x1620f>;
vmrm-resource-ids = <29 29 29>;
status = "ok";
};
@@ -299,6 +306,7 @@ cam_ipe0: qcom,ipe0@ac42000 {
clock-cntl-level = "lowsvs", "svs", "svs_l1", "nominal",
"turbo";
nrt-device;
vmrm-resource-ids = <30 30 30>;
status = "ok";
};
@@ -326,6 +334,7 @@ qcom,ipe1 {
<0 0 0 0 600000000>;
clock-cntl-level = "lowsvs", "svs",
"svs_l1", "nominal", "turbo";
vmrm-resource-ids = <31 31 31>;
nrt-device;
};
@@ -363,5 +372,6 @@ cam_bps: qcom,bps@ac2c000 {
clock-cntl-level = "lowsvs", "svs", "svs_l1", "nominal",
"turbo";
nrt-device;
vmrm-resource-ids = <32 32 32>;
status = "ok";
};

View File

@@ -101,6 +101,12 @@ Required properties:
Value type: <string>
Definition: Enable/Disable clk rate control.
- vmrm-resource-ids
Usage: optional
Value type: <u32>
Definition: should specify vmrm resource id list order is mem label,
mem tag, irq1 label, irq2 label.
Example:
cam_sfe0: qcom,sfe0@ac9e000 {
cell-index = <0>;
@@ -133,5 +139,6 @@ cam_sfe0: qcom,sfe0@ac9e000 {
src-clock-name = "sfe_clk_src";
scl-clk-names = "sfe_0_ahb";
clock-control-debugfs = "true";
vmrm-resource-ids = <16 16 16>;
status = "ok";
};

View File

@@ -132,6 +132,12 @@ Optional properties:
Value type: <u32>
Definition: HW unique Pid values
- vmrm-resource-ids
Usage: optional
Value type: <u32>
Definition: should specify vmrm resource id list order is mem label,
mem tag, irq1 label, irq2 label.
Example:
cam_vfe0: qcom,ife0@ac62000 {
cell-index = <0>;
@@ -173,4 +179,5 @@ cam_vfe0: qcom,ife0@ac62000 {
ubwc-static-cfg = <0x1026 0x1036>;
cam_hw_pid = <16 28 20 8>;
status = "ok";
vmrm-resource-ids = <20 20 20>;
};