net: ravb: Add R-Car Gen4 support
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 9 Sep 2022 10:10:11 +0000 (12:10 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 00:58:17 +0000 (17:58 -0700)
Add support for the Renesas Ethernet AVB (EtherAVB-IF) blocks on R-Car
Gen4 SoCs (e.g. R-Car V4H) by matching on a family-specific compatible
value.

These are treated the same as EtherAVB on R-Car Gen3.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/2ee968890feba777e627d781128b074b2c43cddb.1662718171.git.geert+renesas@glider.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/renesas/ravb_main.c

index b357ac4c56c599ad4a73ad8670228fc9fec77722..d013cc1c8a0ad00727d3bae313c1f3d43b8693a1 100644 (file)
@@ -2512,6 +2512,7 @@ static const struct of_device_id ravb_match_table[] = {
        { .compatible = "renesas,etheravb-rcar-gen2", .data = &ravb_gen2_hw_info },
        { .compatible = "renesas,etheravb-r8a7795", .data = &ravb_gen3_hw_info },
        { .compatible = "renesas,etheravb-rcar-gen3", .data = &ravb_gen3_hw_info },
+       { .compatible = "renesas,etheravb-rcar-gen4", .data = &ravb_gen3_hw_info },
        { .compatible = "renesas,etheravb-rzv2m", .data = &ravb_rzv2m_hw_info },
        { .compatible = "renesas,rzg2l-gbeth", .data = &gbeth_hw_info },
        { }