From patchwork Mon Oct 22 20:46:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10652533 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AAF6214DE for ; Mon, 22 Oct 2018 20:49:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F042A28CB5 for ; Mon, 22 Oct 2018 20:48:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4C8C28DA0; Mon, 22 Oct 2018 20:48:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A174528CB5 for ; Mon, 22 Oct 2018 20:48:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CC8E089CE0; Mon, 22 Oct 2018 20:48:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id 71BD689C56 for ; Mon, 22 Oct 2018 20:48:43 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id s3-v6so6349590pga.12 for ; Mon, 22 Oct 2018 13:48:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VBL7kzRm+AuhpncrtwVUlUGI2jFAGP9j8c7KtXaIcaE=; b=TfVYA2fEwRVlmBN4/csO75ngb/wdsqRmpCGLKhZU4G5HtXv+hHaT8eQ8wbyY3eal0B sAC8V4cIMXoSj6gnu+kdC7xjDR7lk0UCGSfhO8MafH/Tr1mqHkAeFbGuHrRYZKwLqtSf mfEJk9BG9TZh1t4K+HGllW4XHdYbcVsclKttuYD+0UMP+DEktVU1O+wO4asid5QtiB9j e3KAYvTwy2upThv7CWpGm0PWecsVX7zfDfsypXWDWOoFrxk+yIwHaA8BNaZnjdC22bYG QWcB7G2cKtLQsRc1QXc1Dvnp4wI0BX+TgMMYmNNo/EeqCcDlJSrCWG2cCMUdUhP2N8+0 c3nA== X-Gm-Message-State: ABuFfoiJdqiSHDI0AI44P0DUTiSPfrtf/pBRvNaoe4fEwOGUnaXvIHEM aQZAlSAtZapKlaziSUl4qV7mMA== X-Google-Smtp-Source: ACcGV63YMycIoSi70RRH3/rYbV0oT9IDSrQ1DcBsrtc4nxcveSax6GMLdak4HCfvGACQDSF1ADW7GQ== X-Received: by 2002:a62:75c7:: with SMTP id q190-v6mr47491226pfc.137.1540241322852; Mon, 22 Oct 2018 13:48:42 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:c8e0:70d7:4be7:a36]) by smtp.gmail.com with ESMTPSA id y144-v6sm47483001pfb.81.2018.10.22.13.48.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Oct 2018 13:48:42 -0700 (PDT) From: Douglas Anderson To: Sean Paul , Thierry Reding , Sandeep Panda Subject: [PATCH 3/6] drm/panel: simple: Add "no-hpd" delay for Innolux TV123WAM Date: Mon, 22 Oct 2018 13:46:36 -0700 Message-Id: <20181022204639.8558-3-dianders@chromium.org> X-Mailer: git-send-email 2.19.1.568.g152ad8e336-goog In-Reply-To: <20181022204639.8558-1-dianders@chromium.org> References: <20181022204639.8558-1-dianders@chromium.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-arm-msm@vger.kernel.org, Douglas Anderson , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, ryandcase@chromium.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP If the HPD signal isn't hooked up to this panel we need a 200 ms delay. In the datasheet this is shown as the maximum time that HPD will take to be asserted after power is given to the panel. Signed-off-by: Douglas Anderson --- drivers/gpu/drm/panel/panel-simple.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 38c646fb55fd..937e97490c30 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1393,6 +1393,8 @@ static const struct panel_desc innolux_tv123wam = { .height = 173, }, .delay = { + .prepare = 200, + .prepare_delay_only_if_no_hpd = true, .unprepare = 500, }, };