mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 00:11:22 +00:00
45e655047f
Provide an initial hookup for interrupts on the WM8962. Currently we simply report error status via log messages if an IRQ is provided for the device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
26 lines
559 B
C
26 lines
559 B
C
/*
|
|
* wm8962.h -- WM8962 Soc Audio driver platform data
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _WM8962_PDATA_H
|
|
#define _WM8962_PDATA_H
|
|
|
|
#define WM8962_MAX_GPIO 6
|
|
|
|
/* Use to set GPIO default values to zero */
|
|
#define WM8962_GPIO_SET 0x10000
|
|
|
|
struct wm8962_pdata {
|
|
u32 gpio_init[WM8962_MAX_GPIO];
|
|
|
|
bool irq_active_low;
|
|
|
|
bool spk_mono; /* Speaker outputs tied together as mono */
|
|
};
|
|
|
|
#endif
|