Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 4 | $id: http://devicetree.org/schemas/sound/linux,spdif.yaml# |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 7 | title: Dummy SPDIF Transmitter/Receiver |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 8 | |
| 9 | maintainers: |
| 10 | - Mark Brown <broonie@kernel.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: dai-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 17 | enum: |
| 18 | - linux,spdif-dit |
| 19 | - linux,spdif-dir |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 20 | |
| 21 | "#sound-dai-cells": |
| 22 | const: 0 |
| 23 | |
| 24 | sound-name-prefix: true |
| 25 | |
| 26 | required: |
| 27 | - "#sound-dai-cells" |
| 28 | - compatible |
| 29 | |
| 30 | additionalProperties: false |
| 31 | |
| 32 | examples: |
| 33 | - | |
| 34 | spdif-out { |
| 35 | #sound-dai-cells = <0>; |
| 36 | compatible = "linux,spdif-dit"; |
| 37 | }; |
| 38 | |
| 39 | ... |