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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.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/crypto/fsl,sec-v4.0-mon.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml (Version linux-6.4.16)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 # Copyright (C) 2008-2011 Freescale Semiconduc      2 # Copyright (C) 2008-2011 Freescale Semiconductor Inc.
  3 %YAML 1.2                                           3 %YAML 1.2
  4 ---                                                 4 ---
  5 $id: http://devicetree.org/schemas/crypto/fsl,      5 $id: http://devicetree.org/schemas/crypto/fsl,sec-v4.0-mon.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: Freescale Secure Non-Volatile Storage (      8 title: Freescale Secure Non-Volatile Storage (SNVS)
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - '"Horia Geantă" <horia.geanta@nxp.com>'        11   - '"Horia Geantă" <horia.geanta@nxp.com>'
 12   - Pankaj Gupta <pankaj.gupta@nxp.com>             12   - Pankaj Gupta <pankaj.gupta@nxp.com>
 13   - Gaurav Jain <gaurav.jain@nxp.com>               13   - Gaurav Jain <gaurav.jain@nxp.com>
 14                                                    14 
 15 description:                                       15 description:
 16   Node defines address range and the associate     16   Node defines address range and the associated interrupt for the SNVS function.
 17   This function monitors security state inform     17   This function monitors security state information & reports security
 18   violations. This also included rtc, system p     18   violations. This also included rtc, system power off and ON/OFF key.
 19                                                    19 
 20 properties:                                        20 properties:
 21   compatible:                                      21   compatible:
 22     oneOf:                                         22     oneOf:
 23       - items:                                     23       - items:
 24           - const: fsl,sec-v4.0-mon                24           - const: fsl,sec-v4.0-mon
 25           - const: syscon                          25           - const: syscon
 26           - const: simple-mfd                      26           - const: simple-mfd
 27       - items:                                     27       - items:
 28           - const: fsl,sec-v5.0-mon                28           - const: fsl,sec-v5.0-mon
 29           - const: fsl,sec-v4.0-mon                29           - const: fsl,sec-v4.0-mon
 30       - items:                                     30       - items:
 31           - enum:                                  31           - enum:
 32               - fsl,sec-v5.3-mon                   32               - fsl,sec-v5.3-mon
 33               - fsl,sec-v5.4-mon                   33               - fsl,sec-v5.4-mon
 34           - const: fsl,sec-v5.0-mon                34           - const: fsl,sec-v5.0-mon
 35           - const: fsl,sec-v4.0-mon                35           - const: fsl,sec-v4.0-mon
 36                                                    36 
 37   reg:                                             37   reg:
 38     maxItems: 1                                    38     maxItems: 1
 39                                                    39 
 40   interrupts:                                      40   interrupts:
 41     maxItems: 2                                    41     maxItems: 2
 42                                                    42 
 43   snvs-rtc-lp:                                     43   snvs-rtc-lp:
 44     type: object                                   44     type: object
 45     additionalProperties: false                    45     additionalProperties: false
 46     description:                                   46     description:
 47       Secure Non-Volatile Storage (SNVS) Low P     47       Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node
 48                                                    48 
 49     properties:                                    49     properties:
 50       compatible:                                  50       compatible:
 51         const: fsl,sec-v4.0-mon-rtc-lp             51         const: fsl,sec-v4.0-mon-rtc-lp
 52                                                    52 
 53       clocks:                                      53       clocks:
 54         maxItems: 1                                54         maxItems: 1
 55                                                    55 
 56       clock-names:                                 56       clock-names:
 57         const: snvs-rtc                            57         const: snvs-rtc
 58                                                    58 
 59       interrupts:                                  59       interrupts:
 60         # VFxxx has only one. What is the 2nd      60         # VFxxx has only one. What is the 2nd one?
 61         minItems: 1                                61         minItems: 1
 62         maxItems: 2                                62         maxItems: 2
 63                                                    63 
 64       regmap:                                      64       regmap:
 65         description: Parent node containing re     65         description: Parent node containing registers
 66         $ref: /schemas/types.yaml#/definitions     66         $ref: /schemas/types.yaml#/definitions/phandle
 67                                                    67 
 68       offset:                                      68       offset:
 69         description: LP register offset            69         description: LP register offset
 70         $ref: /schemas/types.yaml#/definitions     70         $ref: /schemas/types.yaml#/definitions/uint32
 71         default: 0x34                              71         default: 0x34
 72                                                    72 
 73     required:                                      73     required:
 74       - compatible                                 74       - compatible
 75       - interrupts                                 75       - interrupts
 76       - regmap                                     76       - regmap
 77                                                    77 
 78   snvs-powerkey:                                   78   snvs-powerkey:
 79     type: object                                   79     type: object
 80     additionalProperties: false                    80     additionalProperties: false
 81     description:                                   81     description:
 82       The snvs-pwrkey is designed to enable PO     82       The snvs-pwrkey is designed to enable POWER key function which controlled
 83       by SNVS ONOFF, the driver can report the     83       by SNVS ONOFF, the driver can report the status of POWER key and wakeup
 84       system if pressed after system suspend.      84       system if pressed after system suspend.
 85                                                    85 
 86     properties:                                    86     properties:
 87       compatible:                                  87       compatible:
 88         const: fsl,sec-v4.0-pwrkey                 88         const: fsl,sec-v4.0-pwrkey
 89                                                    89 
 90       clocks:                                      90       clocks:
 91         maxItems: 1                                91         maxItems: 1
 92                                                    92 
 93       clock-names:                                 93       clock-names:
 94         const: snvs-pwrkey                         94         const: snvs-pwrkey
 95                                                    95 
 96       interrupts:                                  96       interrupts:
 97         maxItems: 1                                97         maxItems: 1
 98                                                    98 
 99       regmap:                                      99       regmap:
100         description: Parent node containing re    100         description: Parent node containing registers
101         $ref: /schemas/types.yaml#/definitions    101         $ref: /schemas/types.yaml#/definitions/phandle
102                                                   102 
103       wakeup-source: true                         103       wakeup-source: true
104                                                   104 
105       linux,keycode:                              105       linux,keycode:
106         $ref: /schemas/types.yaml#/definitions << 
107         default: 116                           << 
108         deprecated: true                       << 
109                                                << 
110       linux,keycodes:                          << 
111         maxItems: 1                            << 
112         default: 116                              106         default: 116
113                                                   107 
114     required:                                     108     required:
115       - compatible                                109       - compatible
116       - interrupts                                110       - interrupts
117       - regmap                                    111       - regmap
118                                                   112 
119   snvs-lpgpr:                                     113   snvs-lpgpr:
120     $ref: /schemas/nvmem/snvs-lpgpr.yaml#         114     $ref: /schemas/nvmem/snvs-lpgpr.yaml#
121                                                   115 
122   snvs-poweroff:                                  116   snvs-poweroff:
123     description:                                  117     description:
124       The SNVS could drive signal to PMIC to t    118       The SNVS could drive signal to PMIC to turn off system power by setting
125       SNVS_LP LPCR register.                      119       SNVS_LP LPCR register.
126     $ref: /schemas/power/reset/syscon-poweroff    120     $ref: /schemas/power/reset/syscon-poweroff.yaml#
127                                                   121 
128 required:                                         122 required:
129   - compatible                                    123   - compatible
130   - reg                                           124   - reg
131                                                   125 
132 additionalProperties: false                       126 additionalProperties: false
133                                                   127 
134 examples:                                         128 examples:
135   - |                                             129   - |
136     #include <dt-bindings/interrupt-controller    130     #include <dt-bindings/interrupt-controller/arm-gic.h>
137     #include <dt-bindings/clock/imx7d-clock.h>    131     #include <dt-bindings/clock/imx7d-clock.h>
138                                                   132 
139     sec_mon: sec-mon@314000 {                     133     sec_mon: sec-mon@314000 {
140         compatible = "fsl,sec-v4.0-mon", "sysc    134         compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
141         reg = <0x314000 0x1000>;                  135         reg = <0x314000 0x1000>;
142                                                   136 
143         snvs-rtc-lp {                             137         snvs-rtc-lp {
144             compatible = "fsl,sec-v4.0-mon-rtc    138             compatible = "fsl,sec-v4.0-mon-rtc-lp";
145             regmap = <&sec_mon>;                  139             regmap = <&sec_mon>;
146             offset = <0x34>;                      140             offset = <0x34>;
147             clocks = <&clks IMX7D_SNVS_CLK>;      141             clocks = <&clks IMX7D_SNVS_CLK>;
148             clock-names = "snvs-rtc";             142             clock-names = "snvs-rtc";
149             interrupts = <GIC_SPI 19 IRQ_TYPE_    143             interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
150                          <GIC_SPI 20 IRQ_TYPE_    144                          <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
151         };                                        145         };
152                                                   146 
153         snvs-powerkey {                           147         snvs-powerkey {
154             compatible = "fsl,sec-v4.0-pwrkey"    148             compatible = "fsl,sec-v4.0-pwrkey";
155             regmap = <&sec_mon>;                  149             regmap = <&sec_mon>;
156             clocks = <&clks IMX7D_SNVS_CLK>;      150             clocks = <&clks IMX7D_SNVS_CLK>;
157             clock-names = "snvs-pwrkey";          151             clock-names = "snvs-pwrkey";
158             interrupts = <GIC_SPI 4 IRQ_TYPE_L    152             interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
159             linux,keycode = <116>; /* KEY_POWE    153             linux,keycode = <116>; /* KEY_POWER */
160             wakeup-source;                        154             wakeup-source;
161         };                                        155         };
162     };                                            156     };
                                                      

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