Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2533921ybl; Sun, 11 Aug 2019 03:43:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZRuGXAYTzU61nHdNcrTY9B0eXFrBkd+eW5JpAF59DeK3QkJU1FZwgGW5RTewxpVp1IlcB X-Received: by 2002:a17:90a:898e:: with SMTP id v14mr18458593pjn.119.1565520232292; Sun, 11 Aug 2019 03:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565520232; cv=none; d=google.com; s=arc-20160816; b=QfbwAPI+SGhmPj7tmuDxQzVZncof/Tps00Gh+wZ5Lbeznkx7Vu+FjwYQfMIhfNDJMF ulTr5Uzcx9PcpiDksWagZueZ3LnHG+Mkfo2u86gXlYDpWtWRZG/o0eY4bDgt5aq94jvM A9M7RF0jwHacTVgUjNqb7HnJ3MO2sm7xA4fdbvjvlmzBCh8iglwiD+eklUEX/ed6hR9a 3LdGxa9q6nzFQL+YjFtuBqLbiS0SkYhNgZqyK8yfNYEsnvWBExBsfTojBOtwQpP1iWkR jvXd4uOAfnkrHWHQpnARIdU/ur+dms6Jy1PcTn8Vnow0NmstZFaA3OG7xiVOhmwj/cI7 WVDA== 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=5+cyDCAXBndfWwTpzlQsav1EIp1CcczQBCFP3AvrD0w=; b=KiHQqblHsvqTMi+Wm96CItKKK8dgRFqobBZf9sQL7OmKtaOdRW7nD3hcZ7bPxOxJTG HfT+JLlsZ0WK7L30huwVnIFY5QuVFmureCScV8r+B/dvWuE6Skp0XTAvy3nYa0TePTvj GqW03tjAgaZ/rq9lNwvKw0kAd22kJiDlYymp9nDdTjSaE5JbGTiMhYawpcwEU87re+y0 EdP9wxTX6gCPoT1Jgss22tTHOYuDT0q68f3jen0eR9gEnxwm9TC+bBT986ha7v8LOi8n vkHRJxX4Yh5SVzHFPqErjJqw/B1cnfl5T9XpDNxZrIl0A/cKd1bsrqKPmDcD+BCoAyGw EWRQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o15si1121318pll.20.2019.08.11.03.43.37; Sun, 11 Aug 2019 03:43:52 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbfHKKlG (ORCPT + 99 others); Sun, 11 Aug 2019 06:41:06 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:41982 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726587AbfHKKlE (ORCPT ); Sun, 11 Aug 2019 06:41:04 -0400 X-UUID: 035dacbbd7b443ca8f8ccbcfe730f91e-20190811 X-UUID: 035dacbbd7b443ca8f8ccbcfe730f91e-20190811 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1089279554; Sun, 11 Aug 2019 18:40:56 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 11 Aug 2019 18:40:54 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (172.27.4.253) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sun, 11 Aug 2019 18:40:53 +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: [PATCH v6 7/7] drm: mediatek: adjust dsi and mipi_tx probe sequence Date: Sun, 11 Aug 2019 18:40:08 +0800 Message-ID: <20190811104008.53372-8-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190811104008.53372-1-jitao.shi@mediatek.com> References: <20190811104008.53372-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-TM-SNTS-SMTP: F406B3C082464647BA30F6630EE6FAEF64DFDB60DBCFFF655D16DEC9BB6AEA842000: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 95fdbd0fbcac..a762fd9111ff 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -630,8 +630,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