summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2018-11-16 15:41:41 +0200
committerMark Brown <broonie@kernel.org>2018-11-28 12:41:31 +0000
commitbc184549853133303cf08d1f19477f9c87ef39fb (patch)
tree878e828a16741b9b0f71067fb8c9a8c6e11f5853 /include
parenta3641b30c19b93b1298028a7210b55145e70056c (diff)
downloadblackbird-obmc-linux-bc184549853133303cf08d1f19477f9c87ef39fb.tar.gz
blackbird-obmc-linux-bc184549853133303cf08d1f19477f9c87ef39fb.zip
ASoC: davinci-mcasp: Implement configurable dismod handling
If the dismod is specified in the DT node, use the specified custom value to configure the drive on state of the inactive TX slots. If the dismod is not present or booted in legacy mode, the dismod is set to low as it was the original behavior. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/davinci_asp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/davinci_asp.h b/include/linux/platform_data/davinci_asp.h
index 85ad68f9206a..7fe80f1c7e08 100644
--- a/include/linux/platform_data/davinci_asp.h
+++ b/include/linux/platform_data/davinci_asp.h
@@ -79,6 +79,7 @@ struct davinci_mcasp_pdata {
/* McASP specific fields */
int tdm_slots;
u8 op_mode;
+ u8 dismod;
u8 num_serializer;
u8 *serial_dir;
u8 version;
OpenPOWER on IntegriCloud