summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi2018-11-16 14:41:39 +0100
committerMark Brown2018-11-28 13:40:57 +0100
commitca3d9433349ed6a8eadfc9d0ec9e88fff439d0e9 (patch)
tree9fadba15dedc67ddbcead14ea7841932d34081a8 /Documentation/devicetree/bindings/sound
parentASoC: davinci-mcasp: Clear TXSTAT register before activating serializers (diff)
downloadkernel-qcow2-linux-ca3d9433349ed6a8eadfc9d0ec9e88fff439d0e9.tar.gz
kernel-qcow2-linux-ca3d9433349ed6a8eadfc9d0ec9e88fff439d0e9.tar.xz
kernel-qcow2-linux-ca3d9433349ed6a8eadfc9d0ec9e88fff439d0e9.zip
ASoC: davinci-mcasp: Update PDIR (pin direction) register handling
When McASP is master and the PDIR for the clock pins are configured as outputs before the clocking is configured it will output whatever clock is generated at the moment internally. The clock will switch to the correct rate only when the we start the clock generators. To avoid this we must only set the pin as output after the clock is configured and enabled. AXR pins configured as outputs behaves somehow interesting as well: when McASP is not enabled and the pin is selected as output it will not honor the DISMOD settings for the inactive state, but will pull the pin down. Add a new bitfield and mark the pins there which needs to be output and set the pins only at the time when they will behave correctly. On stream stop configure the pins back to input which makes them to obey the global pin configuration regarding to pull up/down. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
0 files changed, 0 insertions, 0 deletions