]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: cadence: macb: enable EEE for Mobileye EyeQ5
authorNicolai Buchwitz <nb@tipi-net.de>
Wed, 4 Mar 2026 10:54:32 +0000 (11:54 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Mar 2026 02:56:49 +0000 (18:56 -0800)
Set MACB_CAPS_EEE for the Mobileye EyeQ5 GEM instance. EEE has been
verified on EyeQ5 hardware using a loopback setup with ethtool
--show-eee confirming EEE active on both ends at 100baseT/Full and
1000baseT/Full.

Tested-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
Link: https://patch.msgid.link/20260304105432.631186-6-nb@tipi-net.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c

index 5933a5042bc81e456d057db0b515d95f32c04428..3dcae4d5f74c9709a86fae837d25501da4484bf7 100644 (file)
@@ -5526,7 +5526,7 @@ static const struct macb_config versal_config = {
 static const struct macb_config eyeq5_config = {
        .caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_JUMBO |
                MACB_CAPS_GEM_HAS_PTP | MACB_CAPS_QUEUE_DISABLE |
-               MACB_CAPS_NO_LSO,
+               MACB_CAPS_NO_LSO | MACB_CAPS_EEE,
        .dma_burst_length = 16,
        .clk_init = macb_clk_init,
        .init = eyeq5_init,