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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/audio-graph-port.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 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/sound/audio-graph-port.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Audio Graph Card 'port'
  8 
  9 maintainers:
 10   - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
 11 
 12 select: false
 13 
 14 definitions:
 15   port-base:
 16     allOf:
 17       - $ref: /schemas/graph.yaml#/$defs/port-base
 18       - $ref: /schemas/sound/dai-params.yaml#
 19     properties:
 20       mclk-fs:
 21         $ref: simple-card.yaml#/definitions/mclk-fs
 22       playback-only:
 23         description: port connection used only for playback
 24         $ref: /schemas/types.yaml#/definitions/flag
 25       capture-only:
 26         description: port connection used only for capture
 27         $ref: /schemas/types.yaml#/definitions/flag
 28       link-trigger-order:
 29         description: trigger order for both start/stop
 30         $ref: /schemas/types.yaml#/definitions/uint32-array
 31       link-trigger-order-start:
 32         description: trigger order for start
 33         $ref: /schemas/types.yaml#/definitions/uint32-array
 34       link-trigger-order-stop:
 35         description: trigger order for stop
 36         $ref: /schemas/types.yaml#/definitions/uint32-array
 37 
 38   endpoint-base:
 39     allOf:
 40       - $ref: /schemas/graph.yaml#/$defs/endpoint-base
 41       - $ref: /schemas/sound/dai-params.yaml#
 42     properties:
 43       mclk-fs:
 44         $ref: simple-card.yaml#/definitions/mclk-fs
 45       frame-inversion:
 46         description: dai-link uses frame clock inversion
 47         $ref: /schemas/types.yaml#/definitions/flag
 48       bitclock-inversion:
 49         description: dai-link uses bit clock inversion
 50         $ref: /schemas/types.yaml#/definitions/flag
 51       frame-master:
 52         description: Indicates dai-link frame master.
 53         oneOf:
 54           - $ref: /schemas/types.yaml#/definitions/flag
 55           - $ref: /schemas/types.yaml#/definitions/phandle
 56       bitclock-master:
 57         description: Indicates dai-link bit clock master
 58         oneOf:
 59           - $ref: /schemas/types.yaml#/definitions/flag
 60           - $ref: /schemas/types.yaml#/definitions/phandle
 61       clocks:
 62         description: Indicates system clock
 63         maxItems: 1
 64       system-clock-frequency:
 65         $ref: simple-card.yaml#/definitions/system-clock-frequency
 66       system-clock-direction-out:
 67         $ref: simple-card.yaml#/definitions/system-clock-direction-out
 68       system-clock-fixed:
 69         $ref: simple-card.yaml#/definitions/system-clock-fixed
 70 
 71       dai-format:
 72         description: audio format.
 73         items:
 74           enum:
 75             - i2s
 76             - right_j
 77             - left_j
 78             - dsp_a
 79             - dsp_b
 80             - ac97
 81             - pdm
 82             - msb
 83             - lsb
 84 
 85       dai-tdm-slot-num:
 86         description: Number of slots in use.
 87         $ref: /schemas/types.yaml#/definitions/uint32
 88       dai-tdm-slot-width:
 89         description: Width in bits for each slot.
 90         $ref: /schemas/types.yaml#/definitions/uint32
 91       dai-tdm-slot-width-map:
 92         description: Mapping of sample widths to slot widths. For hardware
 93           that cannot support a fixed slot width or a slot width always
 94           equal to sample width. A matrix of one or more 3-tuples.
 95         $ref: /schemas/types.yaml#/definitions/uint32-matrix
 96         items:
 97           items:
 98             -
 99               description: Sample width in bits
100               minimum: 8
101               maximum: 64
102             -
103               description: Slot width in bits
104               minimum: 8
105               maximum: 256
106             -
107               description: Slot count
108               minimum: 1
109               maximum: 64
110 
111   ports:
112     $ref: "#/definitions/port-base"
113     unevaluatedProperties: false
114     patternProperties:
115       "^port(@[0-9a-f]+)?$":
116         $ref: "#/definitions/port-base"
117         unevaluatedProperties: false
118         patternProperties:
119           "^endpoint(@[0-9a-f]+)?":
120             $ref: "#/definitions/endpoint-base"
121             unevaluatedProperties: false
122 
123 allOf:
124   - $ref: "#/definitions/port-base"
125 
126 patternProperties:
127   "^endpoint(@[0-9a-f]+)?":
128     $ref: "#/definitions/endpoint-base"
129     unevaluatedProperties: false
130 
131 additionalProperties: true

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