From patchwork Mon Oct 22 20:46:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10652515 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 6F5F713A4 for ; Mon, 22 Oct 2018 20:48:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4B8D28CA4 for ; Mon, 22 Oct 2018 20:48:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A891428CAC; Mon, 22 Oct 2018 20:48:43 +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 47BFD28CA4 for ; Mon, 22 Oct 2018 20:48:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 21F8E89BFE; Mon, 22 Oct 2018 20:48:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5B0C589BF8 for ; Mon, 22 Oct 2018 20:48:41 +0000 (UTC) Received: by mail-pl1-x641.google.com with SMTP id o19-v6so3827167pll.12 for ; Mon, 22 Oct 2018 13:48:41 -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:mime-version :content-transfer-encoding; bh=9quqmV2lX7vsdq6jXIqD+prLue7GJEdsIfV8n4tr2kY=; b=F/YZCkWXsIlkhg7JofWWABVsMWjmSR7KqBr3OMRkSUcLFLNko71/9KW3CrnWmbzV6s D9ukVenR5u5vDl65vWng4KWmgJHBLjFLAfNPMTdS7ASolpRgHiNVEceXFwHYRWGj0rwi HyC7kgqkC1wo3tRoGc6nRuXUiBHODUXoxVDWeVKH9a5DxU/3SsX0GSd1e3JtQ3W/tKJu 6ITElN7987a7tDtqGRKVyTgF1jXfZNbY1gWNFMNnbvxR5P5AUdMlaxxr4BLXG5lDq+yx megn2KMJT2IqMGILZWhxIlwGBt7xHoTm+4fI+wJ7FprnCYvYsZXppb9cKRLyAhN3NXfW 60Qg== X-Gm-Message-State: ABuFfoig8C6YUv3MGYPU1fg8v7lfatd4AV4kKeI5KnaoIA/QEDErw8bK 2nqQEJt4/mcdLVajK/VQvb2gyA== X-Google-Smtp-Source: ACcGV62f5GWRKT8OaC7N91FNyB2dMUhTVxo7qO1KXtmQpiW7n1IDqjZbkw22D02ZCJOAF2gOra6+AA== X-Received: by 2002:a17:902:2909:: with SMTP id g9-v6mr40887098plb.223.1540241319754; Mon, 22 Oct 2018 13:48:39 -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.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Oct 2018 13:48:38 -0700 (PDT) From: Douglas Anderson To: Sean Paul , Thierry Reding , Sandeep Panda Subject: [PATCH 1/6] dt-bindings: drm/panel: simple: Add no-hpd property Date: Mon, 22 Oct 2018 13:46:34 -0700 Message-Id: <20181022204639.8558-1-dianders@chromium.org> X-Mailer: git-send-email 2.19.1.568.g152ad8e336-goog 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: Mark Rutland , devicetree@vger.kernel.org, David Airlie , linux-arm-msm@vger.kernel.org, Douglas Anderson , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Rob Herring , ryandcase@chromium.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Some eDP panels that are designed to be always connected to a board use their HPD signal to signal that they've finished powering on and they're ready to be talked to. However, for various reasons it's possible that the HPD signal from the panel isn't actually hooked up. In the case where the HPD isn't hooked up you can look at the timing diagram on the panel datasheet and insert a delay for the maximum amount of time that the HPD might take to come up. Let's add a property in the device tree for this concept. Signed-off-by: Douglas Anderson Reviewed-by: Sean Paul Reviewed-by: Rob Herring --- .../devicetree/bindings/display/panel/simple-panel.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/simple-panel.txt b/Documentation/devicetree/bindings/display/panel/simple-panel.txt index 45a457ad38f0..b2b872c710f2 100644 --- a/Documentation/devicetree/bindings/display/panel/simple-panel.txt +++ b/Documentation/devicetree/bindings/display/panel/simple-panel.txt @@ -11,6 +11,9 @@ Optional properties: - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing - enable-gpios: GPIO pin to enable or disable the panel - backlight: phandle of the backlight device attached to the panel +- no-hpd: This panel is supposed to communicate that it's ready via HPD + (hot plug detect) signal, but the signal isn't hooked up so we should + hardcode the max delay from the panel spec when powering up the panel. Example: