Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5534725rwd; Mon, 5 Jun 2023 05:15:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5NJWoGNAC40RbCkKpr60j/pp1sITPsS5e9PxDrCQMvoFHMfGqJOM8hXghvmQxgrwY+4oO+ X-Received: by 2002:a05:6358:3a1b:b0:127:c478:6410 with SMTP id g27-20020a0563583a1b00b00127c4786410mr17230605rwe.30.1685967328663; Mon, 05 Jun 2023 05:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685967328; cv=none; d=google.com; s=arc-20160816; b=Kjh60c/sKTUMly+EFFCaUWB/9M4dq8a1QsRnmR47QY2Z0bNxAPyYxys41Tv78M4B8C Oa5jCQuob8ELrYxHcdTXkPu5YzvtZqQAl55JqvTsh/bfCjrscGWOJyWNoVVu6oG792lh enQHBOZDNpjcHEv+HztmgY479F36JeMu34hgo2yppEa+p5PE+XOYRBW6vOsjIkG+bQxa x19PBUbT1jHqxDrjFQ7A8gMTOi3dMykpPvC1WfczcXyKHA0brkX7J2vKKl/x/yYBMzn/ 94rfD2lbE8rIcbmiZM7iXzyNdltkKn+Q0slGFqrxJ1BOIE0BAP74cOMb/tYy9i14Yvi3 D/Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=cJJXtep5UzML2u8TAyNli4HRso0b9/JwFz52oLtPLqc=; b=PMz1EB0nGLnWvcOJHS7tId96Tom1kTr609mu5L5mU1Gfl1M4ZcLWJemBCeJIn6NWqE PbP5mOdNbS6Q8VlANcIq4hIXS3Nb949RbXhL/Kd4rcbAaAAjIKKrH6cWUEk0utZ+ZSUV ewmTBJfWmu6IQ97pv13Cm5HTtrXGgaC8HLsAoXeYvyjbQKzP0uAPJLNHteyrN3rYwIE5 de4kIfVs0/dOeM7bKgEcp34DxGzLYFmxesHL6p+bTsTJHACjHExSKGLuNuMfLultXn/L oChtmwVCLx+QKNyL5vyd+Fl6xJ0NgijCSpXqWL8TCDkFjfmdPvXMkWHrdvaJwqYVPa56 PYDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Jy9z2fXD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a17090abc4200b00250291be156si7280265pjv.148.2023.06.05.05.15.16; Mon, 05 Jun 2023 05:15:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Jy9z2fXD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232960AbjFEMIX (ORCPT + 99 others); Mon, 5 Jun 2023 08:08:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbjFEMIW (ORCPT ); Mon, 5 Jun 2023 08:08:22 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66E6B92; Mon, 5 Jun 2023 05:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1685966901; x=1717502901; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=dQT6oVcoi6OibIBbA3hTG2i3vMqElgYwkRHP4oreT70=; b=Jy9z2fXDE2qtQ1lqdFjdSSv3OFFyUsvnrDAtls8Lz7O+vre+hby6wRkb 2eg8yY1nJdM3WDrNHMwdbYK7oxxIMCYD4ihvxIyOHM2tS441oGoXrHVcu SS4dQs2a3WOapQ+NrPC61tcGW9gNEHhnvA20BLNl3fqcjBe9U6rTJUPKS lHQu1lNA2pkYLeXve66pfzLyGvUxaurrkQDe6HUL9nDb5SsTa8bxx6wli 0bAALD/ykGl0iENyxunBdInRUkaZr7Oti9OIQ1MESnCMTUEmcsbPquKaL hKFt/9c7QZZXEyBPYPWhX+sMJm/HASBa3v7x8mMl9K0V211OR5bow1g/a w==; X-IronPort-AV: E=Sophos;i="6.00,217,1681196400"; d="scan'208";a="214645686" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 05 Jun 2023 05:08:19 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 5 Jun 2023 05:07:46 -0700 Received: from [10.159.245.112] (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 5 Jun 2023 05:07:39 -0700 Message-ID: <3e262485-bf5f-1a98-e399-e02add3eaa89@microchip.com> Date: Mon, 5 Jun 2023 14:07:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 21/21] net: macb: add support for gmac to sam9x7 Content-Language: en-US To: Krzysztof Kozlowski , Varshini Rajendran , , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , References: <20230603200243.243878-1-varshini.rajendran@microchip.com> <20230603200243.243878-22-varshini.rajendran@microchip.com> From: Nicolas Ferre Organization: microchip In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/06/2023 at 08:42, Krzysztof Kozlowski wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On 03/06/2023 22:02, Varshini Rajendran wrote: >> From: Nicolas Ferre >> >> Add support for GMAC in sam9x7 SoC family >> >> Signed-off-by: Varshini Rajendran >> Signed-off-by: Nicolas Ferre >> --- >> 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 29a1199dad14..609c8e9305ba 100644 >> --- a/drivers/net/ethernet/cadence/macb_main.c >> +++ b/drivers/net/ethernet/cadence/macb_main.c >> @@ -4913,6 +4913,7 @@ static const struct of_device_id macb_dt_ids[] = { >> { .compatible = "microchip,mpfs-macb", .data = &mpfs_config }, >> { .compatible = "microchip,sama7g5-gem", .data = &sama7g5_gem_config }, >> { .compatible = "microchip,sama7g5-emac", .data = &sama7g5_emac_config }, >> + { .compatible = "microchip,sam9x7-gem", .data = &sama7g5_gem_config }, > > These are compatible, aren't they? Why do you need new entry? The hardware itself is different, even if the new features are not supported yet in the macb driver. The macb driver will certainly evolve in order to add these features so we decided to match a new compatible string all the way to the driver. Best regards, Nicolas -- Nicolas Ferre