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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mailbox/arm,mhu.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/mailbox/arm,mhu.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/mailbox/arm,mhu.yaml (Version linux-5.11.22)


  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/mailbox/arm      4 $id: http://devicetree.org/schemas/mailbox/arm,mhu.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: ARM MHU Mailbox Controller                   7 title: ARM MHU Mailbox Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Jassi Brar <jaswinder.singh@linaro.org>         10   - Jassi Brar <jaswinder.singh@linaro.org>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The ARM's Message-Handling-Unit (MHU) is a m     13   The ARM's Message-Handling-Unit (MHU) is a mailbox controller that has 3
 14   independent channels/links to communicate wi     14   independent channels/links to communicate with remote processor(s).  MHU links
 15   are hardwired on a platform. A link raises i     15   are hardwired on a platform. A link raises interrupt for any received data.
 16   However, there is no specified way of knowin     16   However, there is no specified way of knowing if the sent data has been read
 17   by the remote. This driver assumes the sende     17   by the remote. This driver assumes the sender polls STAT register and the
 18   remote clears it after having read the data.     18   remote clears it after having read the data.  The last channel is specified to
 19   be a 'Secure' resource, hence can't be used      19   be a 'Secure' resource, hence can't be used by Linux running NS.
 20                                                    20 
 21   The MHU hardware also allows operations in d     21   The MHU hardware also allows operations in doorbell mode. The MHU drives the
 22   interrupt signal using a 32-bit register, wi     22   interrupt signal using a 32-bit register, with all 32-bits logically ORed
 23   together. It provides a set of registers to      23   together. It provides a set of registers to enable software to set, clear and
 24   check the status of each of the bits of this     24   check the status of each of the bits of this register independently. The use
 25   of 32 bits per interrupt line enables softwa     25   of 32 bits per interrupt line enables software to provide more information
 26   about the source of the interrupt. For examp     26   about the source of the interrupt. For example, each bit of the register can
 27   be associated with a type of event that can      27   be associated with a type of event that can contribute to raising the
 28   interrupt. Each of the 32-bits can be used a     28   interrupt. Each of the 32-bits can be used as "doorbell" to alert the remote
 29   processor.                                       29   processor.
 30                                                    30 
 31 # We need a select here so we don't match all      31 # We need a select here so we don't match all nodes with 'arm,primecell'
 32 select:                                            32 select:
 33   properties:                                      33   properties:
 34     compatible:                                    34     compatible:
 35       contains:                                    35       contains:
 36         enum:                                      36         enum:
 37           - arm,mhu                                37           - arm,mhu
 38           - arm,mhu-doorbell                       38           - arm,mhu-doorbell
 39   required:                                        39   required:
 40     - compatible                                   40     - compatible
 41                                                    41 
 42 properties:                                        42 properties:
 43   compatible:                                      43   compatible:
 44     oneOf:                                         44     oneOf:
 45       - description: Data transfer mode            45       - description: Data transfer mode
 46         items:                                     46         items:
 47           - const: arm,mhu                         47           - const: arm,mhu
 48           - const: arm,primecell                   48           - const: arm,primecell
 49                                                    49 
 50       - description: Doorbell mode                 50       - description: Doorbell mode
 51         items:                                     51         items:
 52           - const: arm,mhu-doorbell                52           - const: arm,mhu-doorbell
 53           - const: arm,primecell                   53           - const: arm,primecell
 54                                                    54 
 55                                                    55 
 56   reg:                                             56   reg:
 57     maxItems: 1                                    57     maxItems: 1
 58                                                    58 
 59   interrupts:                                      59   interrupts:
 60     minItems: 2                                << 
 61     items:                                         60     items:
 62       - description: low-priority non-secure       61       - description: low-priority non-secure
 63       - description: high-priority non-secure      62       - description: high-priority non-secure
 64       - description: Secure                        63       - description: Secure
 65                                                    64 
 66   clocks:                                          65   clocks:
 67     maxItems: 1                                    66     maxItems: 1
 68                                                    67 
 69   clock-names:                                     68   clock-names:
 70     items:                                         69     items:
 71       - const: apb_pclk                            70       - const: apb_pclk
 72                                                    71 
 73   '#mbox-cells':                                   72   '#mbox-cells':
 74     description: |                                 73     description: |
 75       Set to 1 in data transfer mode and repre     74       Set to 1 in data transfer mode and represents index of the channel.
 76       Set to 2 in doorbell mode and represents     75       Set to 2 in doorbell mode and represents index of the channel and doorbell
 77       number.                                      76       number.
 78     enum: [ 1, 2 ]                                 77     enum: [ 1, 2 ]
 79                                                    78 
 80 required:                                          79 required:
 81   - compatible                                     80   - compatible
 82   - reg                                            81   - reg
 83   - interrupts                                     82   - interrupts
 84   - '#mbox-cells'                                  83   - '#mbox-cells'
 85                                                    84 
 86 additionalProperties: false                        85 additionalProperties: false
 87                                                    86 
 88 examples:                                          87 examples:
 89   # Data transfer mode.                            88   # Data transfer mode.
 90   - |                                              89   - |
 91     soc {                                          90     soc {
 92         #address-cells = <2>;                      91         #address-cells = <2>;
 93         #size-cells = <2>;                         92         #size-cells = <2>;
 94                                                    93 
 95         mhuA: mailbox@2b1f0000 {                   94         mhuA: mailbox@2b1f0000 {
 96             #mbox-cells = <1>;                     95             #mbox-cells = <1>;
 97             compatible = "arm,mhu", "arm,prime     96             compatible = "arm,mhu", "arm,primecell";
 98             reg = <0 0x2b1f0000 0 0x1000>;         97             reg = <0 0x2b1f0000 0 0x1000>;
 99             interrupts = <0 36 4>, /* LP-NonSe     98             interrupts = <0 36 4>, /* LP-NonSecure */
100                          <0 35 4>, /* HP-NonSe     99                          <0 35 4>, /* HP-NonSecure */
101                          <0 37 4>; /* Secure *    100                          <0 37 4>; /* Secure */
102             clocks = <&clock 0 2 1>;              101             clocks = <&clock 0 2 1>;
103             clock-names = "apb_pclk";             102             clock-names = "apb_pclk";
104         };                                        103         };
105     };                                         << 
106                                                   104 
107     firmware {                                 !! 105         mhu_client_scb: scb@2e000000 {
108         scpi {                                 !! 106             compatible = "fujitsu,mb86s70-scb-1.0";
109             compatible = "arm,scpi";           !! 107             reg = <0 0x2e000000 0 0x4000>;
110             mboxes = <&mhuA 1>; /* HP-NonSecur    108             mboxes = <&mhuA 1>; /* HP-NonSecure */
111             shmem = <&cpu_scp_hpri>; /* HP-Non << 
112                                                << 
113             scpi_devpd: power-controller {     << 
114                 compatible = "arm,scpi-power-d << 
115                 num-domains = <2>;             << 
116                 #power-domain-cells = <1>;     << 
117             };                                 << 
118         };                                        109         };
119     };                                            110     };
120                                                   111 
121   # Doorbell mode.                                112   # Doorbell mode.
122   - |                                             113   - |
123     soc {                                         114     soc {
124         #address-cells = <2>;                     115         #address-cells = <2>;
125         #size-cells = <2>;                        116         #size-cells = <2>;
126                                                   117 
127         mhuB: mailbox@2b2f0000 {                  118         mhuB: mailbox@2b2f0000 {
128             #mbox-cells = <2>;                    119             #mbox-cells = <2>;
129             compatible = "arm,mhu-doorbell", "    120             compatible = "arm,mhu-doorbell", "arm,primecell";
130             reg = <0 0x2b2f0000 0 0x1000>;        121             reg = <0 0x2b2f0000 0 0x1000>;
131             interrupts = <0 36 4>, /* LP-NonSe    122             interrupts = <0 36 4>, /* LP-NonSecure */
132                          <0 35 4>, /* HP-NonSe    123                          <0 35 4>, /* HP-NonSecure */
133                          <0 37 4>; /* Secure *    124                          <0 37 4>; /* Secure */
134             clocks = <&clock 0 2 1>;              125             clocks = <&clock 0 2 1>;
135             clock-names = "apb_pclk";             126             clock-names = "apb_pclk";
136         };                                        127         };
137     };                                         << 
138                                                   128 
139     firmware {                                 !! 129         mhu_client_scpi: scpi@2f000000 {
140         scmi {                                 !! 130             compatible = "arm,scpi";
141             compatible = "arm,scmi";           !! 131             reg = <0 0x2f000000 0 0x200>;
142             mboxes = <&mhuB 0 0>, /* LP-NonSec !! 132             mboxes = <&mhuB 1 4>; /* HP-NonSecure, 5th doorbell */
143                      <&mhuB 0 1>; /* LP-NonSec << 
144             mbox-names = "tx", "rx";           << 
145             shmem = <&cpu_scp_lpri0>,          << 
146                     <&cpu_scp_lpri1>;          << 
147                                                << 
148             #address-cells = <1>;              << 
149             #size-cells = <0>;                 << 
150                                                << 
151             scmi_devpd: protocol@11 {          << 
152                 reg = <0x11>;                  << 
153                 #power-domain-cells = <1>;     << 
154             };                                 << 
155                                                << 
156             scmi_dvfs: protocol@13 {           << 
157                 reg = <0x13>;                  << 
158                 #clock-cells = <1>;            << 
159                                                << 
160                 mboxes = <&mhuB 1 2>, /* HP-No << 
161                          <&mhuB 1 3>; /* HP-No << 
162                 mbox-names = "tx", "rx";       << 
163                 shmem = <&cpu_scp_hpri0>,      << 
164                         <&cpu_scp_hpri1>;      << 
165             };                                 << 
166         };                                        133         };
167     };                                            134     };
168                                                << 
169 ...                                            << 
                                                      

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