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.

ASoC: dt-bindings: mediatek,mt8173-rt5650-rt5514: convert to DT schema

Convert the Mediatek MT8173 with RT5650 and RT5514 sound card
bindings to DT schema.

Signed-off-by: Khushal Chitturi <khushalchitturi@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260327134649.31376-1-khushalchitturi@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Khushal Chitturi and committed by
Mark Brown
472d77bd 52dac22f

+41 -15
+41
Documentation/devicetree/bindings/sound/mediatek,mt8173-rt5650-rt5514.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/mediatek,mt8173-rt5650-rt5514.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Mediatek MT8173 with RT5650 and RT5514 audio codecs 8 + 9 + maintainers: 10 + - Koro Chen <koro.chen@mediatek.com> 11 + 12 + properties: 13 + compatible: 14 + const: mediatek,mt8173-rt5650-rt5514 15 + 16 + mediatek,audio-codec: 17 + $ref: /schemas/types.yaml#/definitions/phandle-array 18 + description: Phandles of rt5650 and rt5514 codecs 19 + items: 20 + - description: phandle of rt5650 codec 21 + - description: phandle of rt5514 codec 22 + 23 + mediatek,platform: 24 + $ref: /schemas/types.yaml#/definitions/phandle 25 + description: The phandle of MT8173 ASoC platform. 26 + 27 + required: 28 + - compatible 29 + - mediatek,audio-codec 30 + - mediatek,platform 31 + 32 + additionalProperties: false 33 + 34 + examples: 35 + - | 36 + sound { 37 + compatible = "mediatek,mt8173-rt5650-rt5514"; 38 + mediatek,audio-codec = <&rt5650>, <&rt5514>; 39 + mediatek,platform = <&afe>; 40 + }; 41 + ...
-15
Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5514.txt
··· 1 - MT8173 with RT5650 RT5514 CODECS 2 - 3 - Required properties: 4 - - compatible : "mediatek,mt8173-rt5650-rt5514" 5 - - mediatek,audio-codec: the phandles of rt5650 and rt5514 codecs 6 - - mediatek,platform: the phandle of MT8173 ASoC platform 7 - 8 - Example: 9 - 10 - sound { 11 - compatible = "mediatek,mt8173-rt5650-rt5514"; 12 - mediatek,audio-codec = <&rt5650 &rt5514>; 13 - mediatek,platform = <&afe>; 14 - }; 15 -