From patchwork Fri Aug 13 02:06:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmV4LUJDIENoZW4gKOmZs+afj+i+sCk=?= X-Patchwork-Id: 12434531 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2F47C4338F for ; Fri, 13 Aug 2021 02:08:24 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 7B98C610A5 for ; Fri, 13 Aug 2021 02:08:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7B98C610A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=n/1sIRaYq3yEspzY29vlTm5u/scw4311XNec7UtLZrs=; b=fOdGDtWJJ8Brks KqZ2A5zCUwTMgD+kmU14TUv8yPZXGOD05hQNybGnogFLEBMSXicF1etZFcRhjDsdFx8hals8hLXtB lmzqzaT0bwhQ6tGkYr/10UFtzAhd3O/LSAfwqCrdV9AixwP8Hx/4OouLljuUkb7BUXRXChvrbIPq+ 8/idukoNUc07FuYYDfymf4qCn9e1oRbMnyht1nicbByOcad33jp2kwx6n1l+py/nf8LJ36/TGJYTr NI+sxQUA2fwBdGTcvQftXY8FDttM/6swiTiDuLXaYUv7ROuWLFaGkBhGa+qNQaLz40xPl9gyd7R/L TrBjqapAzJG/i9ksFCRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEMcC-00BZMh-9W; Fri, 13 Aug 2021 02:08:08 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEMbv-00BZLj-Ls; Fri, 13 Aug 2021 02:07:56 +0000 X-UUID: 1adb6ebfa62f4f04a88878ae9c5c6c33-20210812 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=80dhVomHVnERemXM9Jw/aX5/7ebRuoyuMlNjKPRseMg=; b=WzMoi/INcIcR/b5Mf81kpDlMHNTaT5wdM4eDt41cz0hhA81YFx1ry3UvglpVlsxgwguxBd7qwc9+pqQe9PzAEfhwg4tOW7SDx9xE48BFsbi2Epy1wSnmHCMNtq7gwfX5woTw7oaRI3TclK392Pi686kbufryh59N0PURCTpXWIw=; X-UUID: 1adb6ebfa62f4f04a88878ae9c5c6c33-20210812 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 790506678; Thu, 12 Aug 2021 19:07:38 -0700 Received: from mtkmbs05n1.mediatek.inc (172.21.101.15) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 12 Aug 2021 19:07:36 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 13 Aug 2021 10:07:35 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 13 Aug 2021 10:07:34 +0800 From: Rex-BC Chen To: , , CC: , , , , , Rex-BC Chen Subject: [V1] drm/panel: panel-simple: Add delay for LG LP120UP1 Date: Fri, 13 Aug 2021 10:06:30 +0800 Message-ID: <20210813020630.12052-1-rex-bc.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210812_190753_166422_7701DD41 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Add power sequence for LG LP120UP1. Signed-off-by: Rex-BC Chen --- drivers/gpu/drm/panel/panel-simple.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 21939d4..15cefb0 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2886,6 +2886,11 @@ static const struct panel_desc lg_lp120up1 = { .width = 267, .height = 183, }, + .delay = { + .prepare = 200, + .enable = 50, + .unprepare = 500, + }, .connector_type = DRM_MODE_CONNECTOR_eDP, };