diff options
| author | Bhalchandra Gajare <gajare@codeaurora.org> | 2015-12-23 17:44:16 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:16:35 -0700 |
| commit | b5f150167a6424df04cc41d4d16a8a2418571562 (patch) | |
| tree | 0532fff2547d81d6f0fc7041522a44334c4507c7 /include/linux/mfd | |
| parent | ccac8bdb0049dd8d93e37a562c238ad2189febec (diff) | |
mfd: wcd9xxx: Make DMIC clock drive strength platform dependent
Digital microphone clock drive strength setting in the codec could
be platform dependent based on the type of microphone, etc. Add support
to make the DMIC clock drive strength configurable through device tree.
CRs-fixed: 938006
Change-Id: I8b17d985052098b56d012081a77b6dfc94553eca
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Diffstat (limited to 'include/linux/mfd')
| -rwxr-xr-x | include/linux/mfd/wcd9xxx/pdata.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mfd/wcd9xxx/pdata.h b/include/linux/mfd/wcd9xxx/pdata.h index 9c3508f79245..7dc7d42013fb 100755 --- a/include/linux/mfd/wcd9xxx/pdata.h +++ b/include/linux/mfd/wcd9xxx/pdata.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2011-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -87,6 +87,8 @@ #define WCD9XXX_DMIC_SAMPLE_RATE_UNDEFINED 0 +#define WCD9XXX_DMIC_CLK_DRIVE_UNDEFINED 0 + struct wcd9xxx_amic { /*legacy mode, txfe_enable and txfe_buff take 7 input * each bit represent the channel / TXFE number @@ -184,6 +186,7 @@ struct wcd9xxx_pdata { u32 mclk_rate; u32 dmic_sample_rate; u32 mad_dmic_sample_rate; + u32 dmic_clk_drv; enum codec_variant cdc_variant; u16 use_pinctrl; }; |
