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.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no 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 34295C4332F for ; Sun, 8 Sep 2019 13:43:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0BF912082C for ; Sun, 8 Sep 2019 13:43:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WBb8W9eA"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="FbLKHFO3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0BF912082C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=9Ih6ezT0kuPh7nqCspHMKYbqOf7FEiLFO7d7JVhs8iE=; b=WBb 8W9eA+x3dRnIeTMHv7S4CUHYWpfNCIQwI69v04w+tt4xL/C4KoxIYwZ93bWEBLmkuGbARvcTZ8Sx6 V8/jw5Y8+mJaIVq0B4PQgnZK/QdZ5sK+68Jgn6/+ST4vT4Oc5EwxHvMNgrlVNHxZlNHYDxvSGqwkj CzX3GEdfYxpNZlvzHhV9YO3UvLaVguR91Kc3SY5cEQ+EqgnN/cs6QWWSGALVCfNlSGGvomzWdk/1v pSoyUSsdmcWhmSODVMIuKwuxDjDOq6tAp4QSojj1Z1lLzMGv297ag2RYWraM1STwUS2W7pvdl+nNe oJcOLwIZSXiP9NztBUzNmyjkzLDlyCQ==; 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 1i6xTE-0004tw-6g; Sun, 08 Sep 2019 13:43:12 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i6xT9-0004pc-Jr for linux-arm-kernel@lists.infradead.org; Sun, 08 Sep 2019 13:43:09 +0000 Received: by mail-wm1-x341.google.com with SMTP id k2so10911464wmj.4 for ; Sun, 08 Sep 2019 06:43:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=bhJiBihaPigA25kWimp1Wuk4duG+A/TW5bOjh0hx7qw=; b=FbLKHFO3sy/P0LsX5o7Lup+JKzur4H4kJ75gquUD3SHLGIczGl85/lWck6sGMnBYAg WuraeQeE84/NeiZuKBQAK7N9H1Tbzjb9ZahlQWMSgcqXezOev7edsEN/PnzMny+AYBbZ xB2juX0GUvpdh55ITRxxgbp9rNzidWkL4rgedFsVY26bwlrT4VdwHUgR1f4Z+IMjWVo8 wfL/Xb1j8ivrQWg8m6S3A31KhBx7GmDA9r8KVefF5CBpC11SP2hf2m0wA3dIwsYM+DFx 9HGyFtFgiGihd56srnRwjg1StrJz+0jGNE39tXzxd58RyOGF2vZCEGJhfbEsAhWknHlr l12Q== 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; bh=bhJiBihaPigA25kWimp1Wuk4duG+A/TW5bOjh0hx7qw=; b=RBMo/xIfeRad50prT6YRV1j2fa+RQdPqQkzXGJmf/Rjz9K8mU88X7JPQh/OV7Wuv4M kKjomex5jrrLa2D+2aBLwQCgVPSS9OMVzh7y90mqsKWT7iwgg0a23jhoMLp3Q8IjDOtC Fm+DxAdeCSFf9X0nSBhCeyR1youAeMZCIpiNzYEH108cRJKpNq7eCHLlC42oiQaSDfRO JlK0K/5wZLgdFrVqD9j6ZOIcovIBckGEl2fA5rTJ0rsdANZ3cePtte437X7B4fcy7e/5 w4QK/WI6K5AjuO4ztzd3PMNg8qQgq65zSFE2CRu1ljfFhewxj3As3yX4QCr4CtW22Npq n1lg== X-Gm-Message-State: APjAAAWhFnlEpMtTLMQVxYQZ6SbO1Uf101uQfmUimRcBw6hE6kqhoyLU Hz1XnXq08OJxDvvBuui45+q0nA== X-Google-Smtp-Source: APXvYqzZDOffIFpKH0a5IrjJM+OMLi4OoraM+UJVMqR7MJ3TEHLDVrjUVrj3tt8e4i0+UESY/zZsig== X-Received: by 2002:a7b:cfd1:: with SMTP id f17mr14578586wmm.146.1567950184183; Sun, 08 Sep 2019 06:43:04 -0700 (PDT) Received: from localhost.localdomain ([51.15.160.169]) by smtp.gmail.com with ESMTPSA id t203sm14313902wmf.42.2019.09.08.06.43.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Sep 2019 06:43:03 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, bhelgaas@google.com, lorenzo.pieralisi@arm.com, yue.wang@Amlogic.com, kishon@ti.com Subject: [PATCH 0/6] arm64: dts: meson-g12: add support for PCIe Date: Sun, 8 Sep 2019 13:42:52 +0000 Message-Id: <1567950178-4466-1-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190908_064307_795610_27A14B1F X-CRM114-Status: GOOD ( 11.26 ) 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: Neil Armstrong , maz@kernel.org, linux-kernel@vger.kernel.org, repk@triplefau.lt, linux-pci@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patchset : - updates the Amlogic PCI bindings for G12A - reworks the Amlogic PCIe driver to make use of the G12a USB3+PCIe Combo PHY instead of directly writing in the PHY register - adds the necessary operations to the G12a USB3+PCIe Combo PHY driver - adds the PCIe Node for G12A, G12B and SM1 SoCs - adds the commented support for the S922X, A311D and S905D3 based VIM3 boards. This patchset has been tested in a A311D VIM3 using a 128Go TS128GMTE110S NVMe PCIe module. For indication, here is a bonnie++ run as ext4 formatted: ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP 4G 93865 99 312837 96 194487 23 102808 97 415501 21 +++++ +++ Neil Armstrong (6): dt-bindings: pci: amlogic,meson-pcie: Add G12A bindings PCI: amlogic: Fix probed clock names PCI: amlogic: meson: Add support for G12A phy: meson-g12a-usb3-pcie: Add support for PCIe mode arm64: dts: meson-g12a: Add PCIe node arm64: dts: khadas-vim3: add commented support for PCIe .../bindings/pci/amlogic,meson-pcie.txt | 12 +- .../boot/dts/amlogic/meson-g12-common.dtsi | 33 ++++++ .../amlogic/meson-g12b-a311d-khadas-vim3.dts | 22 ++++ .../amlogic/meson-g12b-s922x-khadas-vim3.dts | 22 ++++ .../boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 + .../dts/amlogic/meson-sm1-khadas-vim3l.dts | 22 ++++ drivers/pci/controller/dwc/pci-meson.c | 105 ++++++++++++++---- .../phy/amlogic/phy-meson-g12a-usb3-pcie.c | 70 ++++++++++-- 8 files changed, 258 insertions(+), 32 deletions(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel