mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 02:54:32 +08:00
61a6d0764b
Seaboard derivate Kaen has a GPIO to mute the headphone output. Add a field to tegra_wm8903_platform_data so the board files can pass the GPIO number for that to the ASoC machine driver. Also, initialize this new field to a "not present" value for Harmony. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
24 lines
699 B
C
24 lines
699 B
C
/*
|
|
* arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h
|
|
*
|
|
* Copyright 2011 NVIDIA, Inc.
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
struct tegra_wm8903_platform_data {
|
|
int gpio_spkr_en;
|
|
int gpio_hp_det;
|
|
int gpio_hp_mute;
|
|
int gpio_int_mic_en;
|
|
int gpio_ext_mic_en;
|
|
};
|