Merge git://git.denx.de/u-boot-marvell
[platform/kernel/u-boot.git] / include / mvebu / comphy.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2015-2016 Marvell International Ltd.
4  */
5
6 #ifndef _MVEBU_COMPHY_H_
7 #define _MVEBU_COMPHY_H_
8
9 #include <dt-bindings/comphy/comphy_data.h>
10
11 struct comphy_map {
12         u32 type;
13         u32 speed;
14         u32 invert;
15         bool clk_src;
16         bool end_point;
17 };
18
19 int comphy_update_map(struct comphy_map *serdes_map, int count);
20
21 #endif /* _MVEBU_COMPHY_H_ */
22