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: 12541593 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 02B5BC433EF for ; Thu, 7 Oct 2021 11:08:35 +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 BD6E9610FB for ; Thu, 7 Oct 2021 11:08:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BD6E9610FB 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=LgWL/Ao8yHX/3RC8Gkv4I8gkEwMhPQR0QhWxmp99xqk=; b=XTzCknnfxUE8zZ WzWEi3MrX8pUu/1qXp84bbxRu7uH/tXPH4CnNMjFVYX6BLuz2DAukBaqb9H7FnvMOKNnRla4xeX1q hHmt+kRzn46p0wkJBOHMzPVFxHfhO25Uj0ChEW3VIsM9H/wD95PKeRmF5HIymkXMg0IY0EhE76U2E NX4s6bNjvCoYYEmSsChV6N0fzyQTqfBzRkEsI/udLysXEfDmEUrPfHcOGjLFk0eiZxNQudbeWrxG3 Ka3JGJCkuYTKyMt7yROMH7Q2iGQEL6+Nj8Uf9rJLxJ7wVlLhPptQfnw1QxYvjCro5Xzk/6Y1tHVr/ FwpA0KhHrNcxLa91Rwfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mYRDt-00H0R7-LL; Thu, 07 Oct 2021 11:06:01 +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-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 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, };