linux/sound/soc/mediatek/mt8186/mt8186-afe-gpio.c

// SPDX-License-Identifier: GPL-2.0
//
// mt8186-afe-gpio.c  --  Mediatek 8186 afe gpio ctrl
//
// Copyright (c) 2022 MediaTek Inc.
// Author: Jiaxin Yu <[email protected]>

#include <linux/pinctrl/consumer.h>

#include "mt8186-afe-common.h"
#include "mt8186-afe-gpio.h"

static struct pinctrl *aud_pinctrl;

enum mt8186_afe_gpio {};

struct audio_gpio_attr {};

static struct audio_gpio_attr aud_gpios[MT8186_AFE_GPIO_GPIO_NUM] =;

static DEFINE_MUTEX(gpio_request_mutex);

int mt8186_afe_gpio_init(struct device *dev)
{}
EXPORT_SYMBOL_GPL();

static int mt8186_afe_gpio_select(struct device *dev,
				  enum mt8186_afe_gpio type)
{}

static int mt8186_afe_gpio_adda_dl(struct device *dev, bool enable)
{}

static int mt8186_afe_gpio_adda_ul(struct device *dev, bool enable)
{}

int mt8186_afe_gpio_request(struct device *dev, bool enable,
			    int dai, int uplink)
{}