All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Ferre <nicolas.ferre@microchip.com>
To: Claudiu Beznea <claudiu.beznea@microchip.com>,
	<davem@davemloft.net>, <kuba@kernel.org>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 4/4] net: macb: enable mii on rgmii for sama7g5
Date: Fri, 17 Sep 2021 15:33:47 +0200	[thread overview]
Message-ID: <216f6e40-0faa-027a-6a73-e516a02bb21b@microchip.com> (raw)
In-Reply-To: <20210917132615.16183-5-claudiu.beznea@microchip.com>

On 17/09/2021 at 15:26, Claudiu Beznea wrote:
> Both MAC IPs available on SAMA7G5 support MII on RGMII feature.
> Enable these by adding proper capability to proper macb_config
> objects.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Yes:
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Thanks Claudiu, best regards,
   Nicolas

> ---
>   drivers/net/ethernet/cadence/macb_main.c | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
> index cdf3e35b5b33..e2730b3e1a57 100644
> --- a/drivers/net/ethernet/cadence/macb_main.c
> +++ b/drivers/net/ethernet/cadence/macb_main.c
> @@ -4597,7 +4597,8 @@ static const struct macb_config zynq_config = {
>   };
>   
>   static const struct macb_config sama7g5_gem_config = {
> -	.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_CLK_HW_CHG,
> +	.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_CLK_HW_CHG |
> +		MACB_CAPS_MIIONRGMII,
>   	.dma_burst_length = 16,
>   	.clk_init = macb_clk_init,
>   	.init = macb_init,
> @@ -4605,7 +4606,8 @@ static const struct macb_config sama7g5_gem_config = {
>   };
>   
>   static const struct macb_config sama7g5_emac_config = {
> -	.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII | MACB_CAPS_USRIO_HAS_CLKEN,
> +	.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII |
> +		MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII,
>   	.dma_burst_length = 16,
>   	.clk_init = macb_clk_init,
>   	.init = macb_init,
> 


-- 
Nicolas Ferre

  reply	other threads:[~2021-09-17 13:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17 13:26 [PATCH v2 0/4] net: macb: add support for MII on RGMII interface Claudiu Beznea
2021-09-17 13:26 ` [PATCH v2 1/4] net: macb: add description for SRTSM Claudiu Beznea
2021-09-17 13:26 ` [PATCH v2 2/4] net: macb: align for OSSMODE offset Claudiu Beznea
2021-09-17 13:26 ` [PATCH v2 3/4] net: macb: add support for mii on rgmii Claudiu Beznea
2021-09-17 13:26 ` [PATCH v2 4/4] net: macb: enable mii on rgmii for sama7g5 Claudiu Beznea
2021-09-17 13:33   ` Nicolas Ferre [this message]
2021-09-17 14:40   ` Andrew Lunn
2021-09-17 13:30 ` [PATCH v2 0/4] net: macb: add support for MII on RGMII interface Claudiu.Beznea
2021-09-18 13:20 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=216f6e40-0faa-027a-6a73-e516a02bb21b@microchip.com \
    --to=nicolas.ferre@microchip.com \
    --cc=claudiu.beznea@microchip.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.