/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /******************************************************************************* * * Filename: * --------- * AudDrv_Gpio.h * * Project: * -------- * MT6580 Audio Driver Gpio control * * Description: * ------------ * Audio gpio control * * Author: * ------- * George * *------------------------------------------------------------------------------ * * *******************************************************************************/ #ifndef _AUDDRV_GPIO_H_ #define _AUDDRV_GPIO_H_ /***************************************************************************** * C O M P I L E R F L A G S *****************************************************************************/ /***************************************************************************** * E X T E R N A L R E F E R E N C E S *****************************************************************************/ #include "AudDrv_Common.h" #include "AudDrv_Def.h" /***************************************************************************** * D A T A T Y P E S *****************************************************************************/ /***************************************************************************** * M A C R O *****************************************************************************/ /***************************************************************************** * FUNCTION D E F I N I T I O N *****************************************************************************/ #if !defined(CONFIG_MTK_LEGACY) #include #else #include #endif #if !defined(CONFIG_MTK_LEGACY) void AudDrv_GPIO_probe(void *dev); int AudDrv_GPIO_PMIC_Select(int bEnable); int AudDrv_GPIO_I2S_Select(int bEnable); int AudDrv_GPIO_EXTAMP_Select(int bEnable); int AudDrv_GPIO_EXTAMP2_Select(int bEnable); int AudDrv_GPIO_RCVSPK_Select(int bEnable); #endif #endif