author | Misael Lopez Cruz <misael.lopez@ti.com> | |
Thu, 18 Jul 2013 19:01:57 +0000 (14:01 -0500) | ||
committer | Misael Lopez Cruz <misael.lopez@ti.com> | |
Mon, 22 Jul 2013 20:04:11 +0000 (15:04 -0500) | ||
commit | e2f57538850b604bae31451ac1d751407a6d60a1 | |
tree | dd3a007d23764ac5ca2e25e44aa467529da691fd | tree | snapshot (tar.xz tar.gz zip) |
parent | 99a1e07f426e010404b6bdadfbdb9286641a6602 | commit | diff |
ASoC: davinci-mcasp: Pass pin inactive state via DT
The state of transmit/receive pins during inactive slots can be controlled through
DISMOD. Previously, the default state (Hi-Z) was used all the time, but that might
not fit well for all applications. So, the inactive state is passed via DT:
"tx-inactive-state" and "rx-inactive-state".
The inactive states can actually be set per serializer, but for the sake of simplicity
we only differentiate them by stream direction.
Additionally, the DISMOD macro is also fixed as the argument part was incorrect.
Change-Id: I0e099c29fde94dd59175c1017c098554c43d18fe
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
The state of transmit/receive pins during inactive slots can be controlled through
DISMOD. Previously, the default state (Hi-Z) was used all the time, but that might
not fit well for all applications. So, the inactive state is passed via DT:
"tx-inactive-state" and "rx-inactive-state".
The inactive states can actually be set per serializer, but for the sake of simplicity
we only differentiate them by stream direction.
Additionally, the DISMOD macro is also fixed as the argument part was incorrect.
Change-Id: I0e099c29fde94dd59175c1017c098554c43d18fe
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>