From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755279AbcETLQE (ORCPT ); Fri, 20 May 2016 07:16:04 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:54315 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932285AbcETLQA (ORCPT ); Fri, 20 May 2016 07:16:00 -0400 X-Auth-Info: qh/Sj7/3ORadYwdSqv0IVdBridFwl8w/twcG3xhBP+w= From: Heiko Schocher To: linux-kernel@vger.kernel.org Cc: Heiko Schocher , Philipp Zabel , dri-devel@lists.freedesktop.org, Dennis Gilmore , stable@vger.kernel.org, Dave Airlie Subject: [PATCH] gpu: ipu-v3: display support on the aristainetos2 board broken Date: Fri, 20 May 2016 13:15:48 +0200 Message-Id: <1463742948-15592-1-git-send-email-hs@denx.de> X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit 503fe87bd0a8 ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading") breaks the aristainetos2 board with the "lg,lg4573" panel. This reverts the above commit. Signed-off-by: Heiko Schocher --- Any hint, how to bring back the display on the aristainetos2 board without reverting this commit would be appreciated. Board DTS: arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi arch/arm/boot/dts/imx6dl-aristainetos2_4.dts see the log of a full automated "git bisect" session with tbot testcase: https://github.com/hsdenx/tbot/blob/master/src/tc/board/tc_board_aristainetos2_linux_bisect.py here: http://xeidos.ddns.net/buildbot/builders/ari_lx_bi/builds/3/steps/shell/logs/tbotlog for details. drivers/gpu/ipu-v3/ipu-common.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-common.c index abb98c7..e00db3f 100644 --- a/drivers/gpu/ipu-v3/ipu-common.c +++ b/drivers/gpu/ipu-v3/ipu-common.c @@ -1068,6 +1068,7 @@ static int ipu_add_client_devices(struct ipu_soc *ipu, unsigned long ipu_base) goto err_register; } + pdev->dev.of_node = of_node; pdev->dev.parent = dev; ret = platform_device_add_data(pdev, ®->pdata, @@ -1078,12 +1079,6 @@ static int ipu_add_client_devices(struct ipu_soc *ipu, unsigned long ipu_base) platform_device_put(pdev); goto err_register; } - - /* - * Set of_node only after calling platform_device_add. Otherwise - * the platform:imx-ipuv3-crtc modalias won't be used. - */ - pdev->dev.of_node = of_node; } return 0; -- 2.5.5