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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7946C433EF for ; Wed, 27 Apr 2022 10:42:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 53BFF83E3A; Wed, 27 Apr 2022 12:42:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="sIoMasEa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DC4A083B46; Wed, 27 Apr 2022 12:42:13 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 211FB83B46 for ; Wed, 27 Apr 2022 12:42:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kabel@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B700461D2E; Wed, 27 Apr 2022 10:42:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7C90C385A7; Wed, 27 Apr 2022 10:42:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651056129; bh=XWCqjswfGTxT7OXdZyumnkgmmeKnG08ay5l2qKG7ZHY=; h=From:To:Cc:Subject:Date:From; b=sIoMasEawFuGX5yHxCAvjtIIbHI1Vv4QbLcjUagafXo3F+9j28fjsm5ptIs5vo15V lUBJEgWPnmBQY5iuIAtgsaflFJZi9aaPzWoCZHD2s6WotWWU46His4RuPqL4mciFsc cC2Sc3T6xRK16FPZDVGKl3XqOQUizEd1iOaUX5IuRoAOzIMoaiTGTidPcfbGrwxUld k5nDWOlpGIEiBgLaMuBZNiV8f5XXT8g1hvPsTW4QvPAL6syEAEmnDFqD9OjM8IVNCg IP2Xnau6ZSgEqgypiNrU52blFtcCgDxpnMbZFp5MfDD0mzjVRp0zLnEWEI0tx4ax4D VrY6k/4TrTY1g== From: =?UTF-8?q?Marek=20Beh=C3=BAn?= To: Stefan Roese Cc: Robert Marko , =?UTF-8?q?Pali=20Roh=C3=A1r?= , U-Boot-Denx , Ramon Fried , Joe Hershberger , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Chris Packham , Heinrich Schuchardt , Konstantin Porotchkin , Mario Six , Mark Kettenis , Phil Sutter , Rogier Stam , Simon Glass , Vladimir Oltean , Vladimir Vid Subject: [PATCH u-boot-marvell 00/19] some mvneta changes, cleanups, fixes Date: Wed, 27 Apr 2022 12:41:43 +0200 Message-Id: <20220427104202.1205-1-kabel@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean From: Marek BehĂșn Hello Stefan, here come some refactors, cleanups and fixed for the mvneta driver. Marek BehĂșn (19): net: mvneta: Get rid of platdata net: mvneta: Fix 10Mbps speed net: mvneta: Use DM MDIO API for connecting PHY net: mvneta: Remember fixed link instead of PHY address in priv data arm: mvebu: Espressobin: Use DM registered MDIO to configure switch net: mdio-uclass: add dm_phy_find_by_ofnode() helper arm: mvebu: turris_mox: Use DM registered MDIO net: mvneta: Don't register MDIO bus net: mvneta: Fix unused variable warning if DM_GPIO is disabled net: mvneta: Drop one indentation level in mvneta_adjust_link() net: mvneta: Use bool instead of int for boolean variable net: mvneta: Drop unnecessary space net: mventa: Don't check for CONFIG_PHYLIB net: mvneta: Rename CONFIG_NR_CPUS to MVNETA_NR_CPUS net: mvneta: Convert to use PHY_FIXED for fixed-link net: mvneta: Write PHY address just before enabling HW polling net: mvneta: Drop fixed_link member from private struct net: mvneta: Disable fixed PHY code if PHY_FIXED is not compiled in net: mvneta: Drop unneeded macro .../dts/armada-3720-turris-mox-u-boot.dtsi | 19 - board/CZ.NIC/turris_mox/turris_mox.c | 88 ++--- board/Marvell/mvebu_armada-37xx/board.c | 26 +- configs/clearfog_defconfig | 1 + configs/controlcenterdc_defconfig | 1 + configs/db-88f6820-amc_defconfig | 1 + configs/db-88f6820-gp_defconfig | 1 + configs/db-mv784mp-gp_defconfig | 1 + configs/ds414_defconfig | 1 + configs/helios4_defconfig | 1 + configs/maxbcm_defconfig | 1 + configs/mvebu_espressobin-88f3720_defconfig | 3 + configs/theadorable_debug_defconfig | 1 + configs/turris_mox_defconfig | 1 + configs/turris_omnia_defconfig | 2 + configs/uDPU_defconfig | 1 + drivers/net/Kconfig | 1 + drivers/net/mvneta.c | 343 ++++-------------- include/miiphy.h | 9 + net/mdio-uclass.c | 22 ++ 20 files changed, 181 insertions(+), 343 deletions(-) -- 2.35.1