diff mbox series

[8/8] net: macb: add sam9x60-macb compatibility string

Message ID dfc7db7606e0898fbedc1f45ed9637379595f9cb.1547629763.git.nicolas.ferre@microchip.com (mailing list archive)
State New, archived
Headers show
Series ARM: at91/dt: update to existing drivers for the sam9x60 SoC | expand

Commit Message

Nicolas Ferre Jan. 16, 2019, 9:57 a.m. UTC
Add a new compatibility string for this product. It's using
at91sam9260-macb layout but has a newer hardware revision: it's safer
to use its own string.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 drivers/net/ethernet/cadence/macb_main.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Nicolas Ferre Jan. 25, 2019, 9:16 a.m. UTC | #1
Hi David,

On 16/01/2019 at 10:57, Nicolas Ferre wrote:
> Add a new compatibility string for this product. It's using
> at91sam9260-macb layout but has a newer hardware revision: it's safer
> to use its own string.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>

I'm thinking of pushing this patch with the others of the series through 
arm-soc tree. Can I have your "Acked-by" tag then?

Best regards,
   Nicolas


> ---
>   drivers/net/ethernet/cadence/macb_main.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
> index 66cc7927061a..a0889ef107a1 100644
> --- a/drivers/net/ethernet/cadence/macb_main.c
> +++ b/drivers/net/ethernet/cadence/macb_main.c
> @@ -3941,6 +3941,7 @@ static const struct of_device_id macb_dt_ids[] = {
>   	{ .compatible = "cdns,np4-macb", .data = &np4_config },
>   	{ .compatible = "cdns,pc302-gem", .data = &pc302gem_config },
>   	{ .compatible = "cdns,gem", .data = &pc302gem_config },
> +	{ .compatible = "cdns,sam9x60-macb", .data = &at91sam9260_config },
>   	{ .compatible = "atmel,sama5d2-gem", .data = &sama5d2_config },
>   	{ .compatible = "atmel,sama5d3-gem", .data = &sama5d3_config },
>   	{ .compatible = "atmel,sama5d3-macb", .data = &sama5d3macb_config },
>
diff mbox series

Patch

diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index 66cc7927061a..a0889ef107a1 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -3941,6 +3941,7 @@  static const struct of_device_id macb_dt_ids[] = {
 	{ .compatible = "cdns,np4-macb", .data = &np4_config },
 	{ .compatible = "cdns,pc302-gem", .data = &pc302gem_config },
 	{ .compatible = "cdns,gem", .data = &pc302gem_config },
+	{ .compatible = "cdns,sam9x60-macb", .data = &at91sam9260_config },
 	{ .compatible = "atmel,sama5d2-gem", .data = &sama5d2_config },
 	{ .compatible = "atmel,sama5d3-gem", .data = &sama5d3_config },
 	{ .compatible = "atmel,sama5d3-macb", .data = &sama5d3macb_config },