Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1767672ybd; Thu, 27 Jun 2019 01:03:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkbyx+XByPegyvPnrmiiw5q0Zb5HvJNPNbgLNn5ung92JQuOvh21T+1POE1/sUkFU0wGUx X-Received: by 2002:a17:90a:bb94:: with SMTP id v20mr4499583pjr.88.1561622605359; Thu, 27 Jun 2019 01:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561622605; cv=none; d=google.com; s=arc-20160816; b=E+bnhHu9Q9Sqm5hlTv55hNcD/tLwjakNOvjC2D0sq2u+uCCVEYooSAMAM1I4EdJFjd byEyDfeX/c1Iyxw+2IZ4JOy/cbUTyMZInE7ENtAgzNyxbPP6kXjPL64ybum4NIjqbnS7 oJxSL59xAYvtU4cgK6pXTxeDt10/o3b2+9I3JuBsTF0aqFRTlrFh3KXkG0uAWW2RhZ0V P2mDRMh7wct0EB2XTrepKvfcezwm4QUzoXonNIR6cUx11iexUOtuJfJW4/1eCas89gYH mweTG3onzTNt8iM3fFK3NjxHNb/IsdEWxKSX6ScKQJoQKcoGQI9EjuNMXqBBkpgbLr0i dqjQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0fPi9snp8lat7AADFjwUFepwN9t7yP3iVl5ItxSLQHs=; b=QOUpK8kGYm03Lonzwqyj01hobydmiTSzSlPqjyhigk0wDEBDTEPn140EzYOa+QqDM1 Vw6vAX+A87d8XhUWLbY+BmAabkCQxKj4Gnbgw3hkxchCojSpPJmAI/5pSjKU3nkLVlbe R5YFlc3QkoSWMrTGM8IGMpPAOeFnF1Hd+xHJivFw9doeBb8VETOzXUDOO0D/XNQprsyy 3WGD3oPq35Frc6uR3cp2voUN2UyindLO4NoGu2MWCgcjDXpezU4hX+UadkdFB/LSU2K8 EuxsA1evb/l34icDdfV//NzIehrir4hHIu90zEJFkzd0V5pFuupwCQd9VDe+uRd/p2f9 vjXg== 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 j14si1354841pgj.519.2019.06.27.01.03.08; Thu, 27 Jun 2019 01:03:25 -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 S1726590AbfF0IBk (ORCPT + 99 others); Thu, 27 Jun 2019 04:01:40 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:57889 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726101AbfF0IBi (ORCPT ); Thu, 27 Jun 2019 04:01:38 -0400 X-UUID: 1854cc0e78d043c5841c57b9d9beb845-20190627 X-UUID: 1854cc0e78d043c5841c57b9d9beb845-20190627 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1741848921; Thu, 27 Jun 2019 16:01:32 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33DR.mediatek.inc (172.27.6.106) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 27 Jun 2019 16:01:30 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (172.27.4.253) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 27 Jun 2019 16:01:28 +0800 From: Jitao Shi To: Rob Herring , Pawel Moll , "Mark Rutland" , Ian Campbell , , David Airlie , "Matthias Brugger" CC: Jitao Shi , Thierry Reding , Ajay Kumar , Inki Dae , "Rahul Sharma" , Sean Paul , "Vincent Palatin" , Andy Yan , "Philipp Zabel" , Russell King , , , , , , , "Sascha Hauer" , , , , , , Subject: [v5 7/7] drm: mediatek: adjust dsi and mipi_tx probe sequence Date: Thu, 27 Jun 2019 16:01:15 +0800 Message-ID: <20190627080116.40264-8-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190627080116.40264-1-jitao.shi@mediatek.com> References: <20190627080116.40264-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-TM-AS-Product-Ver: SMEX-12.5.0.1684-8.5.1010-24720.003 X-TM-AS-Result: No-5.013200-8.000000-10 X-TMASE-MatchedRID: jDDvEWr+SwHYi2pRKW3Q1vqifdI85BZh3WFaxVW7M2hwkdIrVt8X1WMg VHfStGn65UUUZCVUbO+bHAuQ1dUnuWJZXQNDzktSGjzBgnFZvQ4zAx8HYox0h0YlGywuH9uc+rE c9YP7ZaPi8zVgXoAltmHJPdY2OmlS0C1sQRfQzEHEQdG7H66TyH4gKq42LRYk9Tu3ibJR6eVOyv c/Wa4OW6RXKfY/AJJQK/xHXrr321p+3BndfXUhXQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.013200-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24720.003 X-TM-SNTS-SMTP: FEDE5F3E307DE948241EF76F11C72F417CD4B7A4639B3C4CB141BA5B401DE9052000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mtk_mipi_tx is the phy of mtk_dsi. mtk_dsi get the phy(mtk_mipi_tx) in probe(). So, mtk_mipi_tx init should be ahead of mtk_dsi. Or mtk_dsi will defer to wait mtk_mipi_tx probe done. Signed-off-by: Jitao Shi Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 57ce4708ef1b..fc809a61fab9 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -640,8 +640,8 @@ static struct platform_driver * const mtk_drm_drivers[] = { &mtk_disp_rdma_driver, &mtk_dpi_driver, &mtk_drm_platform_driver, - &mtk_dsi_driver, &mtk_mipi_tx_driver, + &mtk_dsi_driver, }; static int __init mtk_drm_init(void) -- 2.21.0