summaryrefslogtreecommitdiff
path: root/include/driver/retimer/anx7452_public.h
blob: ffd8497836820b759d9875b0bf790041506be544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Copyright 2023 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * ANX7452: Active redriver
 *
 * Public functions, definitions, and structures.
 */

#ifndef __CROS_EC_USB_RETIMER_ANX7452_PUBLIC_H
#define __CROS_EC_USB_RETIMER_ANX7452_PUBLIC_H

#include "usb_mux.h"

extern const struct usb_mux_driver anx7452_usb_retimer_driver;

/* Retimer driver hardware specific controls */
struct anx7452_control {
	/* USB enable */
	const enum gpio_signal usb_enable_gpio;
	/* DP enable */
	const enum gpio_signal dp_enable_gpio;
};
extern const struct anx7452_control anx7452_controls[];

#endif /* __CROS_EC_USB_RETIMER_ANX7452_PUBLIC_H */