Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755466AbbFROXz (ORCPT ); Thu, 18 Jun 2015 10:23:55 -0400 Received: from eusmtp01.atmel.com ([212.144.249.243]:19676 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752293AbbFROXq (ORCPT ); Thu, 18 Jun 2015 10:23:46 -0400 Message-ID: <5582D434.7030906@atmel.com> Date: Thu, 18 Jun 2015 16:22:44 +0200 From: Nicolas Ferre Organization: atmel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Alexandre Belloni CC: , "David S. Miller" , , , Boris BREZILLON , Cyrille Pitchen Subject: Re: [PATCH] net/macb: add config for Atmel sama5d2 SoCs References: <1434622699-2689-1-git-send-email-nicolas.ferre@atmel.com> <20150618133022.GD27492@piout.net> In-Reply-To: <20150618133022.GD27492@piout.net> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2109 Lines: 60 Le 18/06/2015 15:30, Alexandre Belloni a ?crit : > On 18/06/2015 at 12:18:19 +0200, Nicolas Ferre wrote : >> From: Cyrille Pitchen >> >> Add the compatible string for Atmel sama5d2 SoC family as the configuration >> options differ from other instances of the GEM. >> >> Signed-off-by: Cyrille Pitchen >> Signed-off-by: Nicolas Ferre >> --- >> drivers/net/ethernet/cadence/macb.c | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c >> index 740d04fd2223..caeb39561567 100644 >> --- a/drivers/net/ethernet/cadence/macb.c >> +++ b/drivers/net/ethernet/cadence/macb.c >> @@ -2713,6 +2713,13 @@ static const struct macb_config pc302gem_config = { >> .init = macb_init, >> }; >> >> +static const struct macb_config sama5d2_config = { >> + .caps = 0, >> + .dma_burst_length = 16, >> + .clk_init = macb_clk_init, >> + .init = macb_init, >> +}; >> + >> static const struct macb_config sama5d3_config = { >> .caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE, >> .dma_burst_length = 16, >> @@ -2756,6 +2763,7 @@ static const struct of_device_id macb_dt_ids[] = { >> { .compatible = "cdns,macb" }, >> { .compatible = "cdns,pc302-gem", .data = &pc302gem_config }, >> { .compatible = "cdns,gem", .data = &pc302gem_config }, >> + { .compatible = "atmel,sama5d2-gem", .data = &sama5d2_config }, > > This compatible has to be documented Sure, I re-send a series right now (and add some documentation fixes). Thanks, bye, > >> { .compatible = "atmel,sama5d3-gem", .data = &sama5d3_config }, >> { .compatible = "atmel,sama5d4-gem", .data = &sama5d4_config }, >> { .compatible = "cdns,at91rm9200-emac", .data = &emac_config }, >> -- >> 2.1.3 >> > -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/