Konstantin Porotchkin | 5d93d08 | 2018-04-24 19:23:09 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 Marvell International Ltd. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * https://spdx.org/licenses |
| 6 | */ |
| 7 | |
| 8 | /* Marvell CP110 SoC COMPHY unit driver */ |
| 9 | |
| 10 | int mvebu_cp110_comphy_is_pll_locked(uint64_t comphy_base, |
Grzegorz Jaszczyk | 4cff308 | 2018-07-12 07:40:34 +0200 | [diff] [blame] | 11 | uint8_t comphy_index); |
Konstantin Porotchkin | 5d93d08 | 2018-04-24 19:23:09 +0300 | [diff] [blame] | 12 | int mvebu_cp110_comphy_power_off(uint64_t comphy_base, |
Grzegorz Jaszczyk | 4cff308 | 2018-07-12 07:40:34 +0200 | [diff] [blame] | 13 | uint8_t comphy_index); |
Konstantin Porotchkin | 5d93d08 | 2018-04-24 19:23:09 +0300 | [diff] [blame] | 14 | int mvebu_cp110_comphy_power_on(uint64_t comphy_base, |
Grzegorz Jaszczyk | 4cff308 | 2018-07-12 07:40:34 +0200 | [diff] [blame] | 15 | uint8_t comphy_index, uint64_t comphy_mode); |
Konstantin Porotchkin | 5d93d08 | 2018-04-24 19:23:09 +0300 | [diff] [blame] | 16 | int mvebu_cp110_comphy_xfi_rx_training(uint64_t comphy_base, |
| 17 | uint8_t comphy_index); |
| 18 | int mvebu_cp110_comphy_digital_reset(uint64_t comphy_base, uint8_t comphy_index, |
| 19 | uint32_t comphy_mode, uint32_t command); |