| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/samsung,snow.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Google Snow audio complex with MAX9809x codec |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Krzysztof Kozlowski <[email protected]> |
| 11 |
- Sylwester Nawrocki <[email protected]> |
| 12 |
|
| 13 |
properties: |
| 14 |
compatible: |
| 15 |
enum: |
| 16 |
- google,snow-audio-max98090 |
| 17 |
- google,snow-audio-max98091 |
| 18 |
- google,snow-audio-max98095 |
| 19 |
|
| 20 |
codec: |
| 21 |
type: object |
| 22 |
additionalProperties: false |
| 23 |
properties: |
| 24 |
sound-dai: |
| 25 |
description: List of phandles to the CODEC and HDMI IP nodes. |
| 26 |
items: |
| 27 |
- description: Phandle to the MAX98090, MAX98091 or MAX98095 CODEC. |
| 28 |
- description: Phandle to the HDMI IP block node. |
| 29 |
required: |
| 30 |
- sound-dai |
| 31 |
|
| 32 |
cpu: |
| 33 |
type: object |
| 34 |
additionalProperties: false |
| 35 |
properties: |
| 36 |
sound-dai: |
| 37 |
description: Phandle to the Samsung I2S controller. |
| 38 |
maxItems: 1 |
| 39 |
required: |
| 40 |
- sound-dai |
| 41 |
|
| 42 |
samsung,audio-codec: |
| 43 |
description: Phandle to the audio codec. |
| 44 |
$ref: /schemas/types.yaml#/definitions/phandle |
| 45 |
deprecated: true |
| 46 |
|
| 47 |
samsung,i2s-controller: |
| 48 |
description: Phandle to the Samsung I2S controller. |
| 49 |
$ref: /schemas/types.yaml#/definitions/phandle |
| 50 |
deprecated: true |
| 51 |
|
| 52 |
samsung,model: |
| 53 |
description: The user-visible name of this sound complex. |
| 54 |
$ref: /schemas/types.yaml#/definitions/string |
| 55 |
|
| 56 |
required: |
| 57 |
- compatible |
| 58 |
- codec |
| 59 |
- cpu |
| 60 |
|
| 61 |
additionalProperties: false |
| 62 |
|
| 63 |
examples: |
| 64 |
- | |
| 65 |
sound { |
| 66 |
compatible = "google,snow-audio-max98095"; |
| 67 |
samsung,model = "Snow-I2S-MAX98095"; |
| 68 |
|
| 69 |
cpu { |
| 70 |
sound-dai = <&i2s0 0>; |
| 71 |
}; |
| 72 |
|
| 73 |
codec { |
| 74 |
sound-dai = <&max98095 0>, <&hdmi>; |
| 75 |
}; |
| 76 |
}; |