linux/include/sound/tlv320aic32x4.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * tlv320aic32x4.h  --  TLV320AIC32X4 Soc Audio driver platform data
 *
 * Copyright 2011 Vista Silicon S.L.
 *
 * Author: Javier Martin <[email protected]>
 */

#ifndef _AIC32X4_PDATA_H
#define _AIC32X4_PDATA_H

#define AIC32X4_PWR_MICBIAS_2075_LDOIN
#define AIC32X4_PWR_AVDD_DVDD_WEAK_DISABLE
#define AIC32X4_PWR_AIC32X4_LDO_ENABLE
#define AIC32X4_PWR_CMMODE_LDOIN_RANGE_18_36
#define AIC32X4_PWR_CMMODE_HP_LDOIN_POWERED

#define AIC32X4_MICPGA_ROUTE_LMIC_IN2R_10K
#define AIC32X4_MICPGA_ROUTE_RMIC_IN1L_10K

/* GPIO API */
#define AIC32X4_MFPX_DEFAULT_VALUE

#define AIC32X4_MFP1_DIN_DISABLED
#define AIC32X4_MFP1_DIN_ENABLED
#define AIC32X4_MFP1_GPIO_IN

#define AIC32X4_MFP2_GPIO_OUT_LOW
#define AIC32X4_MFP2_GPIO_OUT_HIGH

#define AIC32X4_MFP_GPIO_ENABLED

#define AIC32X4_MFP5_GPIO_DISABLED
#define AIC32X4_MFP5_GPIO_INPUT
#define AIC32X4_MFP5_GPIO_OUTPUT
#define AIC32X4_MFP5_GPIO_OUT_LOW
#define AIC32X4_MFP5_GPIO_OUT_HIGH

struct aic32x4_setup_data {};

struct aic32x4_pdata {};

#endif