0007-dt-bindings-ARM-Mediatek-Document-bindings-for-MT270.patch 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. From d7e96f87f66c571e9f4171ecd89c656fbd2de89b Mon Sep 17 00:00:00 2001
  2. From: James Liao <[email protected]>
  3. Date: Tue, 5 Jan 2016 14:30:18 +0800
  4. Subject: [PATCH 07/53] dt-bindings: ARM: Mediatek: Document bindings for
  5. MT2701
  6. This patch adds the binding documentation for apmixedsys, bdpsys,
  7. ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and
  8. vdecsys for Mediatek MT2701.
  9. Signed-off-by: James Liao <[email protected]>
  10. ---
  11. .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 +
  12. .../bindings/arm/mediatek/mediatek,bdpsys.txt | 22 ++++++++++++++++++++
  13. .../bindings/arm/mediatek/mediatek,ethsys.txt | 22 ++++++++++++++++++++
  14. .../bindings/arm/mediatek/mediatek,hifsys.txt | 22 ++++++++++++++++++++
  15. .../bindings/arm/mediatek/mediatek,imgsys.txt | 1 +
  16. .../bindings/arm/mediatek/mediatek,infracfg.txt | 1 +
  17. .../bindings/arm/mediatek/mediatek,mmsys.txt | 1 +
  18. .../bindings/arm/mediatek/mediatek,pericfg.txt | 1 +
  19. .../bindings/arm/mediatek/mediatek,topckgen.txt | 1 +
  20. .../bindings/arm/mediatek/mediatek,vdecsys.txt | 1 +
  21. 10 files changed, 73 insertions(+)
  22. create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
  23. create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
  24. create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
  25. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
  26. index 936166f..a701e19 100644
  27. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
  28. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
  29. @@ -6,6 +6,7 @@ The Mediatek apmixedsys controller provides the PLLs to the system.
  30. Required Properties:
  31. - compatible: Should be:
  32. + - "mediatek,mt2701-apmixedsys"
  33. - "mediatek,mt8135-apmixedsys"
  34. - "mediatek,mt8173-apmixedsys"
  35. - #clock-cells: Must be 1
  36. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
  37. new file mode 100644
  38. index 0000000..4137196
  39. --- /dev/null
  40. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
  41. @@ -0,0 +1,22 @@
  42. +Mediatek bdpsys controller
  43. +============================
  44. +
  45. +The Mediatek bdpsys controller provides various clocks to the system.
  46. +
  47. +Required Properties:
  48. +
  49. +- compatible: Should be:
  50. + - "mediatek,mt2701-bdpsys", "syscon"
  51. +- #clock-cells: Must be 1
  52. +
  53. +The bdpsys controller uses the common clk binding from
  54. +Documentation/devicetree/bindings/clock/clock-bindings.txt
  55. +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
  56. +
  57. +Example:
  58. +
  59. +bdpsys: clock-controller@1c000000 {
  60. + compatible = "mediatek,mt2701-bdpsys", "syscon";
  61. + reg = <0 0x1c000000 0 0x1000>;
  62. + #clock-cells = <1>;
  63. +};
  64. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
  65. new file mode 100644
  66. index 0000000..768f3a5
  67. --- /dev/null
  68. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
  69. @@ -0,0 +1,22 @@
  70. +Mediatek ethsys controller
  71. +============================
  72. +
  73. +The Mediatek ethsys controller provides various clocks to the system.
  74. +
  75. +Required Properties:
  76. +
  77. +- compatible: Should be:
  78. + - "mediatek,mt2701-ethsys", "syscon"
  79. +- #clock-cells: Must be 1
  80. +
  81. +The ethsys controller uses the common clk binding from
  82. +Documentation/devicetree/bindings/clock/clock-bindings.txt
  83. +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
  84. +
  85. +Example:
  86. +
  87. +ethsys: clock-controller@1b000000 {
  88. + compatible = "mediatek,mt2701-ethsys", "syscon";
  89. + reg = <0 0x1b000000 0 0x1000>;
  90. + #clock-cells = <1>;
  91. +};
  92. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
  93. new file mode 100644
  94. index 0000000..b7a39b6
  95. --- /dev/null
  96. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
  97. @@ -0,0 +1,22 @@
  98. +Mediatek hifsys controller
  99. +============================
  100. +
  101. +The Mediatek hifsys controller provides various clocks to the system.
  102. +
  103. +Required Properties:
  104. +
  105. +- compatible: Should be:
  106. + - "mediatek,mt2701-hifsys", "syscon"
  107. +- #clock-cells: Must be 1
  108. +
  109. +The hifsys controller uses the common clk binding from
  110. +Documentation/devicetree/bindings/clock/clock-bindings.txt
  111. +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
  112. +
  113. +Example:
  114. +
  115. +hifsys: clock-controller@1a000000 {
  116. + compatible = "mediatek,mt2701-hifsys", "syscon";
  117. + reg = <0 0x1a000000 0 0x1000>;
  118. + #clock-cells = <1>;
  119. +};
  120. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
  121. index b1f2ce1..9bda7f7 100644
  122. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
  123. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
  124. @@ -6,6 +6,7 @@ The Mediatek imgsys controller provides various clocks to the system.
  125. Required Properties:
  126. - compatible: Should be:
  127. + - "mediatek,mt2701-imgsys", "syscon"
  128. - "mediatek,mt8173-imgsys", "syscon"
  129. - #clock-cells: Must be 1
  130. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
  131. index f6cd3e4..2f11a69 100644
  132. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
  133. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
  134. @@ -7,6 +7,7 @@ outputs to the system.
  135. Required Properties:
  136. - compatible: Should be:
  137. + - "mediatek,mt2701-infracfg", "syscon"
  138. - "mediatek,mt8135-infracfg", "syscon"
  139. - "mediatek,mt8173-infracfg", "syscon"
  140. - #clock-cells: Must be 1
  141. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
  142. index 4385946..c9d9d43 100644
  143. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
  144. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
  145. @@ -6,6 +6,7 @@ The Mediatek mmsys controller provides various clocks to the system.
  146. Required Properties:
  147. - compatible: Should be:
  148. + - "mediatek,mt2701-mmsys", "syscon"
  149. - "mediatek,mt8173-mmsys", "syscon"
  150. - #clock-cells: Must be 1
  151. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
  152. index f25b854..d3454cd 100644
  153. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
  154. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
  155. @@ -7,6 +7,7 @@ outputs to the system.
  156. Required Properties:
  157. - compatible: Should be:
  158. + - "mediatek,mt2701-pericfg", "syscon"
  159. - "mediatek,mt8135-pericfg", "syscon"
  160. - "mediatek,mt8173-pericfg", "syscon"
  161. - #clock-cells: Must be 1
  162. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
  163. index f9e9179..602e5bc 100644
  164. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
  165. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
  166. @@ -6,6 +6,7 @@ The Mediatek topckgen controller provides various clocks to the system.
  167. Required Properties:
  168. - compatible: Should be:
  169. + - "mediatek,mt2701-topckgen"
  170. - "mediatek,mt8135-topckgen"
  171. - "mediatek,mt8173-topckgen"
  172. - #clock-cells: Must be 1
  173. diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
  174. index 1faacf1..f5b1e7d 100644
  175. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
  176. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
  177. @@ -6,6 +6,7 @@ The Mediatek vdecsys controller provides various clocks to the system.
  178. Required Properties:
  179. - compatible: Should be:
  180. + - "mediatek,mt2701-vdecsys", "syscon"
  181. - "mediatek,mt8173-vdecsys", "syscon"
  182. - #clock-cells: Must be 1
  183. --
  184. 1.7.10.4