c05564c4d8
Android 13
30 lines
611 B
C
Executable file
30 lines
611 B
C
Executable file
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (c) 2019 MediaTek Inc.
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MTU3_PRIV__
|
|
#define __MTU3_PRIV__
|
|
|
|
struct ssusb_priv {
|
|
struct regulator *vusb10;
|
|
};
|
|
|
|
enum MTK_USB_SMC_CALL {
|
|
MTK_USB_SMC_INFRA_REQUEST = 0,
|
|
MTK_USB_SMC_INFRA_RELEASE,
|
|
MTK_USB_SMC_NUM
|
|
};
|
|
|
|
extern void usb_audio_req(bool on);
|
|
extern int mtu3_phy_init_debugfs(struct phy *phy);
|
|
extern int mtu3_phy_exit_debugfs(void);
|
|
extern void u3phywrite32(struct phy *phy, int offset, int mask, int value);
|
|
extern struct ssusb_mtk *get_ssusb(void);
|
|
extern void ssusb_switch_usbpll_div13(struct ssusb_mtk *ssusb, bool on);
|
|
|
|
#endif
|
|
|