Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Dmitry Artamonow | 00d2701 | 2011-05-18 19:25:09 +0400 | [diff] [blame] | 2 | /* |
| 3 | * AK4641 ALSA SoC Codec driver |
| 4 | * |
| 5 | * Copyright 2009 Philipp Zabel |
Dmitry Artamonow | 00d2701 | 2011-05-18 19:25:09 +0400 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __AK4641_H |
| 9 | #define __AK4641_H |
| 10 | |
| 11 | /** |
| 12 | * struct ak4641_platform_data - platform specific AK4641 configuration |
| 13 | * @gpio_power: GPIO to control external power to AK4641 |
| 14 | * @gpio_npdn: GPIO connected to AK4641 nPDN pin |
| 15 | * |
| 16 | * Both GPIO parameters are optional. |
| 17 | */ |
| 18 | struct ak4641_platform_data { |
| 19 | int gpio_power; |
| 20 | int gpio_npdn; |
| 21 | }; |
| 22 | |
| 23 | #endif /* __AK4641_H */ |