Hi Russell,
On Mon, 12 Nov 2018 12:30:52 +
Russell King wrote:
>Add support for the Armada 38x common phy to allow us to change the
>speed of the Ethernet serdes lane. This driver only supports
>manipulation of the speed, it does not support configuration of the
>common phy.
Tested-by: Max
Hi,
On 12/11/18 6:00 PM, Russell King wrote:
> Add support for the Armada 38x common phy to allow us to change the
> speed of the Ethernet serdes lane. This driver only supports
> manipulation of the speed, it does not support configuration of the
> common phy.
>
> Signed-off-by: Russell King
>
> +static int a38x_comphy_poll(struct a38x_comphy_lane *lane,
> + unsigned int offset, u32 mask, u32 value)
> +{
> + unsigned int timeout = 10;
> + u32 val;
> +
> + while (1) {
> + val = readl_relaxed(lane->base + offset);
> + if ((val & m
Add support for the Armada 38x common phy to allow us to change the
speed of the Ethernet serdes lane. This driver only supports
manipulation of the speed, it does not support configuration of the
common phy.
Signed-off-by: Russell King
---
drivers/phy/marvell/Kconfig| 10 ++
d