From patchwork Tue Oct 13 02:18:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 1381277 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=alliedtelesis.co.nz Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.a=rsa-sha256 header.s=mail181024 header.b=mL9ur4sp; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4C9KcQ3qCRz9sWl for ; Tue, 13 Oct 2020 13:43:50 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728641AbgJMCTJ (ORCPT ); Mon, 12 Oct 2020 22:19:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728583AbgJMCTJ (ORCPT ); Mon, 12 Oct 2020 22:19:09 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 130B0C0613D7 for ; Mon, 12 Oct 2020 19:19:08 -0700 (PDT) Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 85A2A806B5; Tue, 13 Oct 2020 15:19:03 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1602555543; bh=LnIDRFzW9Hxev/nUxi3JhJt0J3qjL7J6jgkL3TeEa6Q=; h=From:To:Cc:Subject:Date; b=mL9ur4sptJoL38TYh/Z1W/bvvyiRWX2EMf/l45VoxZ1yHf49xtbg7x0/Byj/WOibN lLzb0oxe9F+9B/KbdJ45DgPrE2TsJAICVgN1qmxaqeF51p8tvplBhJ2S57giuRebWh hTaqsCYADZecT9ULxtKy5Da3N4m7WA6kQYQfjzX+Ps1KdH9i5YRzDOCZMI0RX4RyC7 OKMJRQnWI5vpmSNRHQrNU1LM1dNJrATPw+dcbXx92A/6Di2gCf8uwkMuGvsthvH5Yh 8pck1vKVFYjKMeT/eN5bYRKeKKiwg3yXyP8W1By/wszMZ3HTAMoBLO3eyLeelaC5E/ VDzsF1FjujH1g== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Tue, 13 Oct 2020 15:19:01 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id 2D07D13EEB7; Tue, 13 Oct 2020 15:19:02 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 507FA280063; Tue, 13 Oct 2020 15:19:03 +1300 (NZDT) From: Chris Packham To: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, kuba@kernel.org, linux@armlinux.org.uk Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH 0/2] net: dsa: mv88e6xxx: serdes link without phy Date: Tue, 13 Oct 2020 15:18:56 +1300 Message-Id: <20201013021858.20530-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 x-atlnz-ls: pat Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This small series gets my hardware into a working state. The key points are to make sure we don't force the link and that we ask the MAC for the link status. I also have updated my dts to say `phy-mode = "1000base-x";` and `managed = "in-band-status";` Chris Packham (2): net: dsa: mv88e6xxx: Don't force link when using in-band-status net: dsa: mv88e6xxx: Support serdes ports on MV88E6097 drivers/net/dsa/mv88e6xxx/chip.c | 68 +++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 2 deletions(-)