aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/cros_typec_vdm.h
blob: 95a6a75d32b6bc723d6314d05b9df57d13d54038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __CROS_TYPEC_VDM__
#define __CROS_TYPEC_VDM__

#include <linux/usb/typec_altmode.h>

extern struct typec_altmode_ops port_amode_ops;

void cros_typec_handle_vdm_attention(struct cros_typec_data *typec, int port_num);
void cros_typec_handle_vdm_response(struct cros_typec_data *typec, int port_num);

#endif /*  __CROS_TYPEC_VDM__ */