linux/sound/soc/mediatek/mt8186/mt8186-afe-gpio.h
Jiaxin Yu cfa9a966f1
ASoC: mediatek: mt8186: support gpio control in platform driver
Add gpio control for all audio interface separately.

Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Link: https://lore.kernel.org/r/20220523132858.22166-13-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-06-06 16:00:51 +01:00

20 lines
418 B
C

/* SPDX-License-Identifier: GPL-2.0
*
* mt6833-afe-gpio.h -- Mediatek 6833 afe gpio ctrl definition
*
* Copyright (c) 2022 MediaTek Inc.
* Author: Jiaxin Yu <jiaxin.yu@mediatek.com>
*/
#ifndef _MT8186_AFE_GPIO_H_
#define _MT8186_AFE_GPIO_H_
struct mtk_base_afe;
int mt8186_afe_gpio_init(struct device *dev);
int mt8186_afe_gpio_request(struct device *dev, bool enable,
int dai, int uplink);
#endif