Google Snow audio complex with MAX9809x codec

Schema identifier ($id): "http://devicetree.org/schemas/sound/samsung,snow.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "google,snow-audio-max98090", "google,snow-audio-max98091", "google,snow-audio-max98095"

codec — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

sound-dai — required here

List of phandles to the CODEC and HDMI IP nodes.

Array item rules (items)

Item 1

Phandle to the MAX98090, MAX98091 or MAX98095 CODEC.

Item 2

Phandle to the HDMI IP block node.

Required in this object (required): "sound-dai"

cpu — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

sound-dai — required here

Phandle to the Samsung I2S controller.

Maximum number of items (maxItems): 1

Required in this object (required): "sound-dai"

samsung,audio-codec — not listed as required here #

Phandle to the audio codec.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Deprecated (deprecated): true

samsung,i2s-controller — not listed as required here #

Phandle to the Samsung I2S controller.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Deprecated (deprecated): true

samsung,model — not listed as required here #

The user-visible name of this sound complex.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Required in this object (required): "compatible", "codec", "cpu"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

sound {
    compatible = "google,snow-audio-max98095";
    samsung,model = "Snow-I2S-MAX98095";

    cpu {
        sound-dai = <&i2s0 0>;
    };

    codec {
        sound-dai = <&max98095 0>, <&hdmi>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page