mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
00d2701070
A driver for the AK4641 codec used in iPAQ hx4700 and Glofiish M800 among others. Signed-off-by: Harald Welte <laforge@gnumonks.org> Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
27 lines
622 B
C
27 lines
622 B
C
/*
|
|
* AK4641 ALSA SoC Codec driver
|
|
*
|
|
* Copyright 2009 Philipp Zabel
|
|
*
|
|
* 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 __AK4641_H
|
|
#define __AK4641_H
|
|
|
|
/**
|
|
* struct ak4641_platform_data - platform specific AK4641 configuration
|
|
* @gpio_power: GPIO to control external power to AK4641
|
|
* @gpio_npdn: GPIO connected to AK4641 nPDN pin
|
|
*
|
|
* Both GPIO parameters are optional.
|
|
*/
|
|
struct ak4641_platform_data {
|
|
int gpio_power;
|
|
int gpio_npdn;
|
|
};
|
|
|
|
#endif /* __AK4641_H */
|