Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3992267pxb; Sat, 13 Feb 2021 17:19:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwjwvh+tmZPMoBRHSsGOs+k+5nrmHO1EbleS6pxcyPPJUMszreHMTZFequL2FowyS3Fk3Ny X-Received: by 2002:a05:6402:34d2:: with SMTP id w18mr9988995edc.102.1613265582442; Sat, 13 Feb 2021 17:19:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613265582; cv=none; d=google.com; s=arc-20160816; b=oxpwsCghy3W8RK3PTWAiiAfaThG51tIU1YDnlg1E8v3Gyum9yJEmi/Ei0iIAg8Rk+L SHVw5cVJsK7IPUSbxLi+xcEvJ/IcW+SHgP88kujagyy0Cul/9siX5O0k/heVu5KzZpRs 8yLOQ6w1ooqCZNVFAi8WxPygUBF5DIqGqpk+Xl+Ybe9JAHvMDYY4cWj5tGVNoKpllRdy 55kpN8M9SGwKkEquqgAG+2IybwuZ3O7HO4sG5z3r1EYD/cxLPecATt4HgzCjCibAn6tv s5fVsOxZZdrtnsrausc1eSN3znnE+8SUGr86rbAnv4EP66xnWDMaYTE2TTAy2oASkh2S rTCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZXOO60f6gZRL00iZbad8nxEVcghn0+AbZN/JpgeY/2o=; b=LRlgGsSwefQJr4I4WRR6eFQw5pzhLocv32ZLnZyPG/oC8IAeAfAUWDilF2UYbddyUU WH1XMeZVvvtop9efH/XNwh+sAI4cLnipKH4wkMvO5yPgF517BRNARPx1tIr4ZLcA587p Aehjo9Bcmf76RNGunK7jrkMsfOuYTH+qUEpbm/QBqoq/oKMAUM3Dd6t22kAIGuauNfP2 2dgf5HW6Ou+C4d0C86Gzh6Mjcdv5nAZd6L6tBGnJQUzb3iIp2Jry2lDB4WKpXSiQPWf7 jTLRr0jcyR2fzJ8nVvOwNHDE/Sz++ajbZY9nas9BRqhFitOlxWuvGjwTT63vR7Cd2o43 YVRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=nLBPApdI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qx21si9516488ejb.473.2021.02.13.17.19.06; Sat, 13 Feb 2021 17:19:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=nLBPApdI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229741AbhBNBR7 (ORCPT + 99 others); Sat, 13 Feb 2021 20:17:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229690AbhBNBR6 (ORCPT ); Sat, 13 Feb 2021 20:17:58 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 102CDC061574; Sat, 13 Feb 2021 17:17:18 -0800 (PST) Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 18F0223E55; Sun, 14 Feb 2021 02:17:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1613265436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ZXOO60f6gZRL00iZbad8nxEVcghn0+AbZN/JpgeY/2o=; b=nLBPApdIb4QEzWYYYLjADSFAWkxQUdUS0FprqmbpPGTEsFXVv+qLlvL2/Yoxij0F0jae5x 3MCb1Gs4tcoMUkokwAZ23sGpVhFiAMgv0US8EXY+nmdV7wR9uclMFSyP/EkMHqDGSSuWgD INz+Ys2tHpWuZr7sPEdExN/8wr9vw0A= From: Michael Walle To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Michael Walle Subject: [PATCH net-next] net: phy: at803x: add MDIX support to AR8031/33 Date: Sun, 14 Feb 2021 02:17:11 +0100 Message-Id: <20210214011711.12428-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org AR8035 recently gained MDIX support. The same functions will work for the AR8031/33 PHY. We just need to add the at803x_config_aneg() callback. This was tested on a Kontron sl28 board. Signed-off-by: Michael Walle --- drivers/net/phy/at803x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index d67bddc111e3..c2aa4c92edde 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -1190,6 +1190,7 @@ static struct phy_driver at803x_driver[] = { .probe = at803x_probe, .remove = at803x_remove, .config_init = at803x_config_init, + .config_aneg = at803x_config_aneg, .soft_reset = genphy_soft_reset, .set_wol = at803x_set_wol, .get_wol = at803x_get_wol, -- 2.20.1