From patchwork Wed Mar 27 06:38:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10872791 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 202841390 for ; Wed, 27 Mar 2019 06:38:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0660B28BA9 for ; Wed, 27 Mar 2019 06:38:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE06628D32; Wed, 27 Mar 2019 06:38:54 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,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 A2ED928BA9 for ; Wed, 27 Mar 2019 06:38:54 +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=mZF6ZQyZI2TpAJyBMhi+mBkXT7JE7HowJjkC0jdSa+o=; b=pPSWx1Togls3cW 2QpC0mANP/AVZykPlEExCd/RJc4Kq2+fqHc+OOpt8ltgDWfVKQDQ0zw2we1Weiim+AU8oML3RTsJZ 7Ifwq9wxvjSeMQGrTnSYSJVSy/Vn6bQw6XGUiVhFY2GDYzFfdbM6Y9gj2XPcUm+O54LhPz3Fd3wI6 N6f9/arv9kq4wydHygjNwWelZUPQKHnx59RvlAOmXGGhv0OsoZ1xDUCsy+aAEf/qPsQmox61GHXeW mewDP6gXPpUEKV4yyQKRLYZRpQkZGi5u79yuzjpshmqmr5HJBqRRaHBfg4+IkAhnVDQ5qoCDMHzvn FdOJ+vEcv0OeQ0splEAg==; 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 1h92D7-0007RQ-Df; Wed, 27 Mar 2019 06:38:53 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h92D2-0007QQ-6Q for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 06:38:51 +0000 Received: by mail-pl1-x641.google.com with SMTP id y6so2850089plt.1 for ; Tue, 26 Mar 2019 23:38:48 -0700 (PDT) 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=w1sZMmfF4xAIW6tEXT/kd8lzvn8l0pe5UHrZYgSM9mg=; b=c8SHaAQA6Lq5RQT3g2JaoY+oW94pHeG4269vqjGR9nGY8S7DnA47z+nXDa+RCuG374 K9F3d95w4B43ulbOsQIFI5XYiAouCmwzTf9vbCo+cLLLddCvCBf225WXjdS1qn9jBucp bcKIHcRlKRTp4nyYjbK1Ip7/qPCOUKi+nw4a2Ae15goDE2iJNxs/gUeAl8iCUkVFBBHP JJw2qvqTg8QKbhYwLGYYMjuFz7Si6uMonem4tK6+J/6PmOyGanunw3f7TF6jcznLZ3YM qY4fcxDN0ltXQHXi95wC82AIWlLNFTx/znUUPnSiXQxVqXYLRKZpNpaZznUmHmcmKuTl OL0Q== 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=w1sZMmfF4xAIW6tEXT/kd8lzvn8l0pe5UHrZYgSM9mg=; b=C+PMwfbmNGEX2JCly2GDsDUoH0zA+9GDOTQmNw1h5+71KwQgYDl88p43SeWR+RQ/SW FGm5PuByE55dhatxrhL93v4+S9ncrDEXgubSi4fCvxPPa7O+HQYqzqrU3fhKpG3wMtCo YhaOZQe0UCMZ3VXVp5lQ7tu7BQdpgs+81m6dkZU/HrFo0jjaRQB38sECxbRw/y14Ca3a yoVMH09x7EAs32XYCufAxLvWYAHmSD7dXhMdt0PQsVAAGpLzHbr1BOdFgqNE6diFAJ2U fp8nWjibFwKx/qb6/CxYDcZ5ePLGxm2iFASFnrCkJn5zNHisGxPcz6IWddAeTX4Av6W5 YfUQ== X-Gm-Message-State: APjAAAWuguJ3wqW4VCX62IaE3exQ3087joSmrZfLB7JINdZ/TJG3OBHq FEnxlCxt4qQCfCYUci4MU9g= X-Google-Smtp-Source: APXvYqyOfpRmyNY1MzDVXQqtLeKtoaVW1xA9rLOYu4C0zAwF/eR79qwHKnf4wevs8a2aOsNMVk4MBA== X-Received: by 2002:a17:902:7084:: with SMTP id z4mr34489660plk.305.1553668727605; Tue, 26 Mar 2019 23:38:47 -0700 (PDT) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id y37sm36866116pgk.78.2019.03.26.23.38.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 23:38:46 -0700 (PDT) From: Andrey Smirnov To: Shawn Guo Subject: [PATCH 1/2] ARM: dts: imx7d: Specify viewport count for PCIE block Date: Tue, 26 Mar 2019 23:38:40 -0700 Message-Id: <20190327063841.28350-1-andrew.smirnov@gmail.com> 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-20190326_233849_872182_EAE3F43D X-CRM114-Status: GOOD ( 11.50 ) 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: Richard Zhu , Andrey Smirnov , linux-kernel@vger.kernel.org, Chris Healy , Fabio Estevam , linux-arm-kernel@lists.infradead.org, Lucas Stach 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 i.MX7D comes with 4 viewports, so configure PCIE node accordingly so that the driver won't assume we only have 2. Signed-off-by: Andrey Smirnov Cc: Richard Zhu Cc: Chris Healy Cc: Lucas Stach Cc: Fabio Estevam Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Reviewed-by: Lucas Stach --- arch/arm/boot/dts/imx7d.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 6eb98e7c568d..f33b560821b8 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -154,6 +154,7 @@ ranges = <0x81000000 0 0 0x4ff80000 0 0x00010000 /* downstream I/O */ 0x82000000 0 0x40000000 0x40000000 0 0x0ff00000>; /* non-prefetchable memory */ num-lanes = <1>; + num-viewport = <4>; interrupts = ; interrupt-names = "msi"; #interrupt-cells = <1>;