author | Misael Lopez Cruz <misael.lopez@ti.com> | |
Fri, 19 Jul 2013 16:55:37 +0000 (11:55 -0500) | ||
committer | Misael Lopez Cruz <misael.lopez@ti.com> | |
Mon, 22 Jul 2013 19:42:52 +0000 (14:42 -0500) | ||
commit | 5c0f2d05315f863cd8380aeb1552dd4d0e8ac663 | |
tree | 7714a741844bfab7e3a9e23ea9b03fb3a0042704 | tree | snapshot (tar.xz tar.gz zip) |
parent | bd05aadc181b1bd23dbe79a9c52ac5d502b9cfa7 | commit | diff |
ASoC: davinci-mcasp: Active slots depend on active serializers
Active slots count depends on the number of channels in the stream
and the number of active serializers. Each serializer will handle
at most the number of channels specified via 'tdm-slots' parameter
in DT.
There are two possible scenarios:
- Single serializer: channel count fits in the max slots supported by
McASP serializers, active slots is same as channel count
- Multiple serializers: channel count is bigger than max slots supported
by a serializer. Channel count determines how many serializers are
needed at their max slot count configuration
Change-Id: I690a8518a807b70cebdbeb131979d68bfb86e4fe
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Active slots count depends on the number of channels in the stream
and the number of active serializers. Each serializer will handle
at most the number of channels specified via 'tdm-slots' parameter
in DT.
There are two possible scenarios:
- Single serializer: channel count fits in the max slots supported by
McASP serializers, active slots is same as channel count
- Multiple serializers: channel count is bigger than max slots supported
by a serializer. Channel count determines how many serializers are
needed at their max slot count configuration
Change-Id: I690a8518a807b70cebdbeb131979d68bfb86e4fe
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
sound/soc/davinci/davinci-mcasp.c | diff | blob | history | |
sound/soc/davinci/davinci-mcasp.h | diff | blob | history |