Commit ce13062
committed
ASoC: SOF: ipc4-topology: implement KCPS adjustment
The SOF already supports the REGISTER_KCPS IPC, this patch also adds
support for it to the driver. A new topology token is used for this,
which specified the KCPS requirement for each pipeline. When a
pipeline is created, that had a KCPS value specified for it in the
topology, that value is sent to the firmware for clock adjustment.
When such a pipeline is destroyed, the same negative value is sent to
return the system clock rate to the original state.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>1 parent cff45ee commit ce13062
File tree
4 files changed
+38
-0
lines changed- include
- sound/sof/ipc4
- uapi/sound/sof
- sound/soc/sof
4 files changed
+38
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| 392 | + | |
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
1976 | 1978 | | |
1977 | 1979 | | |
1978 | 1980 | | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
1979 | 1998 | | |
1980 | 1999 | | |
1981 | 2000 | | |
1982 | 2001 | | |
1983 | 2002 | | |
1984 | 2003 | | |
| 2004 | + | |
1985 | 2005 | | |
1986 | 2006 | | |
1987 | 2007 | | |
| |||
2008 | 2028 | | |
2009 | 2029 | | |
2010 | 2030 | | |
| 2031 | + | |
2011 | 2032 | | |
2012 | 2033 | | |
2013 | 2034 | | |
| |||
2127 | 2148 | | |
2128 | 2149 | | |
2129 | 2150 | | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
2130 | 2157 | | |
2131 | 2158 | | |
2132 | 2159 | | |
| |||
2161 | 2188 | | |
2162 | 2189 | | |
2163 | 2190 | | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
2164 | 2198 | | |
2165 | 2199 | | |
2166 | 2200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
0 commit comments