ASoC: Add platform data for WM9081 IRQ pin configuration
The WM9081 IRQ output can be either active high or active low and can support either CMOS or open drain modes. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
@@ -17,9 +17,12 @@ struct wm9081_retune_mobile_setting {
|
||||
u16 config[20];
|
||||
};
|
||||
|
||||
struct wm9081_retune_mobile_config {
|
||||
struct wm9081_retune_mobile_setting *configs;
|
||||
int num_configs;
|
||||
struct wm9081_pdata {
|
||||
bool irq_high; /* IRQ is active high */
|
||||
bool irq_cmos; /* IRQ is in CMOS mode */
|
||||
|
||||
struct wm9081_retune_mobile_setting *retune_configs;
|
||||
int num_retune_configs;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user