mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00

The biggest comphy index can be equal to 6 so there is no need to use uint64_t for storing it. Change-Id: I14c2b68e51678a560815963c72aed0c37068f926 Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com> Reviewed-by: Igal Liberman <igall@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
19 lines
681 B
C
19 lines
681 B
C
/*
|
|
* 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,
|
|
uint8_t comphy_index);
|
|
int mvebu_cp110_comphy_power_off(uint64_t comphy_base,
|
|
uint8_t comphy_index);
|
|
int mvebu_cp110_comphy_power_on(uint64_t comphy_base,
|
|
uint8_t comphy_index, uint64_t comphy_mode);
|
|
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);
|