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,mt8188-mt6359: Add mediatek,adsp property

On some MediaTek SoCs, an Audio DSP (ADSP) is integrated as a separate
hardware block that leverages Sound Open Firmware (SOF) and provides
additional audio functionalities. This hardware is optional, and the
audio subsystem will still function normally when it's not present.

To enable ADSP support, a 'mediatek,adsp' property is required in the
sound card node to pass the ADSP phandle. This allows AFE to link to
ADSP when the sound card is probed.

MT8188 has ADSP integrated, so add the 'mediatek,adsp' property to
allow using it in the audio subsystem.

This fixes dtbs_check error:
Unevaluated properties are not allowed ('mediatek,adsp' was
unexpected)

Signed-off-by: Fei Shao <fshao@chromium.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20241105091246.3944946-1-fshao@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Fei Shao and committed by
Mark Brown
ed4bcfbc af23d38c

+7
+7
Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml
··· 29 29 $ref: /schemas/types.yaml#/definitions/phandle 30 30 description: The phandle of MT8188 ASoC platform. 31 31 32 + mediatek,adsp: 33 + $ref: /schemas/types.yaml#/definitions/phandle 34 + description: 35 + The phandle of the MT8188 ADSP platform, which is the optional Audio DSP 36 + hardware that provides additional audio functionalities if present. 37 + The AFE will link to ADSP when the phandle is provided. 38 + 32 39 patternProperties: 33 40 "^dai-link-[0-9]+$": 34 41 type: object