Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: sound: gtm601: convert to YAML

Convert GTM601 binding to the YAML format.

Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230730191742.117013-1-david@ixit.cz
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

David Heidelberg and committed by
Mark Brown
cd8ee8ab 2cddb06c

+40 -19
-19
Documentation/devicetree/bindings/sound/gtm601.txt
··· 1 - GTM601 UMTS modem audio interface CODEC 2 - 3 - This device has no configuration interface. The sample rate and channels are 4 - based on the compatible string 5 - "option,gtm601" = 8kHz mono 6 - "broadmobi,bm818" = 48KHz stereo 7 - 8 - Required properties: 9 - 10 - - compatible : one of 11 - "option,gtm601" 12 - "broadmobi,bm818" 13 - 14 - 15 - Example: 16 - 17 - codec: gtm601_codec { 18 - compatible = "option,gtm601"; 19 - };
+40
Documentation/devicetree/bindings/sound/option,gtm601.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/option,gtm601.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: GTM601 UMTS modem audio interface CODEC 8 + 9 + maintainers: 10 + - kernel@puri.sm 11 + 12 + description: > 13 + This device has no configuration interface. The sample rate and channels are 14 + based on the compatible string 15 + 16 + properties: 17 + compatible: 18 + oneOf: 19 + - items: # 48 kHz stereo 20 + - const: broadmobi,bm818 21 + - const: option,gtm601 22 + - const: option,gtm601 # 8 kHz mono 23 + 24 + '#sound-dai-cells': 25 + const: 0 26 + 27 + required: 28 + - compatible 29 + 30 + allOf: 31 + - $ref: dai-common.yaml# 32 + 33 + additionalProperties: false 34 + 35 + examples: 36 + - | 37 + codec { 38 + compatible = "option,gtm601"; 39 + #sound-dai-cells = <0>; 40 + };