Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5686719ybi; Wed, 31 Jul 2019 01:41:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPM9Ot7MwhO1G4RvRLUX9uF/9nsyXvgAELMZXkULWD4WOuObNnE13e9fCdoqvJ3YtVuq02 X-Received: by 2002:a65:64ce:: with SMTP id t14mr46662422pgv.137.1564562462509; Wed, 31 Jul 2019 01:41:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564562462; cv=none; d=google.com; s=arc-20160816; b=kd0SEhdzRWjW1X0WwJnqV5BPN7xvrpchhm2CvcwF4qzV8oNnqQMjSmTN/HkKBq6Xnm BkgE729D+D2l5JU7Gi/GKyLfoTNfd0xZ3AMfZHtyWTRvzfz+a5DXgUknUPKC1EBZyhXZ 6kA4+2eMAmU8cQrFpwwyXJtDUhG7qKIiPka3wy/3mXE+KAxtfY5kCFwSHqPeu/CfHIfr imQUjZI5UgDp1lFTpZQ1Mb7wyEehZDiCHFJCjFf3UMqJVirjssSvIwVdbsjxAHwAMmSb 4/EN7ysYzAktsmvdcZrlVbeiKlXAvZDEpKDH5vXtLKTHi7iepWWass9ib2L+UBV9N8IN HqBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CjYY++Oj52N1EnyRbEN9KyQWKnxZJc8wkF23HftyvEg=; b=TC0L8HBtqg3LnSBXr9r0e4NSQu2c+pGdkLg7obgUx3DEOKcR6uynlJ1LKQV42oJ4+4 xqe/j+Rne4FbKwldFq1f/3Uvy8n7NodS+9AZTzffN91OFm4GIy0yfJUvKgP/ASskRA3O 54QaqdCD3V9JGgbSbLBlUmmK5tm4nDvbp8gmzm7KsgPJoY1oFZQV55f9fxsFM7r8HdEy Exk2XXzg6pX1y0L9i/jdvVD0cDOvmrWDCYGygX5p3rf9J9PCJjEPIgiKTbeYz90m+DAO AB9t4JBqwckKhssNJYZvV7cCce/vV8/BpxKVTg8zK1HTTtWJ7IzUGMjyHJtGkcNvFCOS ezWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z6uvUuIs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f21si31184674pgj.263.2019.07.31.01.40.47; Wed, 31 Jul 2019 01:41:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z6uvUuIs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727796AbfGaIZr (ORCPT + 99 others); Wed, 31 Jul 2019 04:25:47 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36853 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbfGaIZq (ORCPT ); Wed, 31 Jul 2019 04:25:46 -0400 Received: by mail-wr1-f67.google.com with SMTP id n4so68713417wrs.3; Wed, 31 Jul 2019 01:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CjYY++Oj52N1EnyRbEN9KyQWKnxZJc8wkF23HftyvEg=; b=Z6uvUuIs297lVyxTd9i3Nisc1oE+haTrOheQZNabaXEhm101/SzjvCCbgJC5VFApSy vaxTs22DvbRLUvqDlfnKIgWr6gU7rqbOBzi1oabsOWZ7EamQUECghHo8zy5RSIwFiggt bUmo2rGJE/pFTkTcdXBpHM8dnWHxJ4kSD0Uo2LbcDxKvp4FaOR9lhBQxU20YhgEODUTQ qzeZIuagDo6MkBfRQ8SBs5BrZdZKRuTwSGC4d3r4yDnSwwPWS5ytMKZ7ARYxUVC8NAj/ JMulxa6SMHFKENPRce7zy9K41UeyD2WzPw5LmPSN3AHyT8U9bkVIOnXFTM9zLitUfCr4 OZaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CjYY++Oj52N1EnyRbEN9KyQWKnxZJc8wkF23HftyvEg=; b=rdF7dMnLOE3NXnQuUbr9KluTSkTeZX5LM1Vz1E+QN+IGK1oALV2LLivD75NCtsjSx6 ZYvNuGRq5ke9nHarZK/kdQJ8GUqQj1VGdL5sdenQSy8HUIV0OB4YQ5usxDB/0yfzjnlz 6T4LQ++wVBJoH7T3pnWqga4QrD4Yy0+80qr7mUD8T/snlASqx5dlinxA09ADnROX4knb x+WJ3Chd3O5jxFvFnHsd3F67ayJV5eCmPmwEv/9h8Cr03b5Xb0uSjs1yCMEdQPghcSyU /GGuVVVDS1A5dyMvtXD4pMjjmPChYzN/lYOxLjKYFWBCmXHpDM420jZsj5pTmp9hNKij 2ALQ== X-Gm-Message-State: APjAAAUdgufCFqtf6PKTPUmDLSzyNlNOLs5qiVFk7w/kEfZ4OO9/XoKH QWHjt8OoMAeMUZ+BIIQETvrGNvLn26E= X-Received: by 2002:a5d:528d:: with SMTP id c13mr49557198wrv.247.1564561543490; Wed, 31 Jul 2019 01:25:43 -0700 (PDT) Received: from vd-lxpc-hfe.ad.vahle.at ([80.110.31.209]) by smtp.gmail.com with ESMTPSA id c78sm93223959wmd.16.2019.07.31.01.25.42 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 01:25:42 -0700 (PDT) From: Hubert Feurstein To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Hubert Feurstein , Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Rasmus Villemoes Subject: [PATCH net-next v2 0/6] net: dsa: mv88e6xxx: add support for MV88E6220 Date: Wed, 31 Jul 2019 10:23:45 +0200 Message-Id: <20190731082351.3157-1-h.feurstein@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for the MV88E6220 chip to the mv88e6xxx driver. The MV88E6220 is almost the same as MV88E6250 except that the ports 2-4 are not routed to pins. Furthermore, PTP support is added to the MV88E6250 family. v2: - insert all 6220 entries in correct numerical order - introduce invalid_port_mask - move ptp_cc_mult* to ptp_ops and restored original ptp_adjfine code - added Andrews Reviewed-By to patch 2 and 4 Hubert Feurstein (6): net: dsa: mv88e6xxx: add support for MV88E6220 dt-bindings: net: dsa: marvell: add 6220 model to the 6250 family net: dsa: mv88e6xxx: introduce invalid_port_mask in mv88e6xxx_info net: dsa: mv88e6xxx: setup message port is not supported in the 6250 familiy net: dsa: mv88e6xxx: order ptp structs numerically ascending net: dsa: mv88e6xxx: add PTP support for MV88E6250 family drivers/net/dsa/mv88e6xxx/chip.c | 49 ++++++++++++-- drivers/net/dsa/mv88e6xxx/chip.h | 15 +++++ drivers/net/dsa/mv88e6xxx/ptp.c | 106 ++++++++++++++++++++++++------- drivers/net/dsa/mv88e6xxx/ptp.h | 6 +- 4 files changed, 147 insertions(+), 29 deletions(-) -- 2.22.0