Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp41226rwe; Tue, 18 Apr 2023 17:10:58 -0700 (PDT) X-Google-Smtp-Source: AKy350YswXiDKnBq4pr4bGBtRq/MR58TyBv1Mx0uLeKt7C5Mf6eHw1ckwQkjSpcPT1BrkhSBCmpQ X-Received: by 2002:a17:902:e80f:b0:1a1:bfe8:4fae with SMTP id u15-20020a170902e80f00b001a1bfe84faemr4175689plg.43.1681863058513; Tue, 18 Apr 2023 17:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681863058; cv=none; d=google.com; s=arc-20160816; b=zHPc04k36AJT9Uyfdd2PaFiDuxrM9txDii17pzq1vbIDYXl5hyh+JfNGSkq2l+3wYq A6COZwMJhXQG+SwwTluQjQ979qO85tMdnpRHFqjx2bunti5NYz4sPwVVKAvFCVfK7WnP fewaQaPHFHh1lhpxipzFmuX/RhCjaHQc+WDral03wH8ut1XThZWQ7JTHXlB12NSxGn8f 2oTutheI449zy9qXeGuWG7VX+L+FRxxXLcEBmpruAjnxiviEDx5z4kZ+OH5WsQMtL56z QfdjrHy5GfuLJp1ZgWJR7UJk+MaXHSSwnSPqCI4ssjngxzxBx4w3lr937KpQsCBzPAL8 y0qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=rE1EEDO+fEqLoZiLrhfSx85AyW8A+vdoa/Snn4cvZO8=; b=Bdnvhfy+E2CjjGlv1BzwnxBsG39IctYQoJkaq80bV5V0gDtLAvIzwBqbwr0Y5CmnM4 UjVrrAUGwdlTN85z0LnT+g98hV7t71ZY4aEP7JaiG6ZLim5DdqDe9m4GLuXuZs8FxpU5 O89+6RnaJfJfIapq5rbLyUUkQU2KEjY+8i/fgn21JWKoEhK2oHEZVYcThlUIrzisjSDF sOeHG2+GVTxNevkVjQO+YkW0IXI1Vk4Iu+6AQf7neJ52cSUEnyz4L6FKZZ5k9V57XUJe rR9wFzMPU9ZFaLkZ0hjc6T25LK9RUYUXsnZSOHsbnlnkZuwS69M6QMqKaEj6deL4Buwa HqWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ZHXM1vJB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a170903124a00b0019cc4426180si15520074plh.240.2023.04.18.17.10.46; Tue, 18 Apr 2023 17:10:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ZHXM1vJB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231176AbjDSAKd (ORCPT + 99 others); Tue, 18 Apr 2023 20:10:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjDSAKa (ORCPT ); Tue, 18 Apr 2023 20:10:30 -0400 Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9CD0113; Tue, 18 Apr 2023 17:10:29 -0700 (PDT) Received: by mail-qt1-x831.google.com with SMTP id a23so26722116qtj.8; Tue, 18 Apr 2023 17:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681863029; x=1684455029; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rE1EEDO+fEqLoZiLrhfSx85AyW8A+vdoa/Snn4cvZO8=; b=ZHXM1vJBIY5/tmjJT0bVpzwkzgcuj3UqE6ZuAM+WopWTizO0zDdpKa7LVRnsmGTn1d dNzyQC1wJv2vOr86Nkl6+DausEEP53FrPRiRv4UhVQurNRPpO1CmxFUxHDSvYCh0/r4L STAJGBMIzP8mz/nBypYUlSeBjFBmmgYZ34WTb9Sd6ekjELm6Sq0Us2ZOuGOcqa6R7okN 2jNHKJT6OPVZCX1v4iC9zXkRhVV+lHS8I1FE7A1UBj5sBxKKNp3qwrF86F1KMEggt5SN XY0Sxw8Awni/NHCWXYhwkKcyE6nH1rM9D1QcXbrpE5pYEXAY0ipeoblBZlUd07Kvxxbt q+Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681863029; x=1684455029; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rE1EEDO+fEqLoZiLrhfSx85AyW8A+vdoa/Snn4cvZO8=; b=h4cBprx4lIu4Z7Z/DeZGOHsMMC5oAJ0Zsc91lD/fLgys7/1O2HeyI/tCdLJowtSCjy iSO3KLxLi/cDFd7SsfWZSOYRkeuC6GkxfiBQ3rZ6mJoKqyfOunnU1UyiX7Osmtda5cjn pDOed8Zkuo5LjW2cCs+4FUYERBW60LZey06HuTdQIjJVWUpQLrlhPw8nH3SV8vP+FEkN l71rCrjEE7An8IlDWDfilXHiSXqeQlaP0sSlr9gV7mJ6XwSZQO5IjoaDyXGfa1u7ybcA FFAZ/LMcnjHzDSzD4Yv1nQBEOjxIPsLiUhzOvZs9ZB0DoxAvJ6fqwttpd3AYvGsbFNnk gy8A== X-Gm-Message-State: AAQBX9dSznZERbZ2AYCsCJftl1NBUQN/msnRbqHdaz1N10ZSgrxsqliq exEHR5JR5DWQr+nsYhzdivhorvcT/Nj+pw== X-Received: by 2002:ac8:5e4d:0:b0:3e6:4fab:478e with SMTP id i13-20020ac85e4d000000b003e64fab478emr3325666qtx.33.1681863028798; Tue, 18 Apr 2023 17:10:28 -0700 (PDT) Received: from stbirv-lnx-2.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id d14-20020a37680e000000b0074d1b6a8187sm2639035qkc.130.2023.04.18.17.10.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Apr 2023 17:10:28 -0700 (PDT) From: Justin Chen To: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, bcm-kernel-feedback-list@broadcom.com Cc: justin.chen@broadcom.com, f.fainelli@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, opendmb@gmail.com, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, richardcochran@gmail.com, sumit.semwal@linaro.org, christian.koenig@amd.com Subject: [PATCH net-next 0/6] Brcm ASP 2.0 Ethernet controller Date: Tue, 18 Apr 2023 17:10:12 -0700 Message-Id: <1681863018-28006-1-git-send-email-justinpopo6@gmail.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Justin Chen Add support for the Broadcom ASP 2.0 Ethernet controller which is first introduced with 72165. Add support for 74165 10/100 integrated Ethernet PHY which also uses the ASP 2.0 Ethernet controller. Florian Fainelli (2): dt-bindings: net: Brcm ASP 2.0 Ethernet controller net: phy: bcm7xxx: Add EPHY entry for 74165 Justin Chen (4): dt-bindings: net: brcm,unimac-mdio: Add asp-v2.0 net: bcmasp: Add support for ASP2.0 Ethernet controller net: phy: mdio-bcm-unimac: Add asp v2.0 support MAINTAINERS: ASP 2.0 Ethernet driver maintainers .../devicetree/bindings/net/brcm,asp-v2.0.yaml | 146 ++ .../devicetree/bindings/net/brcm,unimac-mdio.yaml | 2 + MAINTAINERS | 9 + drivers/net/ethernet/broadcom/Kconfig | 11 + drivers/net/ethernet/broadcom/Makefile | 1 + drivers/net/ethernet/broadcom/asp2/Makefile | 2 + drivers/net/ethernet/broadcom/asp2/bcmasp.c | 1527 ++++++++++++++++++++ drivers/net/ethernet/broadcom/asp2/bcmasp.h | 636 ++++++++ .../net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 620 ++++++++ drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c | 1425 ++++++++++++++++++ .../net/ethernet/broadcom/asp2/bcmasp_intf_defs.h | 238 +++ drivers/net/mdio/mdio-bcm-unimac.c | 2 + drivers/net/phy/bcm7xxx.c | 1 + include/linux/brcmphy.h | 1 + 14 files changed, 4621 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,asp-v2.0.yaml create mode 100644 drivers/net/ethernet/broadcom/asp2/Makefile create mode 100644 drivers/net/ethernet/broadcom/asp2/bcmasp.c create mode 100644 drivers/net/ethernet/broadcom/asp2/bcmasp.h create mode 100644 drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c create mode 100644 drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c create mode 100644 drivers/net/ethernet/broadcom/asp2/bcmasp_intf_defs.h -- 2.7.4