From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7343CC433FE for ; Tue, 10 May 2022 09:03:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238384AbiEJJHs (ORCPT ); Tue, 10 May 2022 05:07:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234681AbiEJJHs (ORCPT ); Tue, 10 May 2022 05:07:48 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D5CAD2AC6FA; Tue, 10 May 2022 02:03:49 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.91,214,1647270000"; d="scan'208";a="119233005" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 10 May 2022 18:03:48 +0900 Received: from localhost.localdomain (unknown [10.226.93.89]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 0B7F64274F1C; Tue, 10 May 2022 18:03:42 +0900 (JST) From: Phil Edworthy To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Phil Edworthy , Geert Uytterhoeven , Sergey Shtylyov , Sergei Shtylyov , Biju Das , Lad Prabhakar , Chris Paterson , Magnus Damm , linux-clk@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH v3 0/5] Add Renesas RZ/V2M Ethernet support Date: Tue, 10 May 2022 10:03:31 +0100 Message-Id: <20220510090336.14272-1-phil.edworthy@renesas.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The RZ/V2M Ethernet is very similar to R-Car Gen3 Ethernet-AVB, though some small parts are the same as R-Car Gen2. Other differences are: * It has separate data (DI), error (Line 1) and management (Line 2) irqs rather than one irq for all three. * Instead of using the High-speed peripheral bus clock for gPTP, it has a separate gPTP reference clock. v3: * Really renamed irq_en_dis_regs to irq_en_dis this time * Modified ravb_ptp_extts() to use irq_en_dis * Added Reviewed-by tags v2: * Just net patches in this series * Instead of reusing ch22 and ch24 interrupt names, use the proper names * Renamed irq_en_dis_regs to irq_en_dis * Squashed use of GIC reg versus GIE/GID and got rid of separate gptp_ptm_gic feature. * Move err_mgmt_irqs code under multi_irqs * Minor editing of the commit msgs Phil Edworthy (5): dt-bindings: net: renesas,etheravb: Document RZ/V2M SoC ravb: Separate handling of irq enable/disable regs into feature ravb: Support separate Line0 (Desc), Line1 (Err) and Line2 (Mgmt) irqs ravb: Use separate clock for gPTP ravb: Add support for RZ/V2M .../bindings/net/renesas,etheravb.yaml | 82 ++++++++++---- drivers/net/ethernet/renesas/ravb.h | 6 ++ drivers/net/ethernet/renesas/ravb_main.c | 102 ++++++++++++++++-- drivers/net/ethernet/renesas/ravb_ptp.c | 6 +- 4 files changed, 163 insertions(+), 33 deletions(-) -- 2.32.0