mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
ASoC: audio-graph-port: add link-trigger-order
Sound Card need to consider/adjust HW control ordering based on the combination of CPU/Codec. The controlling feature is already supported on ASoC, but Simple Audio Card / Audio Graph Card still not support it. Let's support it. Cc: Maxim Kochetkov <fido_max@inbox.ru> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87sexizojx.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
727de4fbc5
commit
fafc20ded3
@ -25,6 +25,15 @@ definitions:
|
||||
capture-only:
|
||||
description: port connection used only for capture
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
link-trigger-order:
|
||||
description: trigger order for both start/stop
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
link-trigger-order-start:
|
||||
description: trigger order for start
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
link-trigger-order-stop:
|
||||
description: trigger order for stop
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
|
||||
endpoint-base:
|
||||
allOf:
|
||||
|
26
include/dt-bindings/sound/audio-graph.h
Normal file
26
include/dt-bindings/sound/audio-graph.h
Normal file
@ -0,0 +1,26 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0
|
||||
*
|
||||
* audio-graph.h
|
||||
*
|
||||
* Copyright (c) 2024 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
||||
*/
|
||||
#ifndef __AUDIO_GRAPH_H
|
||||
#define __AUDIO_GRAPH_H
|
||||
|
||||
/*
|
||||
* used in
|
||||
* link-trigger-order
|
||||
* link-trigger-order-start
|
||||
* link-trigger-order-stop
|
||||
*
|
||||
* default is
|
||||
* link-trigger-order = <SND_SOC_TRIGGER_LINK
|
||||
* SND_SOC_TRIGGER_COMPONENT
|
||||
* SND_SOC_TRIGGER_DAI>;
|
||||
*/
|
||||
#define SND_SOC_TRIGGER_LINK 0
|
||||
#define SND_SOC_TRIGGER_COMPONENT 1
|
||||
#define SND_SOC_TRIGGER_DAI 2
|
||||
#define SND_SOC_TRIGGER_SIZE 3 /* shoud be last */
|
||||
|
||||
#endif /* __AUDIO_GRAPH_H */
|
Loading…
Reference in New Issue
Block a user