ravb: add R8A7791 support
Subsystems (5)
PATCH 1/1 ravb: add R8A7791 support
Add support for yet another ARM member of the R-Car family, R-Car M2, also known as R8A7791.
---
The patch is against DaveM's 'net-next.git' repo but I wouldn't mind if it's applied to 'net.git' instead. :-)
Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 + drivers/net/ethernet/renesas/ravb_main.c | 1 + 2 files changed, 2 insertions(+)
Documentation/devicetree/bindings/net/renesas,ravb.txt +1 -0
@@ -5,6 +5,7 @@ interface contains. Required properties: - compatible: "renesas,etheravb-r8a7790" if the device is a part of R8A7790 SoC. + "renesas,etheravb-r8a7791" if the device is a part of R8A7791 SoC. "renesas,etheravb-r8a7794" if the device is a part of R8A7794 SoC. "renesas,etheravb-r8a7795" if the device is a part of R8A7795 SoC. - reg: offset and length of (1) the register block and (2) the stream buffer.
drivers/net/ethernet/renesas/ravb_main.c +1 -0
@@ -1655,6 +1655,7 @@ static int ravb_mdio_release(struct ravbstatic const struct of_device_id ravb_match_table[] = { { .compatible ="renesas,etheravb-r8a7790" , .data = (void *)RCAR_GEN2 }, + { .compatible ="renesas,etheravb-r8a7791" , .data = (void *)RCAR_GEN2 }, { .compatible ="renesas,etheravb-r8a7794" , .data = (void *)RCAR_GEN2 }, { .compatible ="renesas,etheravb-r8a7795" , .data = (void *)RCAR_GEN3 }, { }
Hi Sergei,
Quoted 1 line · Sergei Shtylyov
Add support for yet another ARM member of the R-Car family, R-Car M2, also
R-Car M2-W?
Quoted 1 line
known as R8A7791.
There's also R-Car M2-N, aka R8A7793, but you probably know that ;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello.
Quoted 3 lines · Geert Uytterhoeven
Quoted 1 line
Add support for yet another ARM member of the R-Car family, R-Car M2, also
R-Car M2-W?
Right, forgot about the postfixes.
Quoted 3 lines
Quoted 1 line
known as R8A7791.
There's also R-Car M2-N, aka R8A7793, but you probably know that ;-)
Will fix.
Quoted 3 lines
Gr{oetje,eeting}s,
Geert
MBR, Sergei
Quoted 8 lines · Sergei Shtylyov
Hello.
Quoted 3 lines · Geert Uytterhoeven
Quoted 1 line
Add support for yet another ARM member of the R-Car family, R-Car M2, also
R-Car M2-W?
Quoted 7 lines
Right, forgot about the postfixes.
Quoted 3 lines
Quoted 1 line
known as R8A7791.
There's also R-Car M2-N, aka R8A7793, but you probably know that ;-)
Will fix.
I would prefer if we added generic gen2 and gen3 compat strings to the driver and only documented new soc-specific compat strings.
Actually by chance I was planning to up patches to do that and add compat strings for the missing Gen2 boards. But I won't complain if you beat me to it.
Hi Simon,
Quoted 11 lines · Simon Horman
Quoted 10 lines · Sergei Shtylyov
Quoted 2 lines · Geert Uytterhoeven
Quoted 1 line
Add support for yet another ARM member of the R-Car family, R-Car M2, also
R-Car M2-W?
Right, forgot about the postfixes.
Quoted 3 lines
Quoted 1 line
known as R8A7791.
There's also R-Car M2-N, aka R8A7793, but you probably know that ;-)
Quoted 8 lines
Quoted 1 line
Will fix.
I would prefer if we added generic gen2 and gen3 compat strings to the driver and only documented new soc-specific compat strings.
Actually by chance I was planning to up patches to do that and add compat strings for the missing Gen2 boards. But I won't complain if you beat me to it.
You're aware we have to keep the existing SoC-specific ones in the driver, for backwards compatibility?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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
Hello.
Quoted 6 lines · Simon Horman
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Add support for yet another ARM member of the R-Car family, R-Car M2, also
R-Car M2-W?
Right, forgot about the postfixes.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
known as R8A7791.
There's also R-Car M2-N, aka R8A7793, but you probably know that ;-)
Will fix.
I would prefer if we added generic gen2 and gen3 compat strings to the driver and only documented new soc-specific compat strings.
That's a new policy it seems. Previously you preferred the SoC-specific
strings to be used, didn;t you?
Quoted 3 lines
Actually by chance I was planning to up patches to do that and add compat strings for the missing Gen2 boards. But I won't complain if you beat me to it.
No, I'm pretty busy as is. :-)
MBR, Sergei
Quoted 19 lines · Geert Uytterhoeven
Hi Simon,
Quoted 16 lines · Simon Horman
Quoted 11 lines · Sergei Shtylyov
Quoted 2 lines · Geert Uytterhoeven
Quoted 1 line
Add support for yet another ARM member of the R-Car family, R-Car M2, also
R-Car M2-W?
Right, forgot about the postfixes.
Quoted 3 lines
Quoted 1 line
known as R8A7791.
There's also R-Car M2-N, aka R8A7793, but you probably know that ;-)
Will fix.
I would prefer if we added generic gen2 and gen3 compat strings to the driver and only documented new soc-specific compat strings.
Quoted 6 lines
Quoted 3 lines
Actually by chance I was planning to up patches to do that and add compat strings for the missing Gen2 boards. But I won't complain if you beat me to it.
You're aware we have to keep the existing SoC-specific ones in the driver, for backwards compatibility?
Yes, I am aware of that.
Quoted 14 lines · Sergei Shtylyov
Hello.
Quoted 10 lines · Simon Horman
Quoted 10 lines
Quoted 3 lines
Quoted 1 line
Add support for yet another ARM member of the R-Car family, R-Car M2, also
R-Car M2-W?
Right, forgot about the postfixes.
Quoted 3 lines
Quoted 1 line
known as R8A7791.
There's also R-Car M2-N, aka R8A7793, but you probably know that ;-)
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Will fix.
I would prefer if we added generic gen2 and gen3 compat strings to the driver and only documented new soc-specific compat strings.
That's a new policy it seems. Previously you preferred the SoC-specific
strings to be used, didn;t you?
Yes, that is correct on all counts.
To clarify new policy for Renesas IP is:
soc-specific compat + generic compat as fallback
Quoted 5 lines
Quoted 3 lines
Actually by chance I was planning to up patches to do that and add compat strings for the missing Gen2 boards. But I won't complain if you beat me to it.
No, I'm pretty busy as is. :-)
Ok, I'll handle this.