Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11955493ybi; Fri, 26 Jul 2019 02:24:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDR+VMbWqaxSC6DDfVEg6YldMfqdY0nDm0pcLqGS2LtzUAl/vfqXnDr6rHzI2m1+bQNg0g X-Received: by 2002:a17:902:a417:: with SMTP id p23mr94067738plq.136.1564133094216; Fri, 26 Jul 2019 02:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564133094; cv=none; d=google.com; s=arc-20160816; b=ck4NguIolMMW1BDJBrVYwOUkL6I8nb4GjbXBeCr5Y4NBaIG1K2+VFLSyFlAApbYnsi i8xdD9IkJZAeNdYtT+tnM2VHqWVhwbD8P5OEiv5blDSG6n02LrfhplnGCj9dl+8xaLNU Qijk8y8PGxBuw+eYyjZeb03fUcOkA0kOBWBcIGkFxZRe2c80oZLZdGf1417xuH/x3A9q xPx8G6vA0zNyTxTII1UVbKbCRh66hzBsEhjQV2PbhVWk9G5Gynq/bnQljGxBMf6ZtyG1 G/USdJqnRTeiUVJfUfG9RGOkIA/WSxww0YKU/v8PQJ8nVMsvwIYS3YGsY5nfvSiek66w WC/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=u6beBWHidUNFFaPwHm3E9kISwEHntqWZBFpG6jzjXTw=; b=CWtXTJDvnY+1nOEkU6ylEfZilCYjq5BgiTUJSRceMDZCRC7jB2ggVrtGLSH2R34ghZ mN5MxfKNNBEybsG/6zVBUY7yRMcwoarO1pKLIf7CUwThbxfvDze1s4Tnse3Mra4ahXeH dkc5MGaFCcVYoZRS+5bQB3YProO14lhLmDkyHCOPNNonSrUT/+l4EkDVz3oPnszqjyH5 HzNQzN5qa4PuDcjFirjp+wihpC9n+sVnqYHIk0N21JGrbIOhyJ26hJoVDMNTbBCAAJBw QtQ3jPYJtpI0oyXoSedXca2W2qfm62qfBZXkwsyMDXYi99VaxTe5642vd4CLpoogJ+hN dFsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b92si17248903pjc.17.2019.07.26.02.24.39; Fri, 26 Jul 2019 02:24:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726102AbfGZJVr (ORCPT + 99 others); Fri, 26 Jul 2019 05:21:47 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:59320 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725903AbfGZJVq (ORCPT ); Fri, 26 Jul 2019 05:21:46 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 60CBBFB06; Fri, 26 Jul 2019 11:21:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FFe4Rvb0O9iZ; Fri, 26 Jul 2019 11:21:43 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 2988E46A9E; Fri, 26 Jul 2019 11:21:43 +0200 (CEST) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: =?UTF-8?q?Guido=20G=C3=BCnther?= , Purism Kernel Team , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] drm/panel: jh057n00900: Move dsi init sequence to prepare Date: Fri, 26 Jul 2019 11:21:40 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If the panel is wrapped in a panel_bridge it gets prepar()ed before the upstream DSI bridge which can cause hangs (e.g. with imx-nwl since clocks are not enabled yet). To avoid this move the panel's first DSI access to enable() so the upstream bridge can prepare the DSI host controller in it's pre_enable(). The second patch makes the disable() call symmetric to the above and the third one just eases debugging. Guido Günther (3): drm/panel: jh057n00900: Move panel DSI init to enable() drm/panel: jh057n00900: Move mipi_dsi_dcs_set_display_off to disable() drm/panel: jh057n00900: Print error code on all DRM_DEV_ERROR()s .../drm/panel/panel-rocktech-jh057n00900.c | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) -- 2.20.1