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 X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2331DC43381 for ; Fri, 1 Mar 2019 03:57:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E6DAB20857 for ; Fri, 1 Mar 2019 03:57:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727445AbfCAD5X (ORCPT ); Thu, 28 Feb 2019 22:57:23 -0500 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:22777 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726414AbfCAD5X (ORCPT ); Thu, 28 Feb 2019 22:57:23 -0500 X-IronPort-AV: E=Sophos;i="5.58,425,1544511600"; d="scan'208";a="24642933" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Feb 2019 20:57:22 -0700 Received: from localhost.localdomain (10.10.76.4) by chn-sv-exch04.mchp-main.com (10.10.76.105) with Microsoft SMTP Server id 14.3.352.0; Thu, 28 Feb 2019 20:57:22 -0700 From: To: Andrew Lunn , Florian Fainelli , Pavel Machek CC: Tristram Ha , , Subject: [PATCH v1 net-next 0/3] net: dsa: microchip: add KSZ9893 switch support Date: Thu, 28 Feb 2019 19:57:21 -0800 Message-ID: <1551412644-17319-1-git-send-email-Tristram.Ha@microchip.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Tristram Ha This series of patches is to modify the KSZ9477 DSA driver to support running KSZ9893 switch. The KSZ9893 switch is similar to KSZ9477 except the ingress tail tag has 1 byte instead of 2 bytes. The XMII register that governs the MAC communication also has different register definitions. v1 - Put KSZ9893 tagging in separate patch - Remove other switch support Tristram Ha (3): dt-bindings: net: dsa: document additional Microchip KSZ9477 family switches net: dsa: add KSZ9893 switch tagging support net: dsa: microchip: add KSZ9893 switch support Documentation/devicetree/bindings/net/dsa/ksz.txt | 43 ++++ drivers/net/dsa/microchip/ksz9477.c | 242 ++++++++++++++++++++-- drivers/net/dsa/microchip/ksz9477_spi.c | 4 +- drivers/net/dsa/microchip/ksz_common.c | 4 +- include/net/dsa.h | 1 + net/dsa/dsa.c | 2 + net/dsa/dsa_priv.h | 1 + net/dsa/tag_ksz.c | 34 +++ 8 files changed, 316 insertions(+), 15 deletions(-) -- 1.9.1