sound/soc/mediatek/mt8186/mt8186-afe-gpio.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 |
| 2 | * |
| 3 | * mt6833-afe-gpio.h -- Mediatek 6833 afe gpio ctrl definition |
| 4 | * |
| 5 | * Copyright (c) 2022 MediaTek Inc. |
| 6 | * Author: Jiaxin Yu <[email protected]> |
| 7 | */ |
| 8 | |
| 9 | #ifndef _MT8186_AFE_GPIO_H_ |
| 10 | #define _MT8186_AFE_GPIO_H_ |
| 11 | |
| 12 | struct mtk_base_afe; |
| 13 | |
| 14 | int mt8186_afe_gpio_init(struct device *dev); |
| 15 | |
| 16 | int mt8186_afe_gpio_request(struct device *dev, bool enable, |
| 17 | int dai, int uplink); |
| 18 | |
| 19 | #endif |