^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * AK4641 ALSA SoC Codec driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright 2009 Philipp Zabel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #ifndef __AK4641_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define __AK4641_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) /**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) * struct ak4641_platform_data - platform specific AK4641 configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) * @gpio_power: GPIO to control external power to AK4641
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) * @gpio_npdn: GPIO connected to AK4641 nPDN pin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) * Both GPIO parameters are optional.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) struct ak4641_platform_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) int gpio_power;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) int gpio_npdn;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #endif /* __AK4641_H */