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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. From 7c98b20fa68a2a64bca69822eb7be4fa9b668fab Mon Sep 17 00:00:00 2001
  2. From: James Liao <jamesjj.liao@mediatek.com>
  3. Date: Tue, 5 Jan 2016 14:30:18 +0800
  4. Subject: [PATCH 007/102] 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 <jamesjj.liao@mediatek.com>
  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. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
  26. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt
  27. @@ -6,6 +6,7 @@ The Mediatek apmixedsys controller provi
  28. Required Properties:
  29. - compatible: Should be:
  30. + - "mediatek,mt2701-apmixedsys"
  31. - "mediatek,mt8135-apmixedsys"
  32. - "mediatek,mt8173-apmixedsys"
  33. - #clock-cells: Must be 1
  34. --- /dev/null
  35. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt
  36. @@ -0,0 +1,22 @@
  37. +Mediatek bdpsys controller
  38. +============================
  39. +
  40. +The Mediatek bdpsys controller provides various clocks to the system.
  41. +
  42. +Required Properties:
  43. +
  44. +- compatible: Should be:
  45. + - "mediatek,mt2701-bdpsys", "syscon"
  46. +- #clock-cells: Must be 1
  47. +
  48. +The bdpsys controller uses the common clk binding from
  49. +Documentation/devicetree/bindings/clock/clock-bindings.txt
  50. +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
  51. +
  52. +Example:
  53. +
  54. +bdpsys: clock-controller@1c000000 {
  55. + compatible = "mediatek,mt2701-bdpsys", "syscon";
  56. + reg = <0 0x1c000000 0 0x1000>;
  57. + #clock-cells = <1>;
  58. +};
  59. --- /dev/null
  60. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
  61. @@ -0,0 +1,22 @@
  62. +Mediatek ethsys controller
  63. +============================
  64. +
  65. +The Mediatek ethsys controller provides various clocks to the system.
  66. +
  67. +Required Properties:
  68. +
  69. +- compatible: Should be:
  70. + - "mediatek,mt2701-ethsys", "syscon"
  71. +- #clock-cells: Must be 1
  72. +
  73. +The ethsys controller uses the common clk binding from
  74. +Documentation/devicetree/bindings/clock/clock-bindings.txt
  75. +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
  76. +
  77. +Example:
  78. +
  79. +ethsys: clock-controller@1b000000 {
  80. + compatible = "mediatek,mt2701-ethsys", "syscon";
  81. + reg = <0 0x1b000000 0 0x1000>;
  82. + #clock-cells = <1>;
  83. +};
  84. --- /dev/null
  85. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt
  86. @@ -0,0 +1,22 @@
  87. +Mediatek hifsys controller
  88. +============================
  89. +
  90. +The Mediatek hifsys controller provides various clocks to the system.
  91. +
  92. +Required Properties:
  93. +
  94. +- compatible: Should be:
  95. + - "mediatek,mt2701-hifsys", "syscon"
  96. +- #clock-cells: Must be 1
  97. +
  98. +The hifsys controller uses the common clk binding from
  99. +Documentation/devicetree/bindings/clock/clock-bindings.txt
  100. +The available clocks are defined in dt-bindings/clock/mt*-clk.h.
  101. +
  102. +Example:
  103. +
  104. +hifsys: clock-controller@1a000000 {
  105. + compatible = "mediatek,mt2701-hifsys", "syscon";
  106. + reg = <0 0x1a000000 0 0x1000>;
  107. + #clock-cells = <1>;
  108. +};
  109. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
  110. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
  111. @@ -6,6 +6,7 @@ The Mediatek imgsys controller provides
  112. Required Properties:
  113. - compatible: Should be:
  114. + - "mediatek,mt2701-imgsys", "syscon"
  115. - "mediatek,mt8173-imgsys", "syscon"
  116. - #clock-cells: Must be 1
  117. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
  118. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
  119. @@ -7,6 +7,7 @@ outputs to the system.
  120. Required Properties:
  121. - compatible: Should be:
  122. + - "mediatek,mt2701-infracfg", "syscon"
  123. - "mediatek,mt8135-infracfg", "syscon"
  124. - "mediatek,mt8173-infracfg", "syscon"
  125. - #clock-cells: Must be 1
  126. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
  127. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
  128. @@ -6,6 +6,7 @@ The Mediatek mmsys controller provides v
  129. Required Properties:
  130. - compatible: Should be:
  131. + - "mediatek,mt2701-mmsys", "syscon"
  132. - "mediatek,mt8173-mmsys", "syscon"
  133. - #clock-cells: Must be 1
  134. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
  135. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt
  136. @@ -7,6 +7,7 @@ outputs to the system.
  137. Required Properties:
  138. - compatible: Should be:
  139. + - "mediatek,mt2701-pericfg", "syscon"
  140. - "mediatek,mt8135-pericfg", "syscon"
  141. - "mediatek,mt8173-pericfg", "syscon"
  142. - #clock-cells: Must be 1
  143. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
  144. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
  145. @@ -6,6 +6,7 @@ The Mediatek topckgen controller provide
  146. Required Properties:
  147. - compatible: Should be:
  148. + - "mediatek,mt2701-topckgen"
  149. - "mediatek,mt8135-topckgen"
  150. - "mediatek,mt8173-topckgen"
  151. - #clock-cells: Must be 1
  152. --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
  153. +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
  154. @@ -6,6 +6,7 @@ The Mediatek vdecsys controller provides
  155. Required Properties:
  156. - compatible: Should be:
  157. + - "mediatek,mt2701-vdecsys", "syscon"
  158. - "mediatek,mt8173-vdecsys", "syscon"
  159. - #clock-cells: Must be 1