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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mux/mux-consumer.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/mux/mux-consumer.yaml (Architecture m68k) and /Documentation/devicetree/bindings/mux/mux-consumer.yaml (Architecture sparc64)


  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/mux/mux-con      4 $id: http://devicetree.org/schemas/mux/mux-consumer.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Common multiplexer controller consumer       7 title: Common multiplexer controller consumer
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Peter Rosin <peda@axentia.se>                   10   - Peter Rosin <peda@axentia.se>
 11                                                    11 
 12 description: |                                     12 description: |
 13   Mux controller consumers should specify a li     13   Mux controller consumers should specify a list of mux controllers that they
 14   want to use with a property containing a 'mu     14   want to use with a property containing a 'mux-ctrl-list':
 15                                                    15 
 16     mux-ctrl-list ::= <single-mux-ctrl> [mux-c     16     mux-ctrl-list ::= <single-mux-ctrl> [mux-ctrl-list]
 17     single-mux-ctrl ::= <mux-ctrl-phandle> [mu     17     single-mux-ctrl ::= <mux-ctrl-phandle> [mux-ctrl-specifier]
 18     mux-ctrl-phandle : phandle to mux controll     18     mux-ctrl-phandle : phandle to mux controller node
 19     mux-ctrl-specifier : array of #mux-control     19     mux-ctrl-specifier : array of #mux-control-cells specifying the
 20                          given mux controller      20                          given mux controller (controller specific)
 21                                                    21 
 22   Mux controller properties should be named "m     22   Mux controller properties should be named "mux-controls". The exact meaning of
 23   each mux controller property must be documen     23   each mux controller property must be documented in the device tree binding for
 24   each consumer. An optional property "mux-con     24   each consumer. An optional property "mux-control-names" may contain a list of
 25   strings to label each of the mux controllers     25   strings to label each of the mux controllers listed in the "mux-controls"
 26   property.                                        26   property.
 27                                                    27 
 28   If it is required to provide the state that      28   If it is required to provide the state that the mux controller needs to
 29   be set to, the property "mux-states" must be     29   be set to, the property "mux-states" must be used. An optional property
 30   "mux-state-names" can be used to provide a l     30   "mux-state-names" can be used to provide a list of strings, to label
 31   each of the multiplixer states listed in the     31   each of the multiplixer states listed in the "mux-states" property.
 32                                                    32 
 33   Properties "mux-controls" and "mux-states" c     33   Properties "mux-controls" and "mux-states" can be used depending on how
 34   the consumers want to control the mux contro     34   the consumers want to control the mux controller. If the consumer needs
 35   needs to set multiple states in a mux contro     35   needs to set multiple states in a mux controller, then property
 36   "mux-controls" can be used. If the consumer      36   "mux-controls" can be used. If the consumer needs to set the mux
 37   controller to a given state then property "m     37   controller to a given state then property "mux-states" can be used.
 38                                                    38 
 39   mux-ctrl-specifier typically encodes the chi     39   mux-ctrl-specifier typically encodes the chip-relative mux controller number.
 40   If the mux controller chip only provides a s     40   If the mux controller chip only provides a single mux controller, the
 41   mux-ctrl-specifier can typically be left out     41   mux-ctrl-specifier can typically be left out.
 42                                                    42 
 43 select: true                                       43 select: true
 44                                                    44 
 45 properties:                                        45 properties:
 46   mux-controls:                                    46   mux-controls:
 47     $ref: /schemas/types.yaml#/definitions/pha     47     $ref: /schemas/types.yaml#/definitions/phandle-array
 48                                                    48 
 49   mux-states:                                      49   mux-states:
 50     $ref: /schemas/types.yaml#/definitions/pha     50     $ref: /schemas/types.yaml#/definitions/phandle-array
 51                                                    51 
 52   mux-control-names:                               52   mux-control-names:
 53     description:                                   53     description:
 54       Devices that use more than a single mux      54       Devices that use more than a single mux controller can use the
 55       "mux-control-names" property to map the      55       "mux-control-names" property to map the name of the requested mux
 56       controller to an index into the list giv     56       controller to an index into the list given by the "mux-controls" property.
 57                                                    57 
 58   mux-state-names:                                 58   mux-state-names:
 59     description:                                   59     description:
 60       Devices that use more than a single mult     60       Devices that use more than a single multiplexer state can use the
 61       "mux-state-names" property to map the na     61       "mux-state-names" property to map the name of the requested mux
 62       controller to an index into the list giv     62       controller to an index into the list given by the "mux-states"
 63       property.                                    63       property.
 64                                                    64 
 65 additionalProperties: true                         65 additionalProperties: true
 66                                                    66 
 67 ...                                                67 ...
                                                      

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