xref: /rk3399_rockchip-uboot/include/linux/usb/phy-rockchip-usbdp.h (revision 11b25801bd4e56894e87abd893d0b2c620bc8e17)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Rockchip USBDP Combo PHY with Samsung IP block driver
4  *
5  * Copyright (C) 2021 Rockchip Electronics Co., Ltd
6  */
7 
8 #ifndef __PHY_ROCKCHIP_USBDP_H_
9 #define __PHY_ROCKCHIP_USBDP_H_
10 
11 #if CONFIG_IS_ENABLED(PHY_ROCKCHIP_USBDP)
12 int rockchip_u3phy_uboot_init(fdt_addr_t phy_addr);
13 #else
14 static inline int rockchip_u3phy_uboot_init(fdt_addr_t phy_addr)
15 {
16 	return -ENOTSUPP;
17 }
18 #endif
19 
20 #endif
21