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

ASoC: mediatek: dt-bindings: modify machine bindings for SOF

Add SOF related field.
1. Add a property "mediatek,adsp", Only when adsp phandle could be
retrieved, from DTS, the SOF related part of machine driver is executed.
2. Add a property "mediatek,dai-link" to support dai-links could be
specified from DTS

Signed-off-by: chunxu.li <chunxu.li@mediatek.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220824122319.23918-2-chunxu.li@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

chunxu.li and committed by
Mark Brown
0db49765 7d3ac70d

+10
+10
Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml
··· 43 43 required: 44 44 - sound-dai 45 45 46 + mediatek,adsp: 47 + $ref: /schemas/types.yaml#/definitions/phandle 48 + description: The phandle of MT8186 ADSP platform. 49 + 50 + mediatek,dai-link: 51 + $ref: /schemas/types.yaml#/definitions/string-array 52 + description: 53 + A list of the desired dai-links in the sound card. Each entry is a 54 + name defined in the machine driver. 55 + 46 56 additionalProperties: false 47 57 48 58 required: