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>
This commit is contained in:
Alberto Panizzo
2018-07-09 19:46:46 +02:00
committed by Lee Jones
parent 102370fb04
commit 4d3e55bc76
2 changed files with 10 additions and 0 deletions

View File

@@ -222,6 +222,12 @@ struct wm8994_pdata {
*/
bool spkmode_pu;
/*
* CS/ADDR must be pulled internally by the device on this
* system.
*/
bool csnaddr_pd;
/**
* Maximum number of channels clocks will be generated for,
* useful for systems where and I2S bus with multiple data