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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.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/amlogic,meson-ee-pwrc.yaml (Architecture i386) and /Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml (Architecture sparc)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 # Copyright 2019 BayLibre, SAS                      2 # Copyright 2019 BayLibre, SAS
  3 %YAML 1.2                                           3 %YAML 1.2
  4 ---                                                 4 ---
  5 $id: http://devicetree.org/schemas/power/amlog      5 $id: http://devicetree.org/schemas/power/amlogic,meson-ee-pwrc.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: Amlogic Meson Everything-Else Power Dom      8 title: Amlogic Meson Everything-Else Power Domains
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Neil Armstrong <neil.armstrong@linaro.org>      11   - Neil Armstrong <neil.armstrong@linaro.org>
 12                                                    12 
 13 description: |+                                    13 description: |+
 14   The Everything-Else Power Domains node shoul     14   The Everything-Else Power Domains node should be the child of a syscon
 15   node with the required property:                 15   node with the required property:
 16                                                    16 
 17   - compatible: Should be the following:           17   - compatible: Should be the following:
 18                 "amlogic,meson-gx-hhi-sysctrl"     18                 "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon"
 19                                                    19 
 20   Refer to the bindings described in               20   Refer to the bindings described in
 21   Documentation/devicetree/bindings/mfd/syscon     21   Documentation/devicetree/bindings/mfd/syscon.yaml
 22                                                    22 
 23 properties:                                        23 properties:
 24   compatible:                                      24   compatible:
 25     enum:                                          25     enum:
 26       - amlogic,meson8-pwrc                        26       - amlogic,meson8-pwrc
 27       - amlogic,meson8b-pwrc                       27       - amlogic,meson8b-pwrc
 28       - amlogic,meson8m2-pwrc                      28       - amlogic,meson8m2-pwrc
 29       - amlogic,meson-gxbb-pwrc                    29       - amlogic,meson-gxbb-pwrc
 30       - amlogic,meson-axg-pwrc                     30       - amlogic,meson-axg-pwrc
 31       - amlogic,meson-g12a-pwrc                    31       - amlogic,meson-g12a-pwrc
 32       - amlogic,meson-sm1-pwrc                     32       - amlogic,meson-sm1-pwrc
 33                                                    33 
 34   clocks:                                          34   clocks:
 35     minItems: 1                                    35     minItems: 1
 36     maxItems: 2                                    36     maxItems: 2
 37                                                    37 
 38   clock-names:                                     38   clock-names:
 39     minItems: 1                                    39     minItems: 1
 40     items:                                         40     items:
 41       - const: vpu                                 41       - const: vpu
 42       - const: vapb                                42       - const: vapb
 43                                                    43 
 44   resets:                                          44   resets:
 45     minItems: 5                                    45     minItems: 5
 46     maxItems: 12                                   46     maxItems: 12
 47                                                    47 
 48   reset-names:                                     48   reset-names:
 49     minItems: 5                                    49     minItems: 5
 50     maxItems: 12                                   50     maxItems: 12
 51                                                    51 
 52   "#power-domain-cells":                           52   "#power-domain-cells":
 53     const: 1                                       53     const: 1
 54                                                    54 
 55   amlogic,ao-sysctrl:                              55   amlogic,ao-sysctrl:
 56     description: phandle to the AO sysctrl nod     56     description: phandle to the AO sysctrl node
 57     $ref: /schemas/types.yaml#/definitions/pha     57     $ref: /schemas/types.yaml#/definitions/phandle
 58                                                    58 
 59 allOf:                                             59 allOf:
 60   - if:                                            60   - if:
 61       properties:                                  61       properties:
 62         compatible:                                62         compatible:
 63           enum:                                    63           enum:
 64             - amlogic,meson8b-pwrc                 64             - amlogic,meson8b-pwrc
 65             - amlogic,meson8m2-pwrc                65             - amlogic,meson8m2-pwrc
 66     then:                                          66     then:
 67       properties:                                  67       properties:
 68         reset-names:                               68         reset-names:
 69           items:                                   69           items:
 70             - const: dblk                          70             - const: dblk
 71             - const: pic_dc                        71             - const: pic_dc
 72             - const: hdmi_apb                      72             - const: hdmi_apb
 73             - const: hdmi_system                   73             - const: hdmi_system
 74             - const: venci                         74             - const: venci
 75             - const: vencp                         75             - const: vencp
 76             - const: vdac                          76             - const: vdac
 77             - const: vencl                         77             - const: vencl
 78             - const: viu                           78             - const: viu
 79             - const: venc                          79             - const: venc
 80             - const: rdma                          80             - const: rdma
 81       required:                                    81       required:
 82         - resets                                   82         - resets
 83         - reset-names                              83         - reset-names
 84                                                    84 
 85   - if:                                            85   - if:
 86       properties:                                  86       properties:
 87         compatible:                                87         compatible:
 88           enum:                                    88           enum:
 89             - amlogic,meson-gxbb-pwrc              89             - amlogic,meson-gxbb-pwrc
 90     then:                                          90     then:
 91       properties:                                  91       properties:
 92         reset-names:                               92         reset-names:
 93           items:                                   93           items:
 94             - const: viu                           94             - const: viu
 95             - const: venc                          95             - const: venc
 96             - const: vcbus                         96             - const: vcbus
 97             - const: bt656                         97             - const: bt656
 98             - const: dvin                          98             - const: dvin
 99             - const: rdma                          99             - const: rdma
100             - const: venci                        100             - const: venci
101             - const: vencp                        101             - const: vencp
102             - const: vdac                         102             - const: vdac
103             - const: vdi6                         103             - const: vdi6
104             - const: vencl                        104             - const: vencl
105             - const: vid_lock                     105             - const: vid_lock
106       required:                                   106       required:
107         - resets                                  107         - resets
108         - reset-names                             108         - reset-names
109                                                   109 
110   - if:                                           110   - if:
111       properties:                                 111       properties:
112         compatible:                               112         compatible:
113           enum:                                   113           enum:
114             - amlogic,meson-axg-pwrc              114             - amlogic,meson-axg-pwrc
115     then:                                         115     then:
116       properties:                                 116       properties:
117         reset-names:                              117         reset-names:
118           items:                                  118           items:
119             - const: viu                          119             - const: viu
120             - const: venc                         120             - const: venc
121             - const: vcbus                        121             - const: vcbus
122             - const: vencl                        122             - const: vencl
123             - const: vid_lock                     123             - const: vid_lock
124       required:                                   124       required:
125         - resets                                  125         - resets
126         - reset-names                             126         - reset-names
127                                                   127 
128   - if:                                           128   - if:
129       properties:                                 129       properties:
130         compatible:                               130         compatible:
131           enum:                                   131           enum:
132             - amlogic,meson-g12a-pwrc             132             - amlogic,meson-g12a-pwrc
133             - amlogic,meson-sm1-pwrc              133             - amlogic,meson-sm1-pwrc
134     then:                                         134     then:
135       properties:                                 135       properties:
136         reset-names:                              136         reset-names:
137           items:                                  137           items:
138             - const: viu                          138             - const: viu
139             - const: venc                         139             - const: venc
140             - const: vcbus                        140             - const: vcbus
141             - const: bt656                        141             - const: bt656
142             - const: rdma                         142             - const: rdma
143             - const: venci                        143             - const: venci
144             - const: vencp                        144             - const: vencp
145             - const: vdac                         145             - const: vdac
146             - const: vdi6                         146             - const: vdi6
147             - const: vencl                        147             - const: vencl
148             - const: vid_lock                     148             - const: vid_lock
149       required:                                   149       required:
150         - resets                                  150         - resets
151         - reset-names                             151         - reset-names
152                                                   152 
153 required:                                         153 required:
154   - compatible                                    154   - compatible
155   - clocks                                        155   - clocks
156   - clock-names                                   156   - clock-names
157   - "#power-domain-cells"                         157   - "#power-domain-cells"
158   - amlogic,ao-sysctrl                            158   - amlogic,ao-sysctrl
159                                                   159 
160 additionalProperties: false                       160 additionalProperties: false
161                                                   161 
162 examples:                                         162 examples:
163   - |                                             163   - |
164     pwrc: power-controller {                      164     pwrc: power-controller {
165           compatible = "amlogic,meson-sm1-pwrc    165           compatible = "amlogic,meson-sm1-pwrc";
166           #power-domain-cells = <1>;              166           #power-domain-cells = <1>;
167           amlogic,ao-sysctrl = <&rti>;            167           amlogic,ao-sysctrl = <&rti>;
168           resets = <&reset_viu>,                  168           resets = <&reset_viu>,
169                    <&reset_venc>,                 169                    <&reset_venc>,
170                    <&reset_vcbus>,                170                    <&reset_vcbus>,
171                    <&reset_bt656>,                171                    <&reset_bt656>,
172                    <&reset_rdma>,                 172                    <&reset_rdma>,
173                    <&reset_venci>,                173                    <&reset_venci>,
174                    <&reset_vencp>,                174                    <&reset_vencp>,
175                    <&reset_vdac>,                 175                    <&reset_vdac>,
176                    <&reset_vdi6>,                 176                    <&reset_vdi6>,
177                    <&reset_vencl>,                177                    <&reset_vencl>,
178                    <&reset_vid_lock>;             178                    <&reset_vid_lock>;
179           reset-names = "viu", "venc", "vcbus"    179           reset-names = "viu", "venc", "vcbus", "bt656",
180                         "rdma", "venci", "venc    180                         "rdma", "venci", "vencp", "vdac",
181                         "vdi6", "vencl", "vid_    181                         "vdi6", "vencl", "vid_lock";
182           clocks = <&clk_vpu>, <&clk_vapb>;       182           clocks = <&clk_vpu>, <&clk_vapb>;
183           clock-names = "vpu", "vapb";            183           clock-names = "vpu", "vapb";
184     };                                            184     };
                                                      

~ [ 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