xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/sound/audio-graph.h (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0
2*0e8011faSEmmanuel Vadot  *
3*0e8011faSEmmanuel Vadot  * audio-graph.h
4*0e8011faSEmmanuel Vadot  *
5*0e8011faSEmmanuel Vadot  * Copyright (c) 2024 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
6*0e8011faSEmmanuel Vadot  */
7*0e8011faSEmmanuel Vadot #ifndef __AUDIO_GRAPH_H
8*0e8011faSEmmanuel Vadot #define __AUDIO_GRAPH_H
9*0e8011faSEmmanuel Vadot 
10*0e8011faSEmmanuel Vadot /*
11*0e8011faSEmmanuel Vadot  * used in
12*0e8011faSEmmanuel Vadot  *	link-trigger-order
13*0e8011faSEmmanuel Vadot  *	link-trigger-order-start
14*0e8011faSEmmanuel Vadot  *	link-trigger-order-stop
15*0e8011faSEmmanuel Vadot  *
16*0e8011faSEmmanuel Vadot  * default is
17*0e8011faSEmmanuel Vadot  *	link-trigger-order = <SND_SOC_TRIGGER_LINK
18*0e8011faSEmmanuel Vadot  *			      SND_SOC_TRIGGER_COMPONENT
19*0e8011faSEmmanuel Vadot  *			      SND_SOC_TRIGGER_DAI>;
20*0e8011faSEmmanuel Vadot  */
21*0e8011faSEmmanuel Vadot #define SND_SOC_TRIGGER_LINK		0
22*0e8011faSEmmanuel Vadot #define SND_SOC_TRIGGER_COMPONENT	1
23*0e8011faSEmmanuel Vadot #define SND_SOC_TRIGGER_DAI		2
24*0e8011faSEmmanuel Vadot #define SND_SOC_TRIGGER_SIZE		3	/* shoud be last */
25*0e8011faSEmmanuel Vadot 
26*0e8011faSEmmanuel Vadot #endif /* __AUDIO_GRAPH_H */
27