From patchwork Fri Sep 24 21:44:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Chen X-Patchwork-Id: 12517289 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE310C433F5 for ; Sat, 25 Sep 2021 08:25:43 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8032F60F41 for ; Sat, 25 Sep 2021 08:25:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8032F60F41 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 183AF6E3AE; Sat, 25 Sep 2021 08:25:40 +0000 (UTC) Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6A71F6E247 for ; Fri, 24 Sep 2021 21:45:02 +0000 (UTC) Received: by mail-pf1-x434.google.com with SMTP id q23so9987884pfs.9 for ; Fri, 24 Sep 2021 14:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=Uv269OeTJg43AaEPwcf5zcDpdZuLffPrpQspT2ye6xU=; b=GDRkBLmdWxaRhCXbBu7YhAYbfeYGcttFcqZQUt4XlBxNUK35YdxbQMwpUalFFLPftH Npc4pW8vwy2T0BUtB9pnp8eJ1Go3CeniD143fA19dgSaDVrKgakxqr02gpM0ABF94Epo ugCS6I49c5dluUva4M873P7YRlcsrt+u7TmzTOOBOTlcmd0VodEXJ262iat5DD1UKMXw xsRwnWYl492lGYSigCXYojczyGTF6DjE0VQMPttEUwPzTCCJvUDQwVlFR6dGy09ioG7i CHaFaSPF1Oyi/g0YhR7QngZ1GewB0EIUwp7Xlsg5wj8jQrGGeHTjIX7raIwL9LsdQR/a tu3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Uv269OeTJg43AaEPwcf5zcDpdZuLffPrpQspT2ye6xU=; b=1as2QXzkf/XcsLPy4Pb4yZhh3LOTK8uk/ygMCWEJQHhApKQG3Kd0EquenT96wCgSbA Ng8IbGkUdLGtGleVlfPqsChmRVdieobFHOMEPeXwTDRG9Vt9kUJ9UfL7+A0LSpYWo8TQ erxgL7XKoyahhlgnRiprHAETsxeZnAoAqTLk/CgKnU4jlzR1SEWHsyaEoFDYzlaKL79s Uz4dnrvVWztY2KSEWes+AE4xnAj0TyETO37X9qP79QfZcNUpqz0rKOiW7+8aEQyOEoHv 7e/XvXugy210CIQq4+6Q4sBT4AFvLAcZYb/451JGXFmcVoFA+s1hTovpEvYKTXbCA/VQ Jz7Q== X-Gm-Message-State: AOAM531JW0nAAArg2+tox+emqqRMtgqCoW4sBJaY1iDUoHona9I3pEOO ENNUaH1Uzo7duUptQCZoqQs= X-Google-Smtp-Source: ABdhPJwDrhd5pnOFu92NgEERf8Zbyl9RvTTpSJvTXTv8hkVyuO2rcisRSR+OExbhjh244F0cDZqWNg== X-Received: by 2002:a63:155d:: with SMTP id 29mr5600716pgv.118.1632519901868; Fri, 24 Sep 2021 14:45:01 -0700 (PDT) Received: from stbirv-lnx-2.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id n66sm9842029pfn.142.2021.09.24.14.44.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Sep 2021 14:45:01 -0700 (PDT) From: Justin Chen To: netdev@vger.kernel.org Cc: bcm-kernel-feedback-list@broadcom.com, Justin Chen , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Rob Herring , Doug Berger , Andrew Lunn , Heiner Kallweit , Russell King , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , =?utf-8?b?UmFm?= =?utf-8?b?YcWCIE1pxYJlY2tp?= , Randy Dunlap , Arnd Bergmann , Michael Chan , Geert Uytterhoeven , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), linux-media@vger.kernel.org (open list:DMA BUFFER SHARING FRAMEWORK), dri-devel@lists.freedesktop.org (open list:DMA BUFFER SHARING FRAMEWORK), linaro-mm-sig@lists.linaro.org (moderated list:DMA BUFFER SHARING FRAMEWORK) Subject: [PATCH net-next 0/5] brcm ASP 2.0 Ethernet controller Date: Fri, 24 Sep 2021 14:44:46 -0700 Message-Id: <1632519891-26510-1-git-send-email-justinpopo6@gmail.com> X-Mailer: git-send-email 2.7.4 X-Mailman-Approved-At: Sat, 25 Sep 2021 08:25:39 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch set adds support for Broadcom's ASP 2.0 Ethernet controller. Florian Fainelli (1): dt-bindings: net: Brcm ASP 2.0 Ethernet controller 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 | 147 ++ .../devicetree/bindings/net/brcm,unimac-mdio.yaml | 1 + 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 | 1351 +++++++++++++++++++ drivers/net/ethernet/broadcom/asp2/bcmasp.h | 565 ++++++++ .../net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 628 +++++++++ drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c | 1414 ++++++++++++++++++++ .../net/ethernet/broadcom/asp2/bcmasp_intf_defs.h | 187 +++ drivers/net/mdio/mdio-bcm-unimac.c | 1 + 12 files changed, 4317 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