From patchwork Sat Nov 17 18:12:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10687581 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 1F19F109C for ; Sat, 17 Nov 2018 18:14:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 111792ABAD for ; Sat, 17 Nov 2018 18:14:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04E122ABB5; Sat, 17 Nov 2018 18:14:16 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 9E5112ABAD for ; Sat, 17 Nov 2018 18:14:15 +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=qZruxNR70osl/TFUV0gx5K8YC47pnyvOZIaqpoj3NSA=; b=P52DsERZjmN4aP LoPrvWshguTjaPCdUwxlM87Nfo5MXw/NiCLnOoewVE2rquGoCCN3c0X6OMRP7Ft8ZIgkaHcWDEppp GfACpc0kN6OabEiPXglsOfNd/g5vIyA81yh2nfmQUoj3ubNiyxfjSEod4iMx/AaXDaCHYNkJhgWza wNJi2xleEFgcTbEbR2FWZr+K/TELRK867hdDoBMA2hULP5F1WBH97eJ4L2rrZRua9w1dZTEhocv+X /nQJPp7gCARf4Mbd+UuaGIMUKWD5nQn54CMENUE98WoR384V5f/4FrxZ8tCp1z60sluwojZPKRF7x +bq4PJR6mca/Vj7Bh6cw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gO56d-0007qA-7c; Sat, 17 Nov 2018 18:14:07 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gO55G-0006Y1-Fa for linux-arm-kernel@lists.infradead.org; Sat, 17 Nov 2018 18:12:47 +0000 Received: by mail-pg1-x544.google.com with SMTP id 80so12005169pge.4 for ; Sat, 17 Nov 2018 10:12:32 -0800 (PST) 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=VQXpmGqoNlvoa3L5e4/ydma6HiYdDt50w+WJrMmHO0A=; b=gD9PSmMPlgjbow6JgCDb/rdwLZ3Ml263yjCJsGd1vNou5H8xLfuxc8QCWqZvanMCsj QcYzmIxDlFS2Qdy8AuxK2KkpfMghDG7/BU+GxBy4Dz75j+4b2EQ4VA/NwyOEKpnqf0ol FawxMqEFfagFI4iUzlSEuCTfpx8aFPoeUdOm727qcvfBgidWEXBV1yTP9Bx26oTMqamM HJ3+yANIxw0FEHESXzRXXOn47slqROmWdGToALes1X4WTZWVuNiNaqL9if2V6aNv5OCW m2NzyJuaz+chxVfZtCk80OkyYp+hH+9/f3OZ5r1fdmD/h2Bevl2t6S4xU34vzE28T1vh FvFA== 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=VQXpmGqoNlvoa3L5e4/ydma6HiYdDt50w+WJrMmHO0A=; b=FOQQXoZGa2U0UQJoJvYDAMzieWMqefMtfk8DN6dleLs8inFTdzPqoKvaR4ljzMFfQ2 AI+bNyFW+XAEK+r97Vw6SB38HrcDNJ+UcXEwL+RqZ7FlXP8lQmmo9qt7X3eHOh5cB1Z8 jKue2zL6U0chJxaoJW8y0i5mmgsygFnxDfvmk369w1RXbrj4YDE56U//04F0zool36UX tHkBB+KHYcjsjo9gYSP/onjnRoOG5hBJfr1t86sR6fgZT3LrVSIZbZ5KOb0c8hGDAiJv PtQtO4aEQPL3D83XqnnstlzCwQ+UsDOArlIKmZJr69J4KKBp2Fef/OJCbXcvbq0yu27e AU1A== X-Gm-Message-State: AA+aEWbVmSN/6wbiF9LQ3OCymrlbBslsMe+5u9MzBH8Ba4X1zS5hy4qD 1bgpammu1520kvxMmF3l5D4= X-Google-Smtp-Source: AFSGD/UcEcwpgFUTVpzE8zpjodknTX4wCnW0gqu4oy32ytqLhsMd4Pb49/EuuwrJdviWPFWZoFTUzA== X-Received: by 2002:a65:534b:: with SMTP id w11mr4973299pgr.125.1542478351376; Sat, 17 Nov 2018 10:12:31 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id t2sm13868196pfm.32.2018.11.17.10.12.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Nov 2018 10:12:30 -0800 (PST) From: Andrey Smirnov To: linux-kernel@vger.kernel.org Subject: [PATCH 0/3] PCIE support for i.MX8MQ Date: Sat, 17 Nov 2018 10:12:22 -0800 Message-Id: <20181117181225.10737-1-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181117_101242_663905_CAF1B73A X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "A.s. Dong" , Richard Zhu , linux-arm-kernel@lists.infradead.org, Andrey Smirnov , linux-pci@vger.kernel.org, Fabio Estevam , linux-imx@nxp.com, bhelgaas@google.com, Leonard Crestez , cphealy@gmail.com, l.stach@pengutronix.de 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 Everyone: This series contains changes I made in order to enable support of PCIE IP block on i.MX8MQ SoCs (full tree can be found at [github-v0]). This series is _very_ preliminary and by no means is ready for inclusion (it also has some unmet dependencies). However is should be in OK enough shape to get some early feedback on, which is the intent of this submission. Specifically, I'd like to get some feedback on whether newly introduced "fsl,iomux-gpr1x" and "fsl,gpr12-device-type" DT properties, added to handle differences between PCIE0 and PCIE1, is a good (acceptable) solution for the problem. All other feedback is appreciated as well! Thank you, Andrey Smirnov [github-v0] https://github.com/ndreys/linux/commits/imx8mq-pcie-v0 Andrey Smirnov (3): PCI: imx: No-op imx6_setup_phy_mpll() on i.MX7D PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D PCI: imx: Add support for i.MX8MQ drivers/pci/controller/dwc/Kconfig | 2 +- drivers/pci/controller/dwc/pci-imx6.c | 119 +++++++++++++++++++++++++- 2 files changed, 117 insertions(+), 4 deletions(-)