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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/renesas,sysc-rmobile.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/renesas,sysc-rmobile.yaml (Architecture i386) and /Documentation/devicetree/bindings/power/renesas,sysc-rmobile.yaml (Architecture sparc)


  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/renes      4 $id: http://devicetree.org/schemas/power/renesas,sysc-rmobile.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Renesas R-Mobile System Controller           7 title: Renesas R-Mobile System Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Geert Uytterhoeven <geert+renesas@glider.be     10   - Geert Uytterhoeven <geert+renesas@glider.be>
 11   - Magnus Damm <magnus.damm@gmail.com>             11   - Magnus Damm <magnus.damm@gmail.com>
 12                                                    12 
 13 description: |                                     13 description: |
 14   The R-Mobile System Controller provides the      14   The R-Mobile System Controller provides the following functions:
 15     - Boot mode management,                        15     - Boot mode management,
 16     - Reset generation,                            16     - Reset generation,
 17     - Power management.                            17     - Power management.
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     items:                                         21     items:
 22       - enum:                                      22       - enum:
 23           - renesas,sysc-r8a73a4    # R-Mobile     23           - renesas,sysc-r8a73a4    # R-Mobile APE6
 24           - renesas,sysc-r8a7740    # R-Mobile     24           - renesas,sysc-r8a7740    # R-Mobile A1
 25           - renesas,sysc-sh73a0     # SH-Mobil     25           - renesas,sysc-sh73a0     # SH-Mobile AG5
 26       - const: renesas,sysc-rmobile # Generic      26       - const: renesas,sysc-rmobile # Generic SH/R-Mobile
 27                                                    27 
 28   reg:                                             28   reg:
 29     items:                                         29     items:
 30       - description: Normally accessible regis     30       - description: Normally accessible register block
 31       - description: Register block protected      31       - description: Register block protected by the HPB semaphore
 32                                                    32 
 33   pm-domains:                                      33   pm-domains:
 34     type: object                                   34     type: object
 35     description: |                                 35     description: |
 36       This node contains a hierarchy of PM dom     36       This node contains a hierarchy of PM domain nodes, which should match the
 37       Power Area Hierarchy in the Power Domain     37       Power Area Hierarchy in the Power Domain Specifications section of the
 38       device's datasheet.                          38       device's datasheet.
 39                                                    39 
 40     properties:                                    40     properties:
 41       '#address-cells':                            41       '#address-cells':
 42         const: 1                                   42         const: 1
 43                                                    43 
 44       '#size-cells':                               44       '#size-cells':
 45         const: 0                                   45         const: 0
 46                                                    46 
 47     additionalProperties:                          47     additionalProperties:
 48       $ref: "#/$defs/pd-node"                      48       $ref: "#/$defs/pd-node"
 49                                                    49 
 50 required:                                          50 required:
 51   - compatible                                     51   - compatible
 52   - reg                                            52   - reg
 53   - pm-domains                                     53   - pm-domains
 54                                                    54 
 55 additionalProperties: false                        55 additionalProperties: false
 56                                                    56 
 57 $defs:                                             57 $defs:
 58   pd-node:                                         58   pd-node:
 59     type: object                                   59     type: object
 60     description:                                   60     description:
 61       PM domain node representing a PM domain.     61       PM domain node representing a PM domain.  This node should be named by
 62       the real power area name, and thus its n     62       the real power area name, and thus its name should be unique.
 63                                                    63 
 64     properties:                                    64     properties:
 65       reg:                                         65       reg:
 66         maxItems: 1                                66         maxItems: 1
 67         description:                               67         description:
 68           If the PM domain is not always-on, t     68           If the PM domain is not always-on, this property must contain the
 69           bit index number for the correspondi     69           bit index number for the corresponding power area in the various
 70           Power Control and Status Registers.      70           Power Control and Status Registers.
 71           If the PM domain is always-on, this      71           If the PM domain is always-on, this property must be omitted.
 72                                                    72 
 73       '#address-cells':                            73       '#address-cells':
 74         const: 1                                   74         const: 1
 75                                                    75 
 76       '#size-cells':                               76       '#size-cells':
 77         const: 0                                   77         const: 0
 78                                                    78 
 79       '#power-domain-cells':                       79       '#power-domain-cells':
 80         const: 0                                   80         const: 0
 81                                                    81 
 82     required:                                      82     required:
 83       - '#power-domain-cells'                      83       - '#power-domain-cells'
 84                                                    84 
 85     additionalProperties:                          85     additionalProperties:
 86       $ref: "#/$defs/pd-node"                      86       $ref: "#/$defs/pd-node"
 87                                                    87 
 88 examples:                                          88 examples:
 89   - |                                              89   - |
 90     // This shows a subset of the r8a7740 PM d     90     // This shows a subset of the r8a7740 PM domain hierarchy, containing the
 91     // C5 "always-on" domain, 2 of its subdoma     91     // C5 "always-on" domain, 2 of its subdomains (A4S and A4SU), and the A3SP
 92     // domain, which is a subdomain of A4S.        92     // domain, which is a subdomain of A4S.
 93     sysc: system-controller@e6180000 {             93     sysc: system-controller@e6180000 {
 94             compatible = "renesas,sysc-r8a7740     94             compatible = "renesas,sysc-r8a7740", "renesas,sysc-rmobile";
 95             reg = <0xe6180000 0x8000>, <0xe618     95             reg = <0xe6180000 0x8000>, <0xe6188000 0x8000>;
 96                                                    96 
 97             pm-domains {                           97             pm-domains {
 98                     pd_c5: c5 {                    98                     pd_c5: c5 {
 99                             #address-cells = <     99                             #address-cells = <1>;
100                             #size-cells = <0>;    100                             #size-cells = <0>;
101                             #power-domain-cell    101                             #power-domain-cells = <0>;
102                                                   102 
103                             pd_a4s: a4s@10 {      103                             pd_a4s: a4s@10 {
104                                     reg = <10>    104                                     reg = <10>;
105                                     #address-c    105                                     #address-cells = <1>;
106                                     #size-cell    106                                     #size-cells = <0>;
107                                     #power-dom    107                                     #power-domain-cells = <0>;
108                                                   108 
109                                     pd_a3sp: a    109                                     pd_a3sp: a3sp@11 {
110                                             re    110                                             reg = <11>;
111                                             #p    111                                             #power-domain-cells = <0>;
112                                     };            112                                     };
113                             };                    113                             };
114                                                   114 
115                             pd_a4su: a4su@20 {    115                             pd_a4su: a4su@20 {
116                                     reg = <20>    116                                     reg = <20>;
117                                     #power-dom    117                                     #power-domain-cells = <0>;
118                             };                    118                             };
119                     };                            119                     };
120             };                                    120             };
121     };                                            121     };
                                                      

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