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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/audio-iio-aux.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/sound/audio-iio-aux.yaml (Architecture ppc) and /Documentation/devicetree/bindings/sound/audio-iio-aux.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/sound/audio      4 $id: http://devicetree.org/schemas/sound/audio-iio-aux.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Audio IIO auxiliary                          7 title: Audio IIO auxiliary
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Herve Codina <herve.codina@bootlin.com>         10   - Herve Codina <herve.codina@bootlin.com>
 11                                                    11 
 12 description:                                       12 description:
 13   Auxiliary device based on Industrial I/O dev     13   Auxiliary device based on Industrial I/O device channels
 14                                                    14 
 15 allOf:                                             15 allOf:
 16   - $ref: dai-common.yaml#                         16   - $ref: dai-common.yaml#
 17                                                    17 
 18 properties:                                        18 properties:
 19   compatible:                                      19   compatible:
 20     const: audio-iio-aux                           20     const: audio-iio-aux
 21                                                    21 
 22   io-channels:                                     22   io-channels:
 23     description:                                   23     description:
 24       Industrial I/O device channels used          24       Industrial I/O device channels used
 25                                                    25 
 26   io-channel-names:                                26   io-channel-names:
 27     description:                                   27     description:
 28       Industrial I/O channel names related to      28       Industrial I/O channel names related to io-channels.
 29       These names are used to provides sound c     29       These names are used to provides sound controls, widgets and routes names.
 30                                                    30 
 31   snd-control-invert-range:                        31   snd-control-invert-range:
 32     $ref: /schemas/types.yaml#/definitions/uin     32     $ref: /schemas/types.yaml#/definitions/uint32-array
 33     description: |                                 33     description: |
 34       A list of 0/1 flags defining whether or      34       A list of 0/1 flags defining whether or not the related channel is
 35       inverted                                     35       inverted
 36     items:                                         36     items:
 37       enum: [0, 1]                                 37       enum: [0, 1]
 38       default: 0                                   38       default: 0
 39       description: |                               39       description: |
 40         Invert the sound control value compare     40         Invert the sound control value compared to the IIO channel raw value.
 41           - 1: The related sound control value     41           - 1: The related sound control value is inverted meaning that the
 42                minimum sound control value cor     42                minimum sound control value correspond to the maximum IIO channel
 43                raw value and the maximum sound     43                raw value and the maximum sound control value correspond to the
 44                minimum IIO channel raw value.      44                minimum IIO channel raw value.
 45           - 0: The related sound control value     45           - 0: The related sound control value is not inverted meaning that the
 46                minimum (resp maximum) sound co     46                minimum (resp maximum) sound control value correspond to the
 47                minimum (resp maximum) IIO chan     47                minimum (resp maximum) IIO channel raw value.
 48                                                    48 
 49 required:                                          49 required:
 50   - compatible                                     50   - compatible
 51   - io-channels                                    51   - io-channels
 52   - io-channel-names                               52   - io-channel-names
 53                                                    53 
 54 unevaluatedProperties: false                       54 unevaluatedProperties: false
 55                                                    55 
 56 examples:                                          56 examples:
 57   - |                                              57   - |
 58     iio-aux {                                      58     iio-aux {
 59         compatible = "audio-iio-aux";              59         compatible = "audio-iio-aux";
 60         io-channels = <&iio 0>, <&iio 1>, <&ii     60         io-channels = <&iio 0>, <&iio 1>, <&iio 2>, <&iio 3>;
 61         io-channel-names = "CH0", "CH1", "CH2"     61         io-channel-names = "CH0", "CH1", "CH2", "CH3";
 62         /* Invert CH1 and CH2 */                   62         /* Invert CH1 and CH2 */
 63         snd-control-invert-range = <0 1 1 0>;      63         snd-control-invert-range = <0 1 1 0>;
 64     };                                             64     };
                                                      

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