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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/watchdog/samsung-wdt.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/watchdog/samsung-wdt.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml (Version linux-6.1.116)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/watchdog/sa      4 $id: http://devicetree.org/schemas/watchdog/samsung-wdt.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Samsung SoC Watchdog Timer Controller        7 title: Samsung SoC Watchdog Timer Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Krzysztof Kozlowski <krzk@kernel.org>           10   - Krzysztof Kozlowski <krzk@kernel.org>
 11                                                    11 
 12 description: |+                                    12 description: |+
 13   The Samsung's Watchdog controller is used fo     13   The Samsung's Watchdog controller is used for resuming system operation
 14   after a preset amount of time during which t     14   after a preset amount of time during which the WDT reset event has not
 15   occurred.                                        15   occurred.
 16                                                    16 
 17 properties:                                        17 properties:
 18   compatible:                                      18   compatible:
 19     oneOf:                                     !!  19     enum:
 20       - enum:                                  !!  20       - samsung,s3c2410-wdt                   # for S3C2410
 21           - google,gs101-wdt                   !!  21       - samsung,s3c6410-wdt                   # for S3C6410, S5PV210 and Exynos4
 22           - samsung,s3c2410-wdt                !!  22       - samsung,exynos5250-wdt                # for Exynos5250
 23           - samsung,s3c6410-wdt                !!  23       - samsung,exynos5420-wdt                # for Exynos5420
 24           - samsung,exynos5250-wdt             !!  24       - samsung,exynos7-wdt                   # for Exynos7
 25           - samsung,exynos5420-wdt             !!  25       - samsung,exynos850-wdt                 # for Exynos850
 26           - samsung,exynos7-wdt                !!  26       - samsung,exynosautov9-wdt              # for Exynosautov9
 27           - samsung,exynos850-wdt              << 
 28           - samsung,exynosautov9-wdt           << 
 29       - items:                                 << 
 30           - enum:                              << 
 31               - tesla,fsd-wdt                  << 
 32           - const: samsung,exynos7-wdt         << 
 33                                                    27 
 34   reg:                                             28   reg:
 35     maxItems: 1                                    29     maxItems: 1
 36                                                    30 
 37   clocks:                                          31   clocks:
 38     minItems: 1                                    32     minItems: 1
 39     maxItems: 2                                    33     maxItems: 2
 40                                                    34 
 41   clock-names:                                     35   clock-names:
 42     minItems: 1                                    36     minItems: 1
 43     maxItems: 2                                    37     maxItems: 2
 44                                                    38 
 45   interrupts:                                      39   interrupts:
 46     maxItems: 1                                    40     maxItems: 1
 47                                                    41 
 48   samsung,cluster-index:                           42   samsung,cluster-index:
 49     $ref: /schemas/types.yaml#/definitions/uin     43     $ref: /schemas/types.yaml#/definitions/uint32
 50     description:                                   44     description:
 51       Index of CPU cluster on which watchdog i !!  45       Index of CPU cluster on which watchdog is running (in case of Exynos850)
 52       or Google gs101).                        << 
 53                                                    46 
 54   samsung,syscon-phandle:                          47   samsung,syscon-phandle:
 55     $ref: /schemas/types.yaml#/definitions/pha     48     $ref: /schemas/types.yaml#/definitions/phandle
 56     description:                                   49     description:
 57       Phandle to the PMU system controller nod     50       Phandle to the PMU system controller node (in case of Exynos5250,
 58       Exynos5420, Exynos7, Exynos850 and gs101 !!  51       Exynos5420, Exynos7 and Exynos850).
 59                                                    52 
 60 required:                                          53 required:
 61   - compatible                                     54   - compatible
 62   - clocks                                         55   - clocks
 63   - clock-names                                    56   - clock-names
 64   - interrupts                                     57   - interrupts
 65   - reg                                            58   - reg
 66                                                    59 
 67 allOf:                                             60 allOf:
 68   - $ref: watchdog.yaml#                           61   - $ref: watchdog.yaml#
 69   - if:                                            62   - if:
 70       properties:                                  63       properties:
 71         compatible:                                64         compatible:
 72           contains:                                65           contains:
 73             enum:                                  66             enum:
 74               - google,gs101-wdt               << 
 75               - samsung,exynos5250-wdt             67               - samsung,exynos5250-wdt
 76               - samsung,exynos5420-wdt             68               - samsung,exynos5420-wdt
 77               - samsung,exynos7-wdt                69               - samsung,exynos7-wdt
 78               - samsung,exynos850-wdt              70               - samsung,exynos850-wdt
 79               - samsung,exynosautov9-wdt           71               - samsung,exynosautov9-wdt
 80     then:                                          72     then:
 81       required:                                    73       required:
 82         - samsung,syscon-phandle                   74         - samsung,syscon-phandle
 83   - if:                                            75   - if:
 84       properties:                                  76       properties:
 85         compatible:                                77         compatible:
 86           contains:                                78           contains:
 87             enum:                                  79             enum:
 88               - google,gs101-wdt               << 
 89               - samsung,exynos850-wdt              80               - samsung,exynos850-wdt
 90               - samsung,exynosautov9-wdt           81               - samsung,exynosautov9-wdt
 91     then:                                          82     then:
 92       properties:                                  83       properties:
 93         clocks:                                    84         clocks:
 94           items:                                   85           items:
 95             - description: Bus clock, used for     86             - description: Bus clock, used for register interface
 96             - description: Source clock (drivi     87             - description: Source clock (driving watchdog counter)
 97         clock-names:                               88         clock-names:
 98           items:                                   89           items:
 99             - const: watchdog                      90             - const: watchdog
100             - const: watchdog_src                  91             - const: watchdog_src
101         samsung,cluster-index:                     92         samsung,cluster-index:
102           enum: [0, 1]                             93           enum: [0, 1]
103       required:                                    94       required:
104         - samsung,cluster-index                    95         - samsung,cluster-index
105     else:                                          96     else:
106       properties:                                  97       properties:
107         clocks:                                    98         clocks:
108           items:                                   99           items:
109             - description: Bus clock, which is    100             - description: Bus clock, which is also a source clock
110         clock-names:                              101         clock-names:
111           items:                                  102           items:
112             - const: watchdog                     103             - const: watchdog
113         samsung,cluster-index: false              104         samsung,cluster-index: false
114                                                   105 
115 unevaluatedProperties: false                      106 unevaluatedProperties: false
116                                                   107 
117 examples:                                         108 examples:
118   - |                                             109   - |
119     watchdog@101d0000 {                           110     watchdog@101d0000 {
120         compatible = "samsung,exynos5250-wdt";    111         compatible = "samsung,exynos5250-wdt";
121         reg = <0x101D0000 0x100>;                 112         reg = <0x101D0000 0x100>;
122         interrupts = <0 42 0>;                    113         interrupts = <0 42 0>;
123         clocks = <&clock 336>;                    114         clocks = <&clock 336>;
124         clock-names = "watchdog";                 115         clock-names = "watchdog";
125         samsung,syscon-phandle = <&pmu_syscon>    116         samsung,syscon-phandle = <&pmu_syscon>;
126     };                                            117     };
                                                      

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