^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Platform data for MAX98090
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright 2011-2012 Maxim Integrated Products
^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 __SOUND_MAX98090_PDATA_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define __SOUND_MAX98090_PDATA_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) /* codec platform data */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) struct max98090_pdata {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) /* Analog/digital microphone configuration:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) * 0 = analog microphone input (normal setting)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) * 1 = digital microphone input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) unsigned int digmic_left_mode:1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) unsigned int digmic_right_mode:1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) unsigned int digmic_3_mode:1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) unsigned int digmic_4_mode:1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif