msm: cpp: Use the micro reset binding to decide if micro can be reset
Read the micro reset binding to decide if micro can be reset. This will reset micro and prevent load firmware failures during power sequences. CRs-Fixed: 1098549 Change-Id: Ic46702dd6670f08e034ad0671d82a0bdcef80dd4 Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
This commit is contained in:
parent
1051be44eb
commit
92d5d6f27e
2 changed files with 8 additions and 0 deletions
|
@ -68,6 +68,8 @@ Optional properties:
|
|||
platforms that support such feature.
|
||||
- qcom,vbif-setting: The offset and value for vbif core qos registers.
|
||||
The first entry is register offset and second entry is register value.
|
||||
- qcom,micro-reset: Boolean flag indicating if micro reset need to be enabled.
|
||||
This needs to present on platforms that support this feature.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -111,6 +113,7 @@ Example:
|
|||
<0x2C 0x10000000>;
|
||||
qcom,src-clock-rates = <100000000 200000000 384000000 404000000
|
||||
480000000 576000000 600000000>;
|
||||
qcom,micro-reset;
|
||||
qcom,cpp-fw-payload-info {
|
||||
qcom,stripe-base = <553>;
|
||||
qcom,plane-base = <481>;
|
||||
|
|
|
@ -53,6 +53,11 @@ void msm_cpp_fetch_dt_params(struct cpp_device *cpp_dev)
|
|||
&cpp_dev->bus_master_flag);
|
||||
if (rc)
|
||||
cpp_dev->bus_master_flag = 0;
|
||||
|
||||
if (of_property_read_bool(of_node, "qcom,micro-reset"))
|
||||
cpp_dev->micro_reset = 1;
|
||||
else
|
||||
cpp_dev->micro_reset = 0;
|
||||
}
|
||||
|
||||
int msm_cpp_get_clock_index(struct cpp_device *cpp_dev, const char *clk_name)
|
||||
|
|
Loading…
Add table
Reference in a new issue