#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/gcd.h>
#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <sound/core.h>
#include <sound/jack.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include <sound/wm8962.h>
#include <trace/events/asoc.h>
#include "wm8962.h"
Go to the source code of this file.
#define FIXED_FLL_SIZE ((1 << 16) * 10) |
#define WM8962_DSP2_ENABLE |
( |
|
xname, |
|
|
|
xshift |
|
) |
| |
Value:
.info = wm8962_dsp2_ena_info, \
.get = wm8962_dsp2_ena_get, .put = wm8962_dsp2_ena_put, \
.private_value = xshift }
Definition at line 1530 of file wm8962.c.
#define WM8962_NUM_SUPPLIES 8 |
#define WM8962_REGULATOR_EVENT |
( |
|
n | ) |
|
Value:
regcache_mark_dirty(wm8962->regmap); \
} \
return 0; \
}
Definition at line 93 of file wm8962.c.
MODULE_DESCRIPTION |
( |
"ASoC WM8962 driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
wm8962_i2c_id |
|
|
) |
| |
module_i2c_driver |
( |
wm8962_i2c_driver |
| ) |
|
wm8962_mic_detect - Enable microphone detection via the WM8962 IRQ
: WM8962 codec : jack to report detection events on
Enable microphone detection via IRQ on the WM8962. If GPIOs are being used to bring out signals to the processor then only platform data configuration is needed for WM8962 and processor GPIOs should be configured using snd_soc_jack_add_gpios() instead.
If no jack is supplied detection will be disabled.
Definition at line 3067 of file wm8962.c.