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