diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2020-10-15 15:20:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-10-19 10:01:52 +0200 |
commit | dc62c9c65c50dea80a738a0819c661c7151c5ed7 (patch) | |
tree | 85a17f04e431bf49ddcf29b1bcc8769ab906f4eb /drivers/mfd | |
parent | 677f6a97f34f0dcbfcb5744089ef9566b9f8a3f0 (diff) | |
download | barebox-dc62c9c65c50dea80a738a0819c661c7151c5ed7.tar.gz barebox-dc62c9c65c50dea80a738a0819c661c7151c5ed7.tar.xz |
net: macb: adjust clk_tx rate for link speed changes
Changes of the link speed might require an adjustment of the clk_tx.
Read the clk_tx from the device tree and change the rate if the link
speed changes.
If the clk_tx rate is already correct, changing the clock is not
required and, thus, not being able to get the clock rate is not fatal.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions