From patchwork Fri Feb 11 14:30:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?WGlubGVpIExlZSAo5p2O5piV56OKKQ==?= X-Patchwork-Id: 12743523 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 86483C433EF for ; Fri, 11 Feb 2022 14:41:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ueVlr+djaC+M1ozo70Bnb0QUNVNBLHC6wsUF0KvtfI4=; b=tzKkOuTPubFohw 5Qp+R6jKRTJ3f1V1sxLcephSQuGWMiwHtem/fPA91Kb7hKs8Y/Ya4eU7QFp0cStRCaAW61sQs/VfE BtMyCCA8MDMMyeJ4khFXnKgetb6pZZJhbZHdOOy6rbq/nNm3TRRtN8XKyNzV2Ajg+/55A0PzFavcB tvYfb9D/GH0H/7V6tMacSjUlxARBXOILx8BmroMRH0qNWO19f0WFm9X/ojMworyvUibSybxlshzC7 vQqB6gDZYG+hwZtLasZ42qSsOfe1M+DBDuYlIS+TLITZsOM8g47PZLak2jvunjfhxGBpVO35zAMZW iIItrrLi4Wt3MSV9c0Wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIX6E-007cys-Lp; Fri, 11 Feb 2022 14:40:38 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIX6B-007cy2-61; Fri, 11 Feb 2022 14:40:36 +0000 X-UUID: 94a890f615ab44ee956d590c3f0fd565-20220211 X-UUID: 94a890f615ab44ee956d590c3f0fd565-20220211 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1666148234; Fri, 11 Feb 2022 07:40:31 -0700 Received: from MTKMBS34N1.mediatek.inc (172.27.4.172) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 11 Feb 2022 06:30:29 -0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS34N1.mediatek.inc (172.27.4.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 11 Feb 2022 22:30:26 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 11 Feb 2022 22:30:22 +0800 From: To: , , , , CC: , , , , , , xinlei lee Subject: [0/3] Cooperate with DSI RX devices to modify dsi funcs and delay mipi high to cooperate with panel sequence Date: Fri, 11 Feb 2022 22:30:14 +0800 Message-ID: <1644589818-13066-1-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220211_064035_236793_1F65CC56 X-CRM114-Status: UNSURE ( 4.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: xinlei lee In order to match the changes of DSI RX devices (for example, anx7625), the poweron/poweroff of dsi is extracted from enable/disable and defined as new funcs (pre_enable/post_disable). The delayed MIPI signal is pulled high from LP00 to LP11, in order to match the power-on sequence of the panel. Jitao Shi (3): drm/mediatek: dsi fine tune the dsi poweron flow drm/mediatek: dsi bridge implement pre_enable and post_disable drm/mediatek: keep dsi as LP00 before dcs cmds transfer drivers/gpu/drm/mediatek/mtk_dsi.c | 73 +++++++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 24 deletions(-)