/* SPDX-License-Identifier: GPL-2.0 */
/*
 * mtu3_ycable.h - Get ycable header
 *
 * Copyright (C) 2016 MediaTek Inc.
 *
 * Author: Xin Lin <xin.lin@mediatek.com>
 */

#ifndef __MTU3_YCABLE_H__
#define __MTU3_YCABLE_H__
#include "mtu3.h"

enum usb_extconn_type {
	MT_USB_EXTCONN_UNKNOWN = 0,
	MT_USB_EXTCONN_STANDARDHOST = 1,
	MT_USB_EXTCONN_CHARGINGHOST = 2,
	MT_USB_EXTCONN_NONSTANDARDCHARGER = 3,
	MT_USB_EXTCONN_STANDARDCHARGER = 4,
	MT_USB_EXTCONN_MAXIMUM = 5,
};

bool usb_set_default_role_from_lk_y_cable(struct ssusb_mtk *ssusb);
#endif
