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>; From patchwork Wed Mar 27 06:38:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10872795 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 141B8186E for ; Wed, 27 Mar 2019 06:39:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDD9328C68 for ; Wed, 27 Mar 2019 06:39:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E22A328D33; Wed, 27 Mar 2019 06:39:08 +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 4460428D32 for ; Wed, 27 Mar 2019 06:39:08 +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=1AFoNWgSjl+TJn2D0d6zqXwi+kiZJxMTcGfIQ129Xo0=; b=sk9z1PtlVwiPIj f+TBMinQu5ob9Q+gIx/p4a+njrZPtPAp7GNR+HQ7RLetpPZErVf19CAm4e2aoaG6QOtWcYiCphrzL wEFJWZOo6vtxdhO4ol2n5UwqW5P+byO5rnzDFx/Me0quw9cRWQlPYfgAlqrro+vJK/bOYQA3kr9Ht NTDN4YZUuy3C/QlHuZIpw5iTmZveVhIr5sBuM48XDYs3ujfXmYxFbYzJAa/dt7Q+DBFPzSWEiy+vL kgbORz+z5+w5lcCBNnY75ALUQodeoWKcWsGy6D47k3wsaW1caLsi500snA868mEFKFfBgvgV/E9y7 8rhj6to2e2MzATmlEAWg==; 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 1h92DK-0007hR-GQ; Wed, 27 Mar 2019 06:39:06 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h92D4-0007Qf-GB for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 06:38:51 +0000 Received: by mail-pl1-x643.google.com with SMTP id y6so2850108plt.1 for ; Tue, 26 Mar 2019 23:38:50 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=pkYcRhaf/UdfvMg3nL/yoq4ZD1aCpqg15tHnoz5T0Wc=; b=rRSKzvq15w/+Y+tTb3AJ4bYoYS5e2ZhFgZpUa7CQ0FJ3CgNagl7EnE6eQ8aUq+IEvT BkPr9i9Oif2t9xNYVWEY5onruu9KMtjUKRxvUMR+dJTzWa0ntAOBd9+TKRPLymIKGQ8J 4PJLvbdVTVE+Y2R4clHEX6l0mdmZaA03DBXtpg5Xlv8K0EoH61YqR58fRsRonwSeUpQY SkqDIpmLyn5l2NVaK5UpVdCyonW+kpYdNLltBMN4rM5BGpUADQu7Xod0nlISu0gAD7hT BRyJt4sXZIzVu2zSwfuLa8YveoXou8SfZKiOfL8g80rJ8aNAL23LwiF7iUKJsLAxC52E AZBQ== 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=pkYcRhaf/UdfvMg3nL/yoq4ZD1aCpqg15tHnoz5T0Wc=; b=q75o8FwrgrRZ3TtRjmUfLMOBFdXlSmc+CV1f6CF72TJvQBas39pMHmN2iItlet+Gyl ti5eTA5BxjwMYUn2Ttalhx+qI+IeRSKFmrJbuSVTlJKqcnqVWvhas18EopDyYWQTCcpM 2u6W+lQ9fQR+JUwTal6s8kKdwDme4LhEe70UMbrzDii/9GQ8QX2hOFgVOakh57X3lVnc UToY69c3weBNJYWQ3SZyQkO7cpxgZjsFHpujjDzr1v+AHwBR46xGAo1oazZiDiHBxJOu U39LMb865IfI5Jkl+8P8whN7vUQ3GxykH2hRuy9k3IGw5N/OzdR3GjCAvD/D1rwFYzb1 nk0g== X-Gm-Message-State: APjAAAXqFZ0Ai7V1KlhNYXjP18LsZ+482Pt3me/wyE8AOI/ZXFMn9NOK Kp3xmRY1tiWb38G5tqBLFjo= X-Google-Smtp-Source: APXvYqy6VrX2YadO0YqCo2/zq0QR6CBIFcTpT9r9TjL8e7NPnIOjgVFGr2P6SLqiA4L+rK7omJWXxg== X-Received: by 2002:a17:902:523:: with SMTP id 32mr34475581plf.249.1553668728880; Tue, 26 Mar 2019 23:38:48 -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.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 23:38:47 -0700 (PDT) From: Andrey Smirnov To: Shawn Guo Subject: [PATCH 2/2] ARM: dts: imx6qdl: Specify viewport count for PCIE block Date: Tue, 26 Mar 2019 23:38:41 -0700 Message-Id: <20190327063841.28350-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190327063841.28350-1-andrew.smirnov@gmail.com> References: <20190327063841.28350-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-20190326_233850_533506_2FC5A94A X-CRM114-Status: GOOD ( 12.21 ) 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.MX6 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/imx6qdl.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 354feba077b2..e2e982f9b333 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -291,6 +291,7 @@ ranges = <0x81000000 0 0 0x01f80000 0 0x00010000 /* downstream I/O */ 0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */ num-lanes = <1>; + num-viewport = <4>; interrupts = ; interrupt-names = "msi"; #interrupt-cells = <1>;