[PATCH v 1/2] ravb: Add support for r8a7743 SoC
From: Chris Paterson <hidden>
Date: 2017-07-05 14:59:49
Also in:
linux-devicetree, linux-renesas-soc, netdev
Hello Geert,
From: geert.uytterhoeven at gmail.com [mailto:geert.uytterhoeven at gmail.com] On Behalf Of Geert Uytterhoeven Sent: 05 July 2017 15:56 Hi Chris, On Wed, Jul 5, 2017 at 3:51 PM, Chris Paterson [off-list ref] wrote:quoted
quoted
From: geert.uytterhoeven at gmail.com [mailto:geert.uytterhoeven at gmail.com] On Behalf Of GeertUytterhoevenquoted
quoted
Sent: 05 July 2017 14:47 On Wed, Jul 5, 2017 at 3:01 PM, Biju Das [off-list ref]wrote:quoted
quoted
quoted
Add support for Gigabit Ethernet E-MAC on r8a7743 (RZ/G1M) SoC. Renesas RZ/G1M (R8A7743) SoC Ethernet AVB IP is identical to the R-Car Gen2 family. Signed-off-by: Biju Das <redacted> Reviewed-by: Chris Paterson <redacted>Thanks for your patch!quoted
--- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c@@ -1869,6 +1869,7 @@ static int ravb_mdio_release(structravb_private *priv) } static const struct of_device_id ravb_match_table[] = { + { .compatible = "renesas,etheravb-r8a7743", .data = (void + *)RCAR_GEN2 }, { .compatible = "renesas,etheravb-r8a7790", .data = (void*)RCAR_GEN2 },quoted
{ .compatible = "renesas,etheravb-r8a7794", .data = (void*)RCAR_GEN2 },quoted
{ .compatible = "renesas,etheravb-rcar-gen2", .data = (void *)RCAR_GEN2 },As Sergei already mentioned, a driver update is not needed due to the presence of family-specific compatible values. Please drop that part, and you can add my: Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>Should the other compatible values (r8a7790, 94 etc) be removed then? Orare they needed for backwards compatibility? The other compatible values in DT bindings and DTS files should be kept, to allow handling of SoC-specific quirks if/when they are ever detected. The other compatible values in the driver should be kept for backwards- compatibility with old DTB files that lack the (newer) family-specific compatible values.
Thank you for the comprehensive answer. Kind regards, Chris
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-
m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds