77 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/samsung,snow.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Google Snow audio complex with MAX9809x codec8 9maintainers:10 - Krzysztof Kozlowski <krzk@kernel.org>11 - Sylwester Nawrocki <s.nawrocki@samsung.com>12 13properties:14 compatible:15 enum:16 - google,snow-audio-max9809017 - google,snow-audio-max9809118 - google,snow-audio-max9809519 20 codec:21 type: object22 additionalProperties: false23 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-dai31 32 cpu:33 type: object34 additionalProperties: false35 properties:36 sound-dai:37 description: Phandle to the Samsung I2S controller.38 maxItems: 139 required:40 - sound-dai41 42 samsung,audio-codec:43 description: Phandle to the audio codec.44 $ref: /schemas/types.yaml#/definitions/phandle45 deprecated: true46 47 samsung,i2s-controller:48 description: Phandle to the Samsung I2S controller.49 $ref: /schemas/types.yaml#/definitions/phandle50 deprecated: true51 52 samsung,model:53 description: The user-visible name of this sound complex.54 $ref: /schemas/types.yaml#/definitions/string55 56required:57 - compatible58 - codec59 - cpu60 61additionalProperties: false62 63examples: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 };77