From patchwork Mon Jul 29 04:39:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 11063169 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DB9A1746 for ; Mon, 29 Jul 2019 04:39:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAC0128727 for ; Mon, 29 Jul 2019 04:39:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD35728738; Mon, 29 Jul 2019 04:39:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 509B328727 for ; Mon, 29 Jul 2019 04:39:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Bw8BkLQ0JsS6tSPsaNgk4elmmn94s2fwaHIB6GW8GvE=; b=DHJbsKB/hwc5Pn qX+690HhSW30O2Pdro+qXHMRsKdTu3sciow3o/Nk1d7S4cS7+XQq49+huPaGdGV4NzL7ADiowHXHJ S4vvqQm8sAYIIdgDS9DoONVGqGn8wLuWPoZlLIK+MKG3gYxQwuBrtKW6apu8H2/URZe6zV7EOz16W rwFjT5l3J9Kv5XFgDOTp0ipQlbMSxfzdtqvIqIW4zWeyK1iJrB+PF/fySN/ZvUmmr0uKUI/UlQYsI nsE78UcOG5xzAlkuZzPdxxU+bpCPC+f12JRceoW3oYrQMEqxMy70XbBc7ysYkqB9iefV2t6FQr+Ku I8hBpK8AfLz6Z7LYAQdg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hrxRf-0004Mz-FN; Mon, 29 Jul 2019 04:39:35 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hrxRd-0004M5-0T for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2019 04:39:34 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id E8AD31D33; Mon, 29 Jul 2019 00:39:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 29 Jul 2019 00:39:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=aqDU4EJqoCCG0sbaEmhbBDMZxp GS5Qk0n3blj0qrY7s=; b=V0DU1Qt5FZp2J8YCNbDMJyQtL4gS/RKuZT2t0NtFUy IDWhwX6cGUDRQa26nQDLF+V6VVDkqGpaFLdbJ7o7Y6Myk5+E/CPSGG/w2y9SjSCi en6xKY1hTNyGV3YOtkOXZC7gjEjNh80gduqWqnhCX7E6VgnltjIItXObqeEMTEGl 9FEx4hzjwax5DtfosqZKs7RG2rOXs3eGJU8y1r0sYIaQPS/yHkekThacH0EpA9b8 wKccBW0mzv/LWu0/Z98GeXsQh1uzxZBwj+UsKStqBbZXw5ns5sv2jSP/wevw3A4d RlUPo5Dk2hTO+CFGUlraDPUeqzMkND00zAUvwfHN3NHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=aqDU4EJqoCCG0sbaE mhbBDMZxpGS5Qk0n3blj0qrY7s=; b=D7o1MtGycyf+htTiAJA4NOCFllGhivzeq 7hYqitUWcC7lsVKvXIoOhcug1xfHv5m18WatdzHbY9A0iJpmBDhyMYXhEI1UHdcc cyp9TNo3XGqKUi1+CrjbeaQQuFamE2wSvC+8WiA8U4kHseelIwO/zKA0dyCxONN9 J8UHTxZ+bsKzV5Vrp9KBiyVcQ5AbPxX3TDbBAzyClM6pdmyio7U+Gvx40BDZDbKi 6UKi1yO/4fd0ocnGOCmiJNqIAerQuzJqHBKp21B+thgeWzILAm+y2GpEwFBN7lUh Hmp8heM/7GdArQmxiUQJVZlXGJ88faWiMzJvFpJ9sinUNBoIrWauA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrledtgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeetnhgurhgvficulfgvfhhfvghrhicuoegrnhgurhgvfiesrghjrdhi ugdrrghuqeenucfkphepvddtvddrkedurddukedrfedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpegrnhgurhgvfiesrghjrdhiugdrrghunecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from mistburn.au.ibm.com (bh02i525f01.au.ibm.com [202.81.18.30]) by mail.messagingengine.com (Postfix) with ESMTPA id 8E5788005C; Mon, 29 Jul 2019 00:39:19 -0400 (EDT) From: Andrew Jeffery To: netdev@vger.kernel.org Subject: [PATCH 0/4] net: phy: Add AST2600 MDIO support Date: Mon, 29 Jul 2019 14:09:22 +0930 Message-Id: <20190729043926.32679-1-andrew@aj.id.au> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190728_213933_266142_F421830C X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, andrew@lunn.ch, f.fainelli@gmail.com, linux-aspeed@lists.ozlabs.org, devicetree@vger.kernel.org, Andrew Jeffery , linux-kernel@vger.kernel.org, robh+dt@kernel.org, joel@jms.id.au, davem@davemloft.net, linux-arm-kernel@lists.infradead.org, hkallweit1@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, This series adds support for the MDIO controllers found in the AST2600. In the AST2500 and earlier the MDIO controller was embedded in the MAC; this has now been separated out and the register interface rearranged (again). Please review! Andrew Andrew Jeffery (4): dt-bindings: net: Add aspeed,ast2600-mdio binding net: phy: Add mdio-aspeed net: ftgmac100: Add support for DT phy-handle property net: ftgmac100: Select ASPEED MDIO driver for the AST2600 .../bindings/net/aspeed,ast2600-mdio.yaml | 61 +++++++ drivers/net/ethernet/faraday/Kconfig | 1 + drivers/net/ethernet/faraday/ftgmac100.c | 37 +++- drivers/net/phy/Kconfig | 13 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/mdio-aspeed.c | 159 ++++++++++++++++++ 6 files changed, 268 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml create mode 100644 drivers/net/phy/mdio-aspeed.c