From patchwork Mon Jun 24 13:25:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13709483 Received: from albert.telenet-ops.be (albert.telenet-ops.be [195.130.137.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82FD113D88B for ; Mon, 24 Jun 2024 13:25:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.90 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719235542; cv=none; b=qZPyLr61rygbWWGmo9nQKaUmkcuZe7EEl5taAOUd/Z1AbEX/GMU90ZvNPXV5y3D0U1Nr7qtMo37mBy5UxA1/wLc/+zRMo+cucagt+H5/su/gCDxjdS/CxDZQb9tO8ddxNGuSnG4AKIhH+BciE1RykEK+Cq823YrnloLVO5D07DY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719235542; c=relaxed/simple; bh=2HA87VcKDxd4qJxS5VjLpvA+r34etIBEyZvCeg6nLtw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=Tjxv+1VBcf5YAk04rC9Tlfr05Q9ZByJ0t4PQPa4ZixiReX1ggawVlUtg66nKAvqyO2aD02eIBqIVy0p9plt+hPn/NEOv+l6vbSvZkF5MwREkcTb8mfG2vLUKALK6OnTRBoVptB7URdO/QO27XLZZlH0Nwfg6w5QLAXKDsG3jKFk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.90 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:d11f:2bfd:8d32:701a]) by albert.telenet-ops.be with bizsmtp id fRRT2C00R4jBKfC06RRTCl; Mon, 24 Jun 2024 15:25:32 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sLjhF-000HSV-6r; Mon, 24 Jun 2024 15:25:27 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sLjhH-007u97-MX; Mon, 24 Jun 2024 15:25:27 +0200 From: Geert Uytterhoeven To: Sergey Shtylyov , Paul Barker , =?utf-8?q?Niklas_S=C3=B6derlun?= =?utf-8?q?d?= , Claudiu Beznea , Biju Das , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH net-next v2 0/2] ravb: Add MII support for R-Car V4M Date: Mon, 24 Jun 2024 15:25:23 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi all, All EtherAVB instances on R-Car Gen3/Gen4 SoCs support the RGMII interface. In addition, the first two EtherAVB instances on R-Car V4M also support the MII interface, but this is not yet supported by the driver. This patch series adds support for MII on R-Car Gen4, after the customary cleanup. Changes compared to v1[1]: - New patch "ravb: Improve ravb_hw_info instance order", - Add Reviewed-by, - Rename ravb_emac_init_rcar_apsr() to ravb_emac_init_rcar_gen4(), - Restrict MII support to R-Car Gen4 by adding a new ravb_hw_info instance. The corresponding pin control support is available in [2]. Compile-tested only, as all AVB interfaces on the Gray Hawk Single development board are connected to RGMII PHYs. No regressions on R-Car V4H. Thanks for your comments! [1] "[PATCH/RFC] net: ravb: Add MII support for R-Car V4M" https://lore.kernel.org/f0ef3e00aec461beb33869ab69ccb44a23d78f51.1718378166.git.geert+renesas@glider.be [2] "[PATCH/RFC] pinctrl: renesas: r8a779h0: Add AVB MII pins and groups" https://lore.kernel.org/4a0a12227f2145ef53b18bc08f45b19dcd745fc6.1718378739.git.geert+renesas@glider.be/ Geert Uytterhoeven (2): ravb: Improve ravb_hw_info instance order ravb: Add MII support for R-Car V4M drivers/net/ethernet/renesas/ravb.h | 1 + drivers/net/ethernet/renesas/ravb_main.c | 45 +++++++++++++++++++++--- 2 files changed, 41 insertions(+), 5 deletions(-)