1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_PCS_MTK_LYNXI_H
3 #define __LINUX_PCS_MTK_LYNXI_H
4 
5 #include <linux/phylink.h>
6 #include <linux/regmap.h>
7 
8 #define MTK_SGMII_FLAG_PN_SWAP BIT(0)
9 struct phylink_pcs *mtk_pcs_lynxi_create(struct device *dev,
10 					 struct regmap *regmap,
11 					 u32 ana_rgc3, u32 flags);
12 void mtk_pcs_lynxi_destroy(struct phylink_pcs *pcs);
13 #endif
14