~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml (Version linux-5.8.18)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/power/fsl,i      4 $id: http://devicetree.org/schemas/power/fsl,imx-gpcv2.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale i.MX General Power Controller      7 title: Freescale i.MX General Power Controller v2
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Andrey Smirnov <andrew.smirnov@gmail.com>       10   - Andrey Smirnov <andrew.smirnov@gmail.com>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The i.MX7S/D General Power Control (GPC) blo     13   The i.MX7S/D General Power Control (GPC) block contains Power Gating
 14   Control (PGC) for various power domains.         14   Control (PGC) for various power domains.
 15                                                    15 
 16   Power domains contained within GPC node are      16   Power domains contained within GPC node are generic power domain
 17   providers, documented in                         17   providers, documented in
 18   Documentation/devicetree/bindings/power/powe     18   Documentation/devicetree/bindings/power/power-domain.yaml, which are
 19   described as subnodes of the power gating co     19   described as subnodes of the power gating controller 'pgc' node.
 20                                                    20 
 21   IP cores belonging to a power domain should      21   IP cores belonging to a power domain should contain a 'power-domains'
 22   property that is a phandle for PGC node repr     22   property that is a phandle for PGC node representing the domain.
 23                                                    23 
 24 properties:                                        24 properties:
 25   compatible:                                      25   compatible:
 26     enum:                                          26     enum:
 27       - fsl,imx7d-gpc                              27       - fsl,imx7d-gpc
 28       - fsl,imx8mn-gpc                         << 
 29       - fsl,imx8mq-gpc                             28       - fsl,imx8mq-gpc
 30       - fsl,imx8mm-gpc                         << 
 31       - fsl,imx8mp-gpc                         << 
 32                                                    29 
 33   reg:                                             30   reg:
 34     maxItems: 1                                    31     maxItems: 1
 35                                                    32 
 36   interrupts:                                      33   interrupts:
 37     maxItems: 1                                    34     maxItems: 1
 38                                                    35 
 39   interrupt-controller: true                   << 
 40   '#interrupt-cells':                          << 
 41     const: 3                                   << 
 42                                                << 
 43   pgc:                                             36   pgc:
 44     type: object                                   37     type: object
 45     additionalProperties: false                << 
 46     description: list of power domains provide     38     description: list of power domains provided by this controller.
 47                                                    39 
 48     properties:                                << 
 49       '#address-cells':                        << 
 50         const: 1                               << 
 51                                                << 
 52       '#size-cells':                           << 
 53         const: 0                               << 
 54                                                << 
 55     patternProperties:                             40     patternProperties:
 56       "power-domain@[0-9a-f]+$":               !!  41       "power-domain@[0-9]$":
 57         type: object                               42         type: object
 58         additionalProperties: false            << 
 59                                                << 
 60         properties:                                43         properties:
 61                                                    44 
 62           '#power-domain-cells':                   45           '#power-domain-cells':
 63             const: 0                               46             const: 0
 64                                                    47 
 65           reg:                                     48           reg:
 66             description: |                         49             description: |
 67               Power domain index. Valid values     50               Power domain index. Valid values are defined in
 68               include/dt-bindings/power/imx7-p     51               include/dt-bindings/power/imx7-power.h for fsl,imx7d-gpc and
 69               include/dt-bindings/power/imx8m-     52               include/dt-bindings/power/imx8m-power.h for fsl,imx8mq-gpc
 70               include/dt-bindings/power/imx8mm << 
 71               include/dt-bindings/power/imx8mp << 
 72             maxItems: 1                            53             maxItems: 1
 73                                                    54 
 74           clocks:                                  55           clocks:
 75             description: |                         56             description: |
 76               A number of phandles to clocks t     57               A number of phandles to clocks that need to be enabled during domain
 77               power-up sequencing to ensure re     58               power-up sequencing to ensure reset propagation into devices located
 78               inside this power domain.            59               inside this power domain.
 79             minItems: 1                            60             minItems: 1
 80             maxItems: 5                            61             maxItems: 5
 81                                                    62 
 82           power-supply: true                       63           power-supply: true
 83                                                    64 
 84           power-domains:                       << 
 85             maxItems: 1                        << 
 86                                                << 
 87           resets:                              << 
 88             description: |                     << 
 89               A number of phandles to resets t << 
 90               power-up sequencing of the domai << 
 91               located inside the power domain, << 
 92               across the power-up sequence. So << 
 93               reset is in a generic power-doma << 
 94             minItems: 1                        << 
 95             maxItems: 4                        << 
 96                                                << 
 97         required:                                  65         required:
 98           - '#power-domain-cells'                  66           - '#power-domain-cells'
 99           - reg                                    67           - reg
100                                                << 
101     required:                                  << 
102       - '#address-cells'                       << 
103       - '#size-cells'                          << 
104                                                    68 
105 required:                                          69 required:
106   - compatible                                     70   - compatible
107   - reg                                            71   - reg
108   - interrupts                                     72   - interrupts
109   - pgc                                            73   - pgc
110                                                    74 
111 additionalProperties: false                        75 additionalProperties: false
112                                                    76 
113 examples:                                          77 examples:
114   - |                                              78   - |
115     #include <dt-bindings/interrupt-controller     79     #include <dt-bindings/interrupt-controller/arm-gic.h>
116                                                    80 
117     gpc@303a0000 {                                 81     gpc@303a0000 {
118         compatible = "fsl,imx7d-gpc";              82         compatible = "fsl,imx7d-gpc";
119         reg = <0x303a0000 0x1000>;                 83         reg = <0x303a0000 0x1000>;
120         interrupts = <GIC_SPI 87 IRQ_TYPE_LEVE     84         interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
121                                                    85 
122         pgc {                                      86         pgc {
123             #address-cells = <1>;                  87             #address-cells = <1>;
124             #size-cells = <0>;                     88             #size-cells = <0>;
125                                                    89 
126             pgc_mipi_phy: power-domain@0 {         90             pgc_mipi_phy: power-domain@0 {
127                 #power-domain-cells = <0>;         91                 #power-domain-cells = <0>;
128                 reg = <0>;                         92                 reg = <0>;
129                 power-supply = <&reg_1p0d>;        93                 power-supply = <&reg_1p0d>;
130             };                                     94             };
131                                                    95 
132             pgc_pcie_phy: power-domain@1 {         96             pgc_pcie_phy: power-domain@1 {
133                 #power-domain-cells = <0>;         97                 #power-domain-cells = <0>;
134                 reg = <1>;                         98                 reg = <1>;
135                 power-supply = <&reg_1p0d>;        99                 power-supply = <&reg_1p0d>;
136             };                                    100             };
137                                                   101 
138             pgc_hsic_phy: power-domain@2 {        102             pgc_hsic_phy: power-domain@2 {
139                 #power-domain-cells = <0>;        103                 #power-domain-cells = <0>;
140                 reg = <2>;                        104                 reg = <2>;
141                 power-supply = <&reg_1p2>;        105                 power-supply = <&reg_1p2>;
142             };                                    106             };
143         };                                        107         };
144     };                                            108     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php