Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1678384ybi; Sat, 1 Jun 2019 02:28:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAzRMq6UnZI/gRGoly4sTEdSOhAHryz/H4WW/WeEiSentUrnkES5r62ufMfwOU4e/P+pRE X-Received: by 2002:a63:e616:: with SMTP id g22mr14807499pgh.61.1559381282066; Sat, 01 Jun 2019 02:28:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559381282; cv=none; d=google.com; s=arc-20160816; b=pn9c0IM19WGufpKKqcHPRd8yLxIs4tWPvCr5Ar6XDxnl8KdjaKxvZKM7Qjg+8TED8S nXj3U0LzCpi9aQ5q8vJasP4xG0mSIS8FusNR+t2WbvPMv3msp1aRWB+Tm+/bOafCr1eA yl4FCZB0t9V77yRcinzIHE3XhE7Te9Qp+NiI4ek58PBAGvstXNaKUZKOWp5qf0oqSdLA RioikeqgI9OOli7MOBhwicJ0Ty0qfhPuQkSogi2JJZAzfEKn20tDDop2ePOKAQHAICUq 7Y5ZQfcwCl+Xjzp9TU8EI/ErtyU4ZC+MfNT8qKorIiSesm4sL+4KqxZecrOW6PCBAt/r yYEA== 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=FbMgFmOBDVo+66/5dFn1eDVTMKqgFZr20DYXQx5zxP3XXKj37Uel/uM55OQvu69Lg6 NX71eCkgak1YsiVktIW/hkNpGKEp41PoIo9vVxzRRHY92kOSl2x54W2zVi8tjczZyv9/ oAMRcxumFlpSCDXxOUP0DYAyttAqTWK7r0Lr/P1pBAOaCz4RrVfdc5Rv+nfUL4ojCqmY co965YgS/Yugzzgx6YRsJKL/csuL3ZxxdvsJ8UJ60wBsU3ekNjBmx56FpEeJh+bMFoQK 2FlOn2LVgrnVh7lynnLAwIclXmu+ulezDMXtKVQpdsI4AO/Ro5mo4zGhsL7J9iz08+8t 9Diw== 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 o1si9968737pje.37.2019.06.01.02.27.47; Sat, 01 Jun 2019 02:28:02 -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 S1727227AbfFAJ0l (ORCPT + 99 others); Sat, 1 Jun 2019 05:26:41 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:3199 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727158AbfFAJ0j (ORCPT ); Sat, 1 Jun 2019 05:26:39 -0400 X-UUID: 3fdc10fb3388403a8519b8a6142017c9-20190601 X-UUID: 3fdc10fb3388403a8519b8a6142017c9-20190601 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1653669255; Sat, 01 Jun 2019 17:26:32 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 1 Jun 2019 17:26:31 +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; Sat, 1 Jun 2019 17:26:29 +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: [v4 7/7] drm: mediatek: adjust dsi and mipi_tx probe sequence Date: Sat, 1 Jun 2019 17:26:15 +0800 Message-ID: <20190601092615.67917-8-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190601092615.67917-1-jitao.shi@mediatek.com> References: <20190601092615.67917-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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