diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2016-12-21 07:30:19 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-21 07:30:19 -0800 |
commit | d69dbc634df9fafa6a5423dd751441fdd1ab8daa (patch) | |
tree | 37556eb8f6702af4071ff5b5a689e1b455028901 /Documentation | |
parent | e4095dcdc4499bcf594f78087693f817813693fc (diff) | |
parent | fa4531b69a269cceb35144f883bddb9c3e348c9f (diff) |
Merge "ARM: dts: msm: Add support for clock debug for MSMfalcon/MSMtriton"
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/clock/qcom,gcc-dbg.txt | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-dbg.txt b/Documentation/devicetree/bindings/clock/qcom,gcc-dbg.txt new file mode 100644 index 000000000000..e1ccf69b751b --- /dev/null +++ b/Documentation/devicetree/bindings/clock/qcom,gcc-dbg.txt @@ -0,0 +1,58 @@ +Qualcomm Technologies Inc Global Clock Debug Controller Binding +--------------------------------------------------------------- + +Required properties : +- compatible: shall contain the following: + "qcom,gcc-debug-msmfalcon" + +- reg: shall contain global clock controller + base register offset location and length. +- reg-name: "dbg_offset" +- #clock-cells: shall contain 1 +- qcom,cc-count: shall contain a non-zero value(min 1). This + indicates the number of debug clock controllers + available. +- clocks: XO clock phandle. +- clock-names: Name of the clock. +- qcom,gcc: The syscon phandle for GCC clock controller. + +Optional properties : +In the case where "qcom,cc-count" is > 1, the below needs to be defined. +- qcom,gpu : The syscon phandle for Graphics debug controller. +- qcom,cpu : The syscon phandle for CPU debug controller. +- qcom,mmss : The syscon phandle for Multimedia debug controller. + +Example: + clock_gcc: clock-controller@100000 { + compatible = "qcom,gcc-msmfalcon", "syscon"; + .... + }; + + cpu_debug: syscon@1791101c { + compatible = "syscon"; + reg = <0x1791101c 0x4>; + }; + + gpu_debug: syscon@5065120 { + compatible = "syscon"; + reg = <0x5065120 0x4>; + }; + + mmss_debug: syscon@c8c0900 { + compatible = "syscon"; + reg = <0xc8c0900 0x4>; + }; + + clock_debug: qcom,cc-debug@62000 { + compatible = "qcom,gcc-debug-msmfalcon"; + reg = <0x62000 0x4>; + reg-names = "cc_offset"; + clocks = <&clock_rpmcc RPM_XO_CLK_SRC>; + clock-names = "xo_clk_src"; + qcom,cc-count = <4>; + qcom,gcc = <&clock_gcc>; + qcom,cpu = <&cpu_debug>; + qcom,gpu = <&gpu_debug>; + qcom,mmss = <&mmss_debug>; + #clock-cells = <1>; + }; |