From patchwork Mon May 15 09:49:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuijing Li X-Patchwork-Id: 94063 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6795580vqo; Mon, 15 May 2023 02:57:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50Rh5d0CGNeQg03uI11SvthSpDesYws3Qe7n7tKIKRLP2kCdmr5bqAq6sh+0GW8YDSz/YA X-Received: by 2002:a05:6a20:7f83:b0:d5:73ad:87c2 with SMTP id d3-20020a056a207f8300b000d573ad87c2mr38381628pzj.56.1684144642521; Mon, 15 May 2023 02:57:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684144642; cv=none; d=google.com; s=arc-20160816; b=tC+pxMvA9iyfX20pUQ334Iv1IGFl+jfXPXO4x9XkCnodgI64qoBtA7BR+GFPOnVq6F EDRLb0mN+J06vHMRzWsHOcYnkHgxXJSgEz+G4cRUdLbRs2wjxA4F5lM4vBWXJCLmKTmY naPWWURp7Gy+mSPeUXq05gF2uRPkCkhLJKHcOWMYT7wAVsps1SlSN0JbFXWJ/dwf/Nzp S1yb77SMiX/Ag0mFfRR6LBcK33h1WL2NrtSKbBHzr5YVUmwIWx/T//hz1Q8sBU/G0B75 fOZiZbk3I91mTpIrU9uQTLY0qBaNmm1l28UASXQ/lrVwp257LP9vmjMSCL5ZMlfQSJYG Lp6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=y8+mgLP8tw6Gn815CsDCAAKOTV0JLl/QHPy8/G9qnF8=; b=rq159hqILdyY8YlzVr7crM6z7UfYJf4AxBWE/xwQDggepL/kgJZzwxOYFuMA0QY2mf Jts3+PK0NCSJt6JrIISwh/ohRAzoLg7BC1K+UJ7zWYKxn2W/rOflR2pqDCG//B11x9O5 1VRjB8AJkfBdmMcZHTaRtudnRs6tKemHGGYKHgUmDiUHi+oyEz34p1iPrLSRvr/6D2Z2 NTV1GbymHCcZG/9ZK11VQioyV9Y7BnagTvc7efGG2BRTUrq5p/sEOHmkIRuniDNifJuJ 1fUXFOrfZnTBcwtvubTwzkwAB3Hn1IohsYoe7qvit9pqI7DcmziIYngG9MaKQZokRnsN pZsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=TlE6gOay; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f24-20020a17090a4a9800b0024b91006d29si28119213pjh.48.2023.05.15.02.57.10; Mon, 15 May 2023 02:57:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=TlE6gOay; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239707AbjEOJuV (ORCPT + 99 others); Mon, 15 May 2023 05:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238441AbjEOJt4 (ORCPT ); Mon, 15 May 2023 05:49:56 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB188B6 for ; Mon, 15 May 2023 02:49:50 -0700 (PDT) X-UUID: d09687c4f30511edb20a276fd37b9834-20230515 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=y8+mgLP8tw6Gn815CsDCAAKOTV0JLl/QHPy8/G9qnF8=; b=TlE6gOayBgxvvPdj/ZpCAMHpS50Ce2YU9CUjX1Qx2zqYrFISiFk7zOyVvSUsgUE9v4JflUWA4EMDtQOCFezpeoqcO11e1LjVCrdJ56Dgwg9NNh0IcYGLT9f+GEc+SFWfNPl8QIDqqlj8nMgIyLMNvpFPpgMELzTRsouN855Ojn0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.24,REQID:5a0616d1-0f17-43bf-9d9f-15b970b9ed02,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:178d4d4,CLOUDID:5fa8343b-de1e-4348-bc35-c96f92f1dcbb,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: d09687c4f30511edb20a276fd37b9834-20230515 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 777524128; Mon, 15 May 2023 17:49:41 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.194) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Mon, 15 May 2023 17:49:40 +0800 Received: from mszsdhlt06.gcn.mediatek.inc (10.16.6.206) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 15 May 2023 17:49:40 +0800 From: Shuijing Li To: , , , , , , CC: , , , , , Shuijing Li , Xinlei Lee Subject: [PATCH v4 1/2] drm/panel: boe-tv101wum-nl6: Remove extra delay Date: Mon, 15 May 2023 17:49:54 +0800 Message-ID: <20230515094955.15982-2-shuijing.li@mediatek.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230515094955.15982-1-shuijing.li@mediatek.com> References: <20230515094955.15982-1-shuijing.li@mediatek.com> MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,RDNS_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765953652360457988?= X-GMAIL-MSGID: =?utf-8?q?1765953652360457988?= Reduce the delay after LCM reset by removing an extra delay in the initialization commands array. The required delay of at least 6ms after reset is guaranteed by boe_panel_prepare(). Signed-off-by: Shuijing Li Signed-off-by: Xinlei Lee Reviewed-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c index 783234ae0f57..a5652d38acda 100644 --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c @@ -780,7 +780,6 @@ static const struct panel_init_cmd inx_hj110iz_init_cmd[] = { }; static const struct panel_init_cmd boe_init_cmd[] = { - _INIT_DELAY_CMD(24), _INIT_DCS_CMD(0xB0, 0x05), _INIT_DCS_CMD(0xB1, 0xE5), _INIT_DCS_CMD(0xB3, 0x52),