Marek BehĂșn | 19ce44c | 2018-08-17 12:58:51 +0200 | [diff] [blame] | 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 | |
Igal Liberman | 6795a66 | 2021-03-23 11:57:57 +0100 | [diff] [blame^] | 19 | int comphy_rx_training(struct udevice *dev, u32 lane); |
Marek BehĂșn | 19ce44c | 2018-08-17 12:58:51 +0200 | [diff] [blame] | 20 | int comphy_update_map(struct comphy_map *serdes_map, int count); |
| 21 | |
| 22 | #endif /* _MVEBU_COMPHY_H_ */ |