mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "dt-bindings: Add dt bindings for jtagv8 driver"
This commit is contained in:
commit
cc531b429d
1 changed files with 32 additions and 0 deletions
32
bindings/arm/msm/jtag-mm.txt
Normal file
32
bindings/arm/msm/jtag-mm.txt
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
* JTAG-MM
|
||||
|
||||
The jtag-mm entry specifies the memory mapped addresses for the debug and ETM
|
||||
registers. The jtag-mm driver uses these to save and restore the registers
|
||||
using memory mapped access during power collapse so as to retain their state
|
||||
across power collapse. This is necessary in case cp14 access to the registers
|
||||
is not permitted.
|
||||
|
||||
Required Properties:
|
||||
compatible: component name used for driver matching, should be:
|
||||
"qcom,jtag-mm" - for jtag-mm device
|
||||
"qcom,jtagv8-mm" - for jtagv8-mm device supporting ARMv8 targets
|
||||
|
||||
reg: physical base address and length of the register set
|
||||
reg-names: should be "etm-base" for etm register set and "debug-base"
|
||||
for debug register set.
|
||||
qcom,coresight-jtagmm-cpu: specifies phandle for the cpu associated
|
||||
with the jtag-mm device
|
||||
qcom,si-enable : boolean, indicating etm save and restore is
|
||||
supported via system instructions
|
||||
qcom,save-restore-disable : boolean, to disable etm save and restore
|
||||
functionality
|
||||
|
||||
Example:
|
||||
jtag_mm: jtagmm@fc332000 {
|
||||
compatible = "qcom,jtag-mm";
|
||||
reg = <0xfc332000 0x1000>,
|
||||
<0xfc333000 0x1000>;
|
||||
reg-names = "etm-base","debug-base";
|
||||
|
||||
qcom,coresight-jtagmm-cpu = <&CPU0>;
|
||||
};
|
||||
Loading…
Reference in a new issue