From patchwork Wed Jan 2 09:17:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 154636 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp12686191ljp; Wed, 2 Jan 2019 01:19:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN6zg2lHh19hZwr+w00xJyDT5UuzWSNJV4/ho3iA5KUzN0dgtN/uUsOhepgI5+WHCRAVZJII X-Received: by 2002:a17:902:3181:: with SMTP id x1mr1666379plb.58.1546420783419; Wed, 02 Jan 2019 01:19:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546420783; cv=none; d=google.com; s=arc-20160816; b=nVubFl3sIJW9zqCQwMB7ThmHfp/PXOPXbgd2DDuD3vcrx9WXdu2Rqqp6SS6k0eToK7 AaCUbDozzfrnub4J9GirWC1CCbD+Bl1otRC++iIuFhoHQT3inIMbkgerzUu3ElaOQ0wn /xFrI0wsR8NWbnytn+WJkvKENHhD+DN1zUcvrL4aJ97cZVtcsu/Eo44hQoilGpNHTknu cEiAA5y/3XEZZAKmdBuTVN4ic5o9IwCzovBMoSrncbJXb5E0mlXrL4N/irPN1XOafOrV 54psPwQWXnILi8w91F5X8QJMgguLKuSvAKDwK6pFTDkRC9jyh5ESjhZ4N0JkxtIfldkv lA5w== 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=o03ydkeKoA0mtf2ur7k6s/AaSAKJYtGAu8/6mVBKBK0=; b=elUR6GSZ5l43yURO+LniWXEyaHJzqe4maxI6oDq0FOr7OT7MnRaQzvku9aK+05ecni DquC1fOA0Q/9St22XhQOJjO2/ZHlx+42G42+78yDzezlSmouGvCe5NHf6LE5SQSH3yIO VhFQQ3G5J1MKyztskAI+T+0becidDf7b4nSIyXHHBO1Xb+D8hq+oxMio6Vpsk7CrIJbl Na9dnO94/NGmQhxb8lvIc1jcTHeOsvpVATz1t7DLwdWN1NDMEwtPYK7Dm2OpqyRNSt+U Yy1pRt2W5v4weKwb8Zvpvzc4SPCd93jRmMfEvU2ovEzz3txrgZiawvhzBE32V0spZ40q oLtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=w2t0x6j7; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17si14908523pgk.217.2019.01.02.01.19.43; Wed, 02 Jan 2019 01:19:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@kernel.org header.s=default header.b=w2t0x6j7; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728870AbfABJTl (ORCPT + 7 others); Wed, 2 Jan 2019 04:19:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:46472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726782AbfABJTl (ORCPT ); Wed, 2 Jan 2019 04:19:41 -0500 Received: from localhost.localdomain (unknown [171.76.109.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7DD3B2171F; Wed, 2 Jan 2019 09:19:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546420780; bh=hnmaiij/nkrB2/plAQj8A0E1VmBARnnG0VDZSLfsgsk=; h=From:To:Cc:Subject:Date:From; b=w2t0x6j7f5a3qB1PzA0+N+x1h4fyIisZbALqJRUniN698yeKgPnIhBvLcA7/a6vOM nLmxRVGNXqXZQxvjGlgn6DH5eL9sdPvjeEgiyqSM9RYp52hxkhlyCDNqgG8QMG1YLd xmRwD1nzAXcE7se9kHrBFZUTxL1d7BlSc3nw5X20= From: Vinod Koul To: "David S . Miller" Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Niklas Cassel , Bjorn Andersson , Vinod Koul , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Andrew Lunn , Florian Fainelli , Vivien Didelot Subject: [PATCH 0/7] net: Add support for Qualcomm ethqos Date: Wed, 2 Jan 2019 14:47:22 +0530 Message-Id: <20190102091729.18582-1-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Some Qualcomm SoCs sport a ethqos controller which use DW ip, so add the glue driver which uses stmmac driver along with DT bindings for this device. This controller supports rgmii mode and doesn't work with existing phy drivers as they do not remove the phy delay delay in this mode, so add a DT property and disable the delay when this property is present, this is done for two phys at803x and qca8k. Vinod Koul (7): dt-bindings: net: Add Qualcomm ethqos binding net: stmmac: Add driver for Qualcomm ethqos dt-bindings: net: stmmac: Add the bindings documentation for delays MAINTAINER: Add entry for Qualcomm ETHQOS ethernet driver net: phy: at803x: Rework at803x_config_init() net: phy: at803x: Add support to disable tx/rx delays net: dsa: qca8k: handle disable tx/rx delay .../devicetree/bindings/net/qcom,dwmac.txt | 129 +++++ .../devicetree/bindings/net/stmmac.txt | 2 + MAINTAINERS | 8 + drivers/net/dsa/qca8k.c | 27 +- drivers/net/ethernet/stmicro/stmmac/Kconfig | 10 + drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + .../stmicro/stmmac/dwmac-qcom-ethqos.c | 545 ++++++++++++++++++ drivers/net/phy/at803x.c | 48 +- 8 files changed, 758 insertions(+), 12 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/qcom,dwmac.txt create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c -- 2.20.1