]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: ravb: Enable optional refclk
authorAdam Ford <aford173@gmail.com>
Mon, 12 Apr 2021 13:26:19 +0000 (08:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Apr 2021 21:09:59 +0000 (14:09 -0700)
commit8ef7adc6beb2ef0bce83513dc9e4505e7b21e8c2
tree32e8aac5fcb651d8d29af716bd4916eee704c297
parent6f43735b6da64bd46bc1ee2af5edce584a09012d
net: ethernet: ravb: Enable optional refclk

For devices that use a programmable clock for the AVB reference clock,
the driver may need to enable them.  Add code to find the optional clock
and enable it when available.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c