blob: 7118e222db3c72e6746b0697341e9aa5c33dff04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __ZEPHYR_SHIM_ANX7447_USB_MUX_H
#define __ZEPHYR_SHIM_ANX7447_USB_MUX_H
#include "tcpm/anx7447_public.h"
#define ANX7447_USB_MUX_COMPAT analogix_usbc_mux_anx7447
/* clang-format off */
#define USB_MUX_CONFIG_ANX7447(mux_id) \
{ \
USB_MUX_COMMON_FIELDS(mux_id), \
.driver = &anx7447_usb_mux_driver, \
.hpd_update = COND_CODE_1(DT_PROP(mux_id, hpd_update_enable), \
(&anx7447_tcpc_update_hpd_status), (NULL)), \
}
/* clang-format on */
#endif /* __ZEPHYR_SHIM_ANX7447_USB_MUX_H */
|