From patchwork Thu Oct 25 22:21:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10656731 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 BE73A14BB for ; Thu, 25 Oct 2018 22:22:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B28462C627 for ; Thu, 25 Oct 2018 22:22:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A68A12C62B; Thu, 25 Oct 2018 22:22:18 +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 4E5262C627 for ; Thu, 25 Oct 2018 22:22:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 69C146E3C3; Thu, 25 Oct 2018 22:22:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD1B16E3C1 for ; Thu, 25 Oct 2018 22:22:10 +0000 (UTC) Received: by mail-pf1-x443.google.com with SMTP id r64-v6so4876613pfb.13 for ; Thu, 25 Oct 2018 15:22:10 -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=mUTLNC4m4w91CHTqoAgeiiy9cnTlYaHM5XFwx8a4RBM=; b=iZRddgI/5Rvs0esg46dJdEiorbGwgYgm592kQIdDIbktUeacVpxae59GrmE2JzQt9h HTYEXZqKi11WhUnWRy8hC9c3wtg/GVMsHQJXxi1IMTJLKO2narwPpidOnU6eTdU2RN1n UEMVAcw8XB6Yb5eRH/rewRIW4iIJB6YsoINQg05pwxeUlD/0DqIY/GbiKZrmlstLBk/S xVFyd06XHudgzm0Q6rJpzZYKUiH/CdmyCM987fNXcWjKuLFKF3iGQzHMLNB3nNandYGQ dzXgk1EHUnSYXeUPJOV4PEABRDUPBJPdp6UTrj3EXq5iPC4he2Npypjc6qpujMO456ML pPnw== X-Gm-Message-State: AGRZ1gLQrIxIQ0FcyhX5dmV0RM7ZRDFWdofDVmUPAYROTUuf5XD3kbLD yGxfSBgGQJQR4/Lp+ViryCVGWg== X-Google-Smtp-Source: AJdET5eAmWwOpqlvNaQuJlA6+B/OvhGVojTC6uUiER7tFKGjFhb9dCQMXm7X69CgldH8dSmkRY+ruQ== X-Received: by 2002:a63:5ec6:: with SMTP id s189mr871280pgb.357.1540506130519; Thu, 25 Oct 2018 15:22:10 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:c8e0:70d7:4be7:a36]) by smtp.gmail.com with ESMTPSA id x73-v6sm19813778pfk.139.2018.10.25.15.22.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Oct 2018 15:22:09 -0700 (PDT) From: Douglas Anderson To: Sean Paul , Thierry Reding , Sandeep Panda Subject: [PATCH v2 3/6] drm/panel: simple: Add "no-hpd" delay for Innolux TV123WAM Date: Thu, 25 Oct 2018 15:21:31 -0700 Message-Id: <20181025222134.174583-3-dianders@chromium.org> X-Mailer: git-send-email 2.19.1.568.g152ad8e336-goog In-Reply-To: <20181025222134.174583-1-dianders@chromium.org> References: <20181025222134.174583-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 Reviewed-by: Sean Paul --- Changes in v2: - Use "hpd_absent_delay" property instead of a bool + prepare delay drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 687fd087b9fc..88592f9a0018 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1396,6 +1396,7 @@ static const struct panel_desc innolux_tv123wam = { .height = 173, }, .delay = { + .hpd_absent_delay = 200, .unprepare = 500, }, };