From patchwork Thu Oct 7 11:05:47 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: 12541583 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82BBFC433F5 for ; Thu, 7 Oct 2021 11:06:14 +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 F318361130 for ; Thu, 7 Oct 2021 11:06:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F318361130 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=TYRY1VYpcS53DhBDiU5fLnlU/sDl8TSnunfBmMAR/uw=; b=lnmNN3N0ha/KC3 8R4N7mMMoULxYpkh0cJhCpTnfc2vCdJ6LJjG/lXQkxzEEf1bI/yOmqEJy601idXVDF1ootk2MdeEl iiRVPWDTjbYK/ZhJFlAzUiL/4lqE22bx6Yr3b3X0zVMpyIi6Sj7WW+nyXO+O6Y1fFUYlBftfTKWMI zEAhKo207rCflv/thQMem4qIfEhTEDm/4r1nkth9dx4uoEXMTI7a9kbDbjyTtY21fXanxKvnh/I8N ezItvHHd2GhEP+qN+2VOUpGCw3I92n8szMZ7ejOdPvYeWEy2F2a1sZKju+W6I1HYMtc7YVmCw4kxk 9fZbM0fmC4tjAuUKnRbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mYRDr-00H0Qr-TY; Thu, 07 Oct 2021 11:05:59 +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 1mYRDo-00H0Q5-Do; Thu, 07 Oct 2021 11:05:59 +0000 X-UUID: f3318882ccf244cd83ba51325ec225d0-20211007 X-UUID: f3318882ccf244cd83ba51325ec225d0-20211007 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1915797872; Thu, 07 Oct 2021 04:05:52 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 7 Oct 2021 04:05:50 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 7 Oct 2021 19:05:49 +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; Thu, 7 Oct 2021 19:05:49 +0800 From: Rex-BC Chen To: , , , CC: , , , , , Rex-BC Chen Subject: [v2] drm/panel: panel-simple: Add delay for LG LP120UP1 Date: Thu, 7 Oct 2021 19:05:47 +0800 Message-ID: <20211007110547.455-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-20211007_040556_493489_E58F0B69 X-CRM114-Status: UNSURE ( 9.31 ) 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 9b6c4e6c38a1..9f6544450b56 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3045,6 +3045,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, };