* [PATCH v2] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add mediatek,adsp property
@ 2024-11-05 9:11 Fei Shao
2024-11-05 14:35 ` Rob Herring (Arm)
2024-11-05 18:15 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Fei Shao @ 2024-11-05 9:11 UTC (permalink / raw)
To: Mark Brown
Cc: Fei Shao, AngeloGioacchino Del Regno, Conor Dooley,
Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Trevor Wu,
devicetree, linux-arm-kernel, linux-kernel, linux-mediatek,
linux-sound
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>
---
This patch is based on a previous [v1] series.
This is sent as an individual patch in v2 because the other patches in
the [v1] series are either invalid or for different purpose in different
binding, so I think it'd be better to send them separately.
[v1]:
https://lore.kernel.org/all/20241025104548.1220076-2-fshao@chromium.org/
Changes in v2:
- drop `mediatek,dai-link` vendor property because its goal can be
achieved by using the existing `audio-routing`
- update property description
- update commit message
.../devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml
index f94ad0715e32..ba482747f0e6 100644
--- a/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml
+++ b/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml
@@ -29,6 +29,13 @@ properties:
$ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of MT8188 ASoC platform.
+ mediatek,adsp:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ The phandle of the MT8188 ADSP platform, which is the optional Audio DSP
+ hardware that provides additional audio functionalities if present.
+ The AFE will link to ADSP when the phandle is provided.
+
patternProperties:
"^dai-link-[0-9]+$":
type: object
--
2.47.0.277.g8800431eea-goog
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add mediatek,adsp property
2024-11-05 9:11 [PATCH v2] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add mediatek,adsp property Fei Shao
@ 2024-11-05 14:35 ` Rob Herring (Arm)
2024-11-05 18:15 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2024-11-05 14:35 UTC (permalink / raw)
To: Fei Shao
Cc: Mark Brown, linux-sound, devicetree, AngeloGioacchino Del Regno,
Conor Dooley, linux-arm-kernel, linux-kernel, Matthias Brugger,
Trevor Wu, Krzysztof Kozlowski, linux-mediatek
On Tue, 05 Nov 2024 17:11:36 +0800, Fei Shao wrote:
> 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>
> ---
> This patch is based on a previous [v1] series.
> This is sent as an individual patch in v2 because the other patches in
> the [v1] series are either invalid or for different purpose in different
> binding, so I think it'd be better to send them separately.
>
> [v1]:
> https://lore.kernel.org/all/20241025104548.1220076-2-fshao@chromium.org/
>
> Changes in v2:
> - drop `mediatek,dai-link` vendor property because its goal can be
> achieved by using the existing `audio-routing`
> - update property description
> - update commit message
>
> .../devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add mediatek,adsp property
2024-11-05 9:11 [PATCH v2] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add mediatek,adsp property Fei Shao
2024-11-05 14:35 ` Rob Herring (Arm)
@ 2024-11-05 18:15 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2024-11-05 18:15 UTC (permalink / raw)
To: Fei Shao
Cc: AngeloGioacchino Del Regno, Conor Dooley, Krzysztof Kozlowski,
Matthias Brugger, Rob Herring, Trevor Wu, devicetree,
linux-arm-kernel, linux-kernel, linux-mediatek, linux-sound
On Tue, 05 Nov 2024 17:11:36 +0800, Fei Shao wrote:
> 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.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add mediatek,adsp property
commit: ed4bcfbcf45d02fa81c77cff86e914d71c1b3c1f
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-05 18:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-05 9:11 [PATCH v2] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add mediatek,adsp property Fei Shao
2024-11-05 14:35 ` Rob Herring (Arm)
2024-11-05 18:15 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®