1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * AK4641 ALSA SoC Codec driver 2 * AK4641 ALSA SoC Codec driver 4 * 3 * 5 * Copyright 2009 Philipp Zabel 4 * Copyright 2009 Philipp Zabel >> 5 * >> 6 * This program is free software; you can redistribute it and/or modify >> 7 * it under the terms of the GNU General Public License version 2 as >> 8 * published by the Free Software Foundation. 6 */ 9 */ 7 10 8 #ifndef __AK4641_H 11 #ifndef __AK4641_H 9 #define __AK4641_H 12 #define __AK4641_H 10 13 11 /** 14 /** 12 * struct ak4641_platform_data - platform spec 15 * struct ak4641_platform_data - platform specific AK4641 configuration 13 * @gpio_power: GPIO to control external power 16 * @gpio_power: GPIO to control external power to AK4641 14 * @gpio_npdn: GPIO connected to AK4641 nPDN 17 * @gpio_npdn: GPIO connected to AK4641 nPDN pin 15 * 18 * 16 * Both GPIO parameters are optional. 19 * Both GPIO parameters are optional. 17 */ 20 */ 18 struct ak4641_platform_data { 21 struct ak4641_platform_data { 19 int gpio_power; 22 int gpio_power; 20 int gpio_npdn; 23 int gpio_npdn; 21 }; 24 }; 22 25 23 #endif /* __AK4641_H */ 26 #endif /* __AK4641_H */ 24 27
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.