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 E7AECC00140 for ; Mon, 8 Aug 2022 12:16:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 62C758410B; Mon, 8 Aug 2022 14:16:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="R6spBgYN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0AC6684117; Mon, 8 Aug 2022 14:16:25 +0200 (CEST) Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D4F54840B1 for ; Mon, 8 Aug 2022 14:16:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=joel.stan@gmail.com Received: by mail-pf1-x430.google.com with SMTP id g12so7938339pfb.3 for ; Mon, 08 Aug 2022 05:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc; bh=CKeZYt2ZI08CU69rtnjJ/ZICc4XDifUkHut16Uc4Inw=; b=R6spBgYNSINzHU+6IdmLADwtWA7I1RDJ5wt9LFjwtWvmSwD8s0X7lhj9RZCfSr4zgJ rwpimSBmv0Dz0+R9a5Y7NvHvIx2FqvdqtR3w4fqEiZ57sQuCFOe0uuty5QP31vt21Uxo 4sl+cOMphGI5rkjIpwEr7gTaPZYcL5mkLZyCBkJ1qfrW1oa1A+ec/ln/HP6cPJYD8db4 9ItEYBW2hDLIWKbRXr2IQ7c+hQQFzNP7eL+8A3N93xQjWmIZGzdFD1OAiYLAiG2Es+n3 tNB5xIKCSxmXrjhIbViWXbB32WPLdnzPSAjoFUzilbjkeMTzmu00UeDbTl/3tG60FwbI lKgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc; bh=CKeZYt2ZI08CU69rtnjJ/ZICc4XDifUkHut16Uc4Inw=; b=pdsgffq/oy95Srk28FarzLN0GPlND6lg/6vWYV1N7t7v11y0xTiLMkmkIyTyr51SZ4 e9QK4IT5HQ0UqwKcZEsx1n3gLTrVYSGpkpn0XbGzDyPHmVArY1ogPMY7dlI1Gzw9+gYL QnOK7vXIhbEdFze8bSO/l/cr6qiIv6HBmFeiHdJEK6OGP1c2Y+wbypAKBMUN5ZRvrmUZ 3bE8t1C3y2Ls0EmhhmyOkHJC7PjVB7pZVT1L5wjoS39hoUleU9+ZAGiZPVERy+Tu7D5Z dC7sufGaiP/8U1j9iwiqeEtXV1VmIsSzK7mgzNR5mt8X8LznhXD8hioY6f81RTWR+VXY z9AQ== X-Gm-Message-State: ACgBeo0OkXRtakp2vqBH02YERLoMq/7d/9sOaEzV70SAUWCuPpAPEqUx 05LBfqC7X07k/ircIfdr6Cs= X-Google-Smtp-Source: AA6agR5zM/XHuZv/0MYlkDHegipkfJWSQB/GyXFBmZcA5+vRVDIhR5Zb4wY145U+epuqgEE3QT/Y7Q== X-Received: by 2002:a63:4e25:0:b0:41c:62a2:ecc3 with SMTP id c37-20020a634e25000000b0041c62a2ecc3mr15450413pgb.596.1659960979950; Mon, 08 Aug 2022 05:16:19 -0700 (PDT) Received: from voyager.lan ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id t16-20020a62d150000000b0052b6ed5ca40sm8482163pfl.192.2022.08.08.05.16.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Aug 2022 05:16:19 -0700 (PDT) From: Joel Stanley To: Joe Hershberger , Ramon Fried , Ryan Chen , BMC-SW@aspeedtech.com Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Samuel Mendoza-Jonas , u-boot@lists.denx.de Subject: [PATCH v4 0/4] net: Enable NC-SI support Date: Mon, 8 Aug 2022 21:46:02 +0930 Message-Id: <20220808121606.188002-1-joel@jms.id.au> 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.6 at phobos.denx.de X-Virus-Status: Clean Back in 2019 Sam submitted NC-SI support. The NC-SI PHY driver was merged (patches 1 and 2), but we never got around to merging patches 3 and 4: https://lore.kernel.org/u-boot/20190618013720.2823-1-sam@mendozajonas.com/ Sam as long since moved on from working on the Aspeed BMCs, but the code has been in use in the vendor fork for some time. This refreshes his patches and enables support in the Aspeed defconfigs, giving compile coverage to the NC-SI phy. v4 splits the ncsi integration and cmd code into separate patches, and adds r-b from Ramon and Cédric to patches 3 and 4. Joel Stanley (1): config/aspeed: Enable NC-SI support Samuel Mendoza-Jonas (3): net: NC-SI setup and handling cmd: Add ncsi command net/ftgmac100: Add NC-SI mode support include/net.h | 2 +- include/phy.h | 2 ++ cmd/net.c | 22 ++++++++++++++++++++++ drivers/net/ftgmac100.c | 14 ++++++++++---- drivers/net/phy/ncsi.c | 1 + drivers/net/phy/phy.c | 9 ++++++++- net/net.c | 27 ++++++++++++++++++++++++++- cmd/Kconfig | 8 ++++++++ configs/evb-ast2500_defconfig | 2 ++ configs/evb-ast2600_defconfig | 2 ++ 10 files changed, 82 insertions(+), 7 deletions(-) -- 2.35.1