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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.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/soc/loongson/loongson,ls2k-pmc.yaml (Architecture i386) and /Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml (Architecture m68k)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/soc/loongso      4 $id: http://devicetree.org/schemas/soc/loongson/loongson,ls2k-pmc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Loongson-2 Power Manager controller          7 title: Loongson-2 Power Manager controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Yinbo Zhu <zhuyinbo@loongson.cn>                10   - Yinbo Zhu <zhuyinbo@loongson.cn>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     oneOf:                                         14     oneOf:
 15       - items:                                     15       - items:
 16           - const: loongson,ls2k0500-pmc           16           - const: loongson,ls2k0500-pmc
 17           - const: syscon                          17           - const: syscon
 18       - items:                                     18       - items:
 19           - enum:                                  19           - enum:
 20               - loongson,ls2k1000-pmc              20               - loongson,ls2k1000-pmc
 21               - loongson,ls2k2000-pmc              21               - loongson,ls2k2000-pmc
 22           - const: loongson,ls2k0500-pmc           22           - const: loongson,ls2k0500-pmc
 23           - const: syscon                          23           - const: syscon
 24                                                    24 
 25   reg:                                             25   reg:
 26     maxItems: 1                                    26     maxItems: 1
 27                                                    27 
 28   interrupts:                                      28   interrupts:
 29     maxItems: 1                                    29     maxItems: 1
 30                                                    30 
 31   loongson,suspend-address:                        31   loongson,suspend-address:
 32     $ref: /schemas/types.yaml#/definitions/uin     32     $ref: /schemas/types.yaml#/definitions/uint64
 33     description:                                   33     description:
 34       The "loongson,suspend-address" is a deep     34       The "loongson,suspend-address" is a deep sleep state (Suspend To
 35       RAM) firmware entry address which was ju     35       RAM) firmware entry address which was jumped from kernel and it's
 36       value was dependent on specific platform     36       value was dependent on specific platform firmware code. In
 37       addition, the PM need according to it to     37       addition, the PM need according to it to indicate that current
 38       SoC whether support Suspend To RAM.          38       SoC whether support Suspend To RAM.
 39                                                    39 
 40   syscon-poweroff:                                 40   syscon-poweroff:
 41     $ref: /schemas/power/reset/syscon-poweroff     41     $ref: /schemas/power/reset/syscon-poweroff.yaml#
 42     type: object                                   42     type: object
 43     description:                                   43     description:
 44       Node for power off method                    44       Node for power off method
 45                                                    45 
 46   syscon-reboot:                                   46   syscon-reboot:
 47     $ref: /schemas/power/reset/syscon-reboot.y     47     $ref: /schemas/power/reset/syscon-reboot.yaml#
 48     type: object                                   48     type: object
 49     description:                                   49     description:
 50       Node for reboot method                       50       Node for reboot method
 51                                                    51 
 52 required:                                          52 required:
 53   - compatible                                     53   - compatible
 54   - reg                                            54   - reg
 55   - interrupts                                     55   - interrupts
 56                                                    56 
 57 additionalProperties: false                        57 additionalProperties: false
 58                                                    58 
 59 examples:                                          59 examples:
 60   - |                                              60   - |
 61     #include <dt-bindings/interrupt-controller     61     #include <dt-bindings/interrupt-controller/irq.h>
 62                                                    62 
 63     power-management@1fe27000 {                    63     power-management@1fe27000 {
 64         compatible = "loongson,ls2k1000-pmc",      64         compatible = "loongson,ls2k1000-pmc", "loongson,ls2k0500-pmc", "syscon";
 65         reg = <0x1fe27000 0x58>;                   65         reg = <0x1fe27000 0x58>;
 66         interrupt-parent = <&liointc1>;            66         interrupt-parent = <&liointc1>;
 67         interrupts = <11 IRQ_TYPE_LEVEL_LOW>;      67         interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
 68         loongson,suspend-address = <0x0 0x1c00     68         loongson,suspend-address = <0x0 0x1c000500>;
 69                                                    69 
 70         syscon-reboot {                            70         syscon-reboot {
 71             compatible = "syscon-reboot";          71             compatible = "syscon-reboot";
 72             offset = <0x30>;                       72             offset = <0x30>;
 73             mask = <0x1>;                          73             mask = <0x1>;
 74         };                                         74         };
 75                                                    75 
 76         syscon-poweroff {                          76         syscon-poweroff {
 77             compatible = "syscon-poweroff";        77             compatible = "syscon-poweroff";
 78             regmap = <&pmc>;                       78             regmap = <&pmc>;
 79             offset = <0x14>;                       79             offset = <0x14>;
 80             mask = <0x3c00>;                       80             mask = <0x3c00>;
 81             value = <0x3c00>;                      81             value = <0x3c00>;
 82         };                                         82         };
 83     };                                             83     };
                                                      

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