2018-04-24 17:23:09 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 Marvell International Ltd.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
* https://spdx.org/licenses
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Marvell CP110 SoC COMPHY unit driver */
|
|
|
|
|
|
|
|
int mvebu_cp110_comphy_is_pll_locked(uint64_t comphy_base,
|
2018-07-12 06:40:34 +01:00
|
|
|
uint8_t comphy_index);
|
2018-04-24 17:23:09 +01:00
|
|
|
int mvebu_cp110_comphy_power_off(uint64_t comphy_base,
|
2018-07-12 06:40:34 +01:00
|
|
|
uint8_t comphy_index);
|
2018-04-24 17:23:09 +01:00
|
|
|
int mvebu_cp110_comphy_power_on(uint64_t comphy_base,
|
2018-07-12 06:40:34 +01:00
|
|
|
uint8_t comphy_index, uint64_t comphy_mode);
|
2018-04-24 17:23:09 +01:00
|
|
|
int mvebu_cp110_comphy_xfi_rx_training(uint64_t comphy_base,
|
|
|
|
uint8_t comphy_index);
|
|
|
|
int mvebu_cp110_comphy_digital_reset(uint64_t comphy_base, uint8_t comphy_index,
|
|
|
|
uint32_t comphy_mode, uint32_t command);
|