3022-dt-move-guts-devicetree-doc-out-of-powerpc-directory.patch 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. From 0e9d79db770196e94869650d7c4d13ea23937138 Mon Sep 17 00:00:00 2001
  2. From: Yangbo Lu <yangbo.lu@nxp.com>
  3. Date: Mon, 25 Jan 2016 14:27:27 +0800
  4. Subject: [PATCH 22/70] dt: move guts devicetree doc out of powerpc directory
  5. Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/
  6. since it's used by not only PowerPC but also ARM. And add a specification
  7. for 'little-endian' property.
  8. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
  9. ---
  10. .../devicetree/bindings/powerpc/fsl/guts.txt | 41 ------------------
  11. Documentation/devicetree/bindings/soc/fsl/guts.txt | 44 ++++++++++++++++++++
  12. 2 files changed, 44 insertions(+), 41 deletions(-)
  13. delete mode 100644 Documentation/devicetree/bindings/powerpc/fsl/guts.txt
  14. create mode 100644 Documentation/devicetree/bindings/soc/fsl/guts.txt
  15. --- a/Documentation/devicetree/bindings/powerpc/fsl/guts.txt
  16. +++ /dev/null
  17. @@ -1,41 +0,0 @@
  18. -* Global Utilities Block
  19. -
  20. -The global utilities block controls power management, I/O device
  21. -enabling, power-on-reset configuration monitoring, general-purpose
  22. -I/O signal configuration, alternate function selection for multiplexed
  23. -signals, and clock control.
  24. -
  25. -Required properties:
  26. -
  27. - - compatible : Should define the compatible device type for
  28. - global-utilities.
  29. - Possible compatibles:
  30. - "fsl,qoriq-device-config-1.0"
  31. - "fsl,qoriq-device-config-2.0"
  32. - "fsl,<chip>-device-config"
  33. - "fsl,<chip>-guts"
  34. - - reg : Offset and length of the register set for the device.
  35. -
  36. -Recommended properties:
  37. -
  38. - - fsl,has-rstcr : Indicates that the global utilities register set
  39. - contains a functioning "reset control register" (i.e. the board
  40. - is wired to reset upon setting the HRESET_REQ bit in this register).
  41. -
  42. - - fsl,liodn-bits : Indicates the number of defined bits in the LIODN
  43. - registers, for those SOCs that have a PAMU device.
  44. -
  45. -Examples:
  46. - global-utilities@e0000 { /* global utilities block */
  47. - compatible = "fsl,mpc8548-guts";
  48. - reg = <e0000 1000>;
  49. - fsl,has-rstcr;
  50. - };
  51. -
  52. - guts: global-utilities@e0000 {
  53. - compatible = "fsl,qoriq-device-config-1.0";
  54. - reg = <0xe0000 0xe00>;
  55. - fsl,has-rstcr;
  56. - #sleep-cells = <1>;
  57. - fsl,liodn-bits = <12>;
  58. - };
  59. --- /dev/null
  60. +++ b/Documentation/devicetree/bindings/soc/fsl/guts.txt
  61. @@ -0,0 +1,44 @@
  62. +* Global Utilities Block
  63. +
  64. +The global utilities block controls power management, I/O device
  65. +enabling, power-on-reset configuration monitoring, general-purpose
  66. +I/O signal configuration, alternate function selection for multiplexed
  67. +signals, and clock control.
  68. +
  69. +Required properties:
  70. +
  71. + - compatible : Should define the compatible device type for
  72. + global-utilities.
  73. + Possible compatibles:
  74. + "fsl,qoriq-device-config-1.0"
  75. + "fsl,qoriq-device-config-2.0"
  76. + "fsl,<chip>-device-config"
  77. + "fsl,<chip>-guts"
  78. + - reg : Offset and length of the register set for the device.
  79. +
  80. +Recommended properties:
  81. +
  82. + - fsl,has-rstcr : Indicates that the global utilities register set
  83. + contains a functioning "reset control register" (i.e. the board
  84. + is wired to reset upon setting the HRESET_REQ bit in this register).
  85. +
  86. + - fsl,liodn-bits : Indicates the number of defined bits in the LIODN
  87. + registers, for those SOCs that have a PAMU device.
  88. +
  89. + - little-endian : Indicates that the global utilities block is little
  90. + endian. The default is big endian.
  91. +
  92. +Examples:
  93. + global-utilities@e0000 { /* global utilities block */
  94. + compatible = "fsl,mpc8548-guts";
  95. + reg = <e0000 1000>;
  96. + fsl,has-rstcr;
  97. + };
  98. +
  99. + guts: global-utilities@e0000 {
  100. + compatible = "fsl,qoriq-device-config-1.0";
  101. + reg = <0xe0000 0xe00>;
  102. + fsl,has-rstcr;
  103. + #sleep-cells = <1>;
  104. + fsl,liodn-bits = <12>;
  105. + };