Message ID | 20181117181225.10737-2-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 555CB1709 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 17 Nov 2018 18:14:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 495962ABAD for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 17 Nov 2018 18:14:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B0642ABB5; Sat, 17 Nov 2018 18:14:26 +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 D959E2ABAD for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 17 Nov 2018 18:14:25 +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:References:In-Reply-To: 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: List-Owner; bh=DlbRJ1PcU+2PSa2fK/YJ/P6V/rFXyIym179t+ipqBO4=; b=BAV/95MnqXPOM8 xROB7GaFC4f1STXrA/gzbMvj90tGMzgY/tlyUqjH0QiLLzhM6O6aqPYCvwyRmb+og10HcCr9o/cvF 5B7pBIKpfI0MNdrHsyqox7vWvEiqP173+ETQSb25Ov4q3s9TFs+xS8Mdcs1KKWcZP6qOtX6PFj63R u2zFub8lgsdEmbHW2uYoT2ZkYX+A/akDjbq1EHEAr1WYLz6WipGSB2rzyQQG0LWNH1edIaFyReLL/ 5c97L2KsobRtt6qHYHh3Hegs5e2YtOhyha8Xulfl0QgGZzGBPntpmhxs6NHwpg/GdAfvFdV4X9CQ5 nJZLvjXLb2QhYpATwj3w==; 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 1gO56p-00084U-S3; Sat, 17 Nov 2018 18:14:19 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gO55H-0006Yw-Pu for linux-arm-kernel@lists.infradead.org; Sat, 17 Nov 2018 18:12:49 +0000 Received: by mail-pf1-x443.google.com with SMTP id w73so3576038pfk.10 for <linux-arm-kernel@lists.infradead.org>; Sat, 17 Nov 2018 10:12:33 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=AHMjBXV+tZeSxvUQvlaaMP7K5FV8BZph/ua16Vl6Z4g=; b=jRk/FBmz57Cjg2rHbL8eTwN16Wte8exPdg/zqO7/RxtO1XmaO132ojAp4YrKoxkQoW vprza5Yh8gBNuXppWb1quyXiGDFEQKt7EXMZBSwLCC1dibd2nUuvY2k4H0mWgXTgKd7O tMwi5rdXcnlJqFo3e/hGSu0aO804qj8X6sX2Xjj19uFtH2JKCgpyTFMEHCKZxDBQRih4 A8+oCS0v0+W5Iel8mPtj2A6V/W8/Y0V3Zmc+ppaK3tTYwmqyNhoNlvdotH+yyp0jRn2J EdFMVLqL8pkduB+wBaBQVxiwpQnKzZ+ckoZ6YSEi9CtB1jlSacALAKxvEI+J6n7XbrWi Mc4g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=AHMjBXV+tZeSxvUQvlaaMP7K5FV8BZph/ua16Vl6Z4g=; b=H4Z9HzC+Qhw/lZegK/QuzSHrZFgX+cN5JxdvhWlVp9DNsoyfdNISS+GZN4Ttq8eiCY 0caLplb6uNPCz7AGR1QIo4MhNPqr+fqGv+LpOoXCuWhOm1wHbtDc8SqvhRVgQ5fJcwyZ SkgjVuJVBZNBziN5W4+9+DRJX1FBovM0L/Zwu66EXp/miMbf6LXU/YDQcbXXqm/Z1Wv5 4jrX1FiIyZhwAYaIj5IMH8cnGhhTQp1Oe6hNJ3z0RQe4JC4y18O4lIzodGbSnvvStxEf xHUDsDfd7ZWFsuvMKFw14+marDV1xR52g8LnlEjLC5U9rJygjq+76uC0wlgYioQcnt5E pmgg== X-Gm-Message-State: AGRZ1gKIr8qoH0gLY23fH/PXA6I+y51H9fP72lH3+gVhZJngHujV3AEy UjahusK1bayy51PARD4G8i8= X-Google-Smtp-Source: AJdET5feNuTysNZsW12ctaii8G7xgO/LM/NexVDVWuk452DtrAj7XbF/bryczoPTv633dmWipEemmA== X-Received: by 2002:a63:7a5b:: with SMTP id j27mr14416020pgn.112.1542478352963; Sat, 17 Nov 2018 10:12:32 -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.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Nov 2018 10:12:32 -0800 (PST) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: linux-kernel@vger.kernel.org Subject: [PATCH 1/3] PCI: imx: No-op imx6_setup_phy_mpll() on i.MX7D Date: Sat, 17 Nov 2018 10:12:23 -0800 Message-Id: <20181117181225.10737-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181117181225.10737-1-andrew.smirnov@gmail.com> References: <20181117181225.10737-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181117_101243_860517_E4A0BF01 X-CRM114-Status: GOOD ( 12.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: "A.s. Dong" <aisheng.dong@nxp.com>, Richard Zhu <hongxing.zhu@nxp.com>, linux-arm-kernel@lists.infradead.org, Andrey Smirnov <andrew.smirnov@gmail.com>, linux-pci@vger.kernel.org, Fabio Estevam <fabio.estevam@nxp.com>, linux-imx@nxp.com, bhelgaas@google.com, Leonard Crestez <leonard.crestez@nxp.com>, cphealy@gmail.com, l.stach@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
PCIE support for i.MX8MQ
|
expand
|
diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 2cbef2d7c207..c140f7987598 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -525,6 +525,9 @@ static int imx6_setup_phy_mpll(struct imx6_pcie *imx6_pcie) int mult, div; u32 val; + if (imx6_pcie->variant == IMX7D) + return 0; + switch (phy_rate) { case 125000000: /*
PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 family, so none of the code in current implementation of imx6_setup_phy_mpll() is applicable. Cc: bhelgaas@google.com Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: cphealy@gmail.com Cc: l.stach@pengutronix.de Cc: Leonard Crestez <leonard.crestez@nxp.com> Cc: "A.s. Dong" <aisheng.dong@nxp.com> Cc: Richard Zhu <hongxing.zhu@nxp.com> Cc: linux-imx@nxp.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-pci@vger.kernel.org Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> --- drivers/pci/controller/dwc/pci-imx6.c | 3 +++ 1 file changed, 3 insertions(+)