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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/access-controllers/access-controllers.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/access-controllers/access-controllers.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/access-controllers/access-controllers.yaml (Architecture alpha)


  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/access-cont      4 $id: http://devicetree.org/schemas/access-controllers/access-controllers.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Generic Domain Access Controllers            7 title: Generic Domain Access Controllers
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Oleksii Moisieiev <oleksii_moisieiev@epam.c     10   - Oleksii Moisieiev <oleksii_moisieiev@epam.com>
 11                                                    11 
 12 description: |+                                    12 description: |+
 13   Common access controllers properties             13   Common access controllers properties
 14                                                    14 
 15   Access controllers are in charge of stating      15   Access controllers are in charge of stating which of the hardware blocks under
 16   their responsibility (their domain) can be a     16   their responsibility (their domain) can be accesssed by which compartment. A
 17   compartment can be a cluster of CPUs (or cop     17   compartment can be a cluster of CPUs (or coprocessors), a range of addresses
 18   or a group of hardware blocks. An access con     18   or a group of hardware blocks. An access controller's domain is the set of
 19   resources covered by the access controller.      19   resources covered by the access controller.
 20                                                    20 
 21   This device tree binding can be used to bind     21   This device tree binding can be used to bind devices to their access
 22   controller provided by access-controllers pr     22   controller provided by access-controllers property. In this case, the device
 23   is a consumer and the access controller is t     23   is a consumer and the access controller is the provider.
 24                                                    24 
 25   An access controller can be represented by a     25   An access controller can be represented by any node in the device tree and
 26   can provide one or more configuration parame     26   can provide one or more configuration parameters, needed to control parameters
 27   of the consumer device. A consumer node can      27   of the consumer device. A consumer node can refer to the provider by phandle
 28   and a set of phandle arguments, specified by     28   and a set of phandle arguments, specified by '#access-controller-cells'
 29   property in the access controller node.          29   property in the access controller node.
 30                                                    30 
 31   Access controllers are typically used to set     31   Access controllers are typically used to set/read the permissions of a
 32   hardware block and grant access to it. Any o     32   hardware block and grant access to it. Any of which depends on the access
 33   controller. The capabilities of each access      33   controller. The capabilities of each access controller are defined by the
 34   binding of the access controller device.         34   binding of the access controller device.
 35                                                    35 
 36   Each node can be a consumer for the several      36   Each node can be a consumer for the several access controllers.
 37                                                    37 
 38 # always select the core schema                    38 # always select the core schema
 39 select: true                                       39 select: true
 40                                                    40 
 41 properties:                                        41 properties:
 42   "#access-controller-cells":                      42   "#access-controller-cells":
 43     description:                                   43     description:
 44       Number of cells in an access-controllers     44       Number of cells in an access-controllers specifier;
 45       Can be any value as specified by device      45       Can be any value as specified by device tree binding documentation
 46       of a particular provider. The node is an     46       of a particular provider. The node is an access controller.
 47                                                    47 
 48   access-controller-names:                         48   access-controller-names:
 49     $ref: /schemas/types.yaml#/definitions/str     49     $ref: /schemas/types.yaml#/definitions/string-array
 50     description:                                   50     description:
 51       A list of access-controllers names, sort     51       A list of access-controllers names, sorted in the same order as
 52       access-controllers entries. Consumer dri     52       access-controllers entries. Consumer drivers will use
 53       access-controller-names to match with ex     53       access-controller-names to match with existing access-controllers entries.
 54                                                    54 
 55   access-controllers:                              55   access-controllers:
 56     $ref: /schemas/types.yaml#/definitions/pha     56     $ref: /schemas/types.yaml#/definitions/phandle-array
 57     description:                                   57     description:
 58       A list of access controller specifiers,      58       A list of access controller specifiers, as defined by the
 59       bindings of the access-controllers provi     59       bindings of the access-controllers provider.
 60                                                    60 
 61 additionalProperties: true                         61 additionalProperties: true
 62                                                    62 
 63 examples:                                          63 examples:
 64   - |                                              64   - |
 65     clock_controller: access-controllers@50000     65     clock_controller: access-controllers@50000 {
 66         reg = <0x50000 0x400>;                     66         reg = <0x50000 0x400>;
 67         #access-controller-cells = <2>;            67         #access-controller-cells = <2>;
 68     };                                             68     };
 69                                                    69 
 70     bus_controller: bus@60000 {                    70     bus_controller: bus@60000 {
 71         reg = <0x60000 0x10000>;                   71         reg = <0x60000 0x10000>;
 72         #address-cells = <1>;                      72         #address-cells = <1>;
 73         #size-cells = <1>;                         73         #size-cells = <1>;
 74         ranges;                                    74         ranges;
 75         #access-controller-cells = <3>;            75         #access-controller-cells = <3>;
 76                                                    76 
 77         uart4: serial@60100 {                      77         uart4: serial@60100 {
 78             reg = <0x60100 0x400>;                 78             reg = <0x60100 0x400>;
 79             clocks = <&clk_serial>;                79             clocks = <&clk_serial>;
 80             access-controllers = <&clock_contr     80             access-controllers = <&clock_controller 1 2>,
 81                                  <&bus_control     81                                  <&bus_controller 1 3 5>;
 82             access-controller-names = "clock",     82             access-controller-names = "clock", "bus";
 83         };                                         83         };
 84     };                                             84     };
                                                      

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