From patchwork Fri Dec 4 12:34:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 338264 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED060C4361B for ; Fri, 4 Dec 2020 12:35:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A682222AAC for ; Fri, 4 Dec 2020 12:35:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387416AbgLDMfm (ORCPT ); Fri, 4 Dec 2020 07:35:42 -0500 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:5291 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgLDMfl (ORCPT ); Fri, 4 Dec 2020 07:35:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1607085341; x=1638621341; h=from:to:cc:subject:date:message-id:mime-version; bh=ooxPzxrzwJw3JgGledQM6x16vHXhUYhY2vlKUJL6gCk=; b=n2tVazx27HzeiqKlRf3sM0HkabNGKGM0kTSXALNy5W7WYqTbJO613lL6 8RqYyzKdDaf7MEtmdU52TOjyZ9MgwvE94UpQyslHzswRBbJLbPupsKqji iHneUNC7YQ6yitYBNIHx3N/tDX6/sThsg4/wfOt415ji38fbpu1UJpxnF SYCZKmEW0th8LH1im1W+l82Bwj1MsHMd7k6MzrXRdWkqKFvMtHWdax+yY 2wvDpLn3kVxFZ0d7M61CvUxhVerFziznVZl+14m0oLx4cp5Aen8Y0ypzA nEQCJINbTv9Q506+VUvJGTpUc6mY5JQwMFn1xdyVY6MddHgLrF/rJbNLb Q==; IronPort-SDR: 57QSs6qZ726gYyaXo9KxbpR4x9GrQ93MizO4GCVFjdkN6YFGjOZ4V8dDigRo/cf1Zw6ZslNPix iS0usEXSoGLVIFq9KgdE1lI+Cza+W8TRoXqMEtl8VcKg6JYo7C3HFUg2NOPyhcFsrH6KdAdL/f 6EN4nqCoMjFFRQsksbi0r8MuPkPwrOSaKL0i72titbTwGxxgQKU5nZBol+18O6keRcvJZqC0Fa rTKa4fxlAJBT7btlnk3JVBWx7P9lAWBK7Sxn+zR1Moxu9uFP3pryS2SwzxfmV2Mk6EZlLOEmoU zzI= X-IronPort-AV: E=Sophos;i="5.78,392,1599548400"; d="scan'208";a="36119956" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Dec 2020 05:34:35 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Fri, 4 Dec 2020 05:34:35 -0700 Received: from m18063-ThinkPad-T460p.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Fri, 4 Dec 2020 05:34:29 -0700 From: Claudiu Beznea To: , , , , , , CC: , , , , , Claudiu Beznea Subject: [PATCH 0/7] net: macb: add support for sama7g5 Date: Fri, 4 Dec 2020 14:34:14 +0200 Message-ID: <1607085261-25255-1-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, This series adds support for SAMA7G5 Ethernet interfaces: one 10/100Mbps and one 1Gbps interfaces. Along with it I also included a fix to disable clocks for SiFive FU540-C000 on failure path of fu540_c000_clk_init(). Thank you, Claudiu Beznea Claudiu Beznea (7): net: macb: add userio bits as platform configuration net: macb: add capability to not set the clock rate net: macb: unprepare clocks in case of failure dt-bindings: add documentation for sama7g5 ethernet interface dt-bindings: add documentation for sama7g5 gigabit ethernet interface net: macb: add support for sama7g5 gem interface net: macb: add support for sama7g5 emac interface Documentation/devicetree/bindings/net/macb.txt | 2 + drivers/net/ethernet/cadence/macb.h | 11 +++ drivers/net/ethernet/cadence/macb_main.c | 99 +++++++++++++++++++++----- 3 files changed, 93 insertions(+), 19 deletions(-) Reviewed-by: Andrew Lunn Reviewed-by: Andrew Lunn Reviewed-by: Andrew Lunn Reviewed-by: Andrew Lunn