mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 08:32:55 +00:00

There's generally no need to use definitions to reference from individual properties. All the property names are the same, and all the defined properties are used by all the users. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/20230928194126.1146622-1-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
38 lines
882 B
YAML
38 lines
882 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/dai-params.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Digital Audio Interface (DAI) Stream Parameters
|
|
|
|
maintainers:
|
|
- Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
|
|
select: false
|
|
|
|
properties:
|
|
convert-channels:
|
|
description: Number of audio channels used by DAI
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
minimum: 1
|
|
maximum: 32
|
|
|
|
convert-sample-format:
|
|
description: Audio sample format used by DAI
|
|
$ref: /schemas/types.yaml#/definitions/string
|
|
enum:
|
|
- s8
|
|
- s16_le
|
|
- s24_le
|
|
- s24_3le
|
|
- s32_le
|
|
|
|
convert-rate:
|
|
description: Audio sample rate used by DAI
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
minimum: 8000
|
|
maximum: 192000
|
|
|
|
additionalProperties: true
|