summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorAlberto Panizzo <alberto@amarulasolutions.com>2018-07-09 13:46:46 -0400
committerLee Jones <lee.jones@linaro.org>2018-07-27 03:13:25 -0400
commit4d3e55bc7690b289eeae0c7e994db965cb2a993d (patch)
treeeecf5fd3cc7fffcb179c2aac4adbc03f873e9459 /include/linux/mfd
parent102370fb048a223df4054157d795924928537d11 (diff)
mfd: wm8994: Allow to configure CS/ADDR Pulldown from dts
For designs where CS/ADDR pin is floating, it is useful to allow dts to define whether to keep internal pull down or not. Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com> Signed-off-by: Anthony Brandon <anthony@amarulasolutions.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/wm8994/pdata.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h
index 90c60524a496..b19c370fe81a 100644
--- a/include/linux/mfd/wm8994/pdata.h
+++ b/include/linux/mfd/wm8994/pdata.h
@@ -222,6 +222,12 @@ struct wm8994_pdata {
222 */ 222 */
223 bool spkmode_pu; 223 bool spkmode_pu;
224 224
225 /*
226 * CS/ADDR must be pulled internally by the device on this
227 * system.
228 */
229 bool csnaddr_pd;
230
225 /** 231 /**
226 * Maximum number of channels clocks will be generated for, 232 * Maximum number of channels clocks will be generated for,
227 * useful for systems where and I2S bus with multiple data 233 * useful for systems where and I2S bus with multiple data