From patchwork Fri Jul 20 20:42:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10538277 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0E940604D3 for ; Fri, 20 Jul 2018 20:43:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED92828E91 for ; Fri, 20 Jul 2018 20:43:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDEA528EA5; Fri, 20 Jul 2018 20:43:26 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 808B528E91 for ; Fri, 20 Jul 2018 20:43:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727984AbeGTVdV (ORCPT ); Fri, 20 Jul 2018 17:33:21 -0400 Received: from mail-yb0-f195.google.com ([209.85.213.195]:46921 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727736AbeGTVdV (ORCPT ); Fri, 20 Jul 2018 17:33:21 -0400 Received: by mail-yb0-f195.google.com with SMTP id c3-v6so5111783ybi.13 for ; Fri, 20 Jul 2018 13:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=svjmGAFzuVahUvc3Z7deAOHZxdF+SocMtq3LDpC/39k=; b=gX/y/wYZDk5ttXS07RJGkA+wBbJFq0wYlbq/74iHtlSKIA3FmlgLC5vSSOdhRv+3Jt iJWYqDbkUB9rleVnJmiYJ2aaYLmY4FgEhSAkgVYlp9ekgAfKeFAK5mVcN0BqkKJNnr2O 5xImONAwfFGtEcgl2qt3E7IpNCeYSpY6v8diM= 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; bh=svjmGAFzuVahUvc3Z7deAOHZxdF+SocMtq3LDpC/39k=; b=orosGonyvGe53RXMz7rbPbym1qJjVyUdz6mUMRfLzc2377GyyWPzIRwma3EvzVl3uT FDyZ/vPfa2bKQ3sbZ4LsAgYWJ5WMxmh3MTZIXFr/GxAuLW3Mt1X9jok8D5Uv3gwu/tlf 8EtylKGsGWw5YRqdR47NgDOiqwxQXX3xgNjOKJ4q0WwzxaI1WmxqXKyKa6PC1yynpFy0 6iGZuPY41mOCaiDR4+R0dLt8ZLLoVsZLf5wqY/ht4W2NXEer8FEUOzB2eF85VpNx5fcD 3xDDRhXYtgS/ofcsLs7sXfedfbirYC1ijmFS5f8FK8J93J9cdWW/y+qC0GaLoNzgFz94 SGWw== X-Gm-Message-State: AOUpUlGKyVYFJaUUDqxFD0Y0DDuJcJsYHkgxLTnPTOggkmV6xjDqLDbx YEIW3Ze52Axz/ZjuQANe6Y5viw== X-Google-Smtp-Source: AAOMgpc1ZNr98JmQl4kmRwuE0dh9apl7Do0q4a0alJB0VlMaloucHU63gbvVnpQZrkz1jIf1Uk0UAA== X-Received: by 2002:a5b:601:: with SMTP id d1-v6mr1882193ybq.295.1532119404996; Fri, 20 Jul 2018 13:43:24 -0700 (PDT) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id a2-v6sm2453831ywm.7.2018.07.20.13.43.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jul 2018 13:43:24 -0700 (PDT) From: Sean Paul To: abhinavk@codeaurora.org, architt@codeaurora.org, chandanu@codeaurora.org, jsanka@codeaurora.org, jcrouse@codeaurora.org, ryadav@codeaurora.org, seanpaul@chromium.org, skolluku@codeaurora.org, dri-devel@lists.freedesktop.org, robdclark@gmail.com, airlied@linux.ie, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, nganji@codeaurora.org, hoegsberg@chromium.org, dovizu@chromium.org, robh+dt@kernel.org Cc: Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v3 01/19] dt-bindings: msm/dsi: Add mdp transfer time to msm dsi binding Date: Fri, 20 Jul 2018 16:42:52 -0400 Message-Id: <20180720204315.19054-2-seanpaul@chromium.org> X-Mailer: git-send-email 2.18.0.233.g985f88cf7e-goog In-Reply-To: <20180720204315.19054-1-seanpaul@chromium.org> References: <20180720204315.19054-1-seanpaul@chromium.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jeykumar Sankaran Adds mdp transfer time to msm dsi binding Changes in v3: - Added Rob's R-b Reviewed-by: Rob Herring Signed-off-by: Jeykumar Sankaran Signed-off-by: Rajesh Yadav Signed-off-by: Sean Paul --- .../devicetree/bindings/display/msm/dsi.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/dsi.txt b/Documentation/devicetree/bindings/display/msm/dsi.txt index 518e9cdf0d4b..d22237a88eae 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi.txt +++ b/Documentation/devicetree/bindings/display/msm/dsi.txt @@ -121,6 +121,20 @@ Required properties: Optional properties: - qcom,dsi-phy-regulator-ldo-mode: Boolean value indicating if the LDO mode PHY regulator is wanted. +- qcom,mdss-mdp-transfer-time-us: Specifies the dsi transfer time for command mode + panels in microseconds. Driver uses this number to adjust + the clock rate according to the expected transfer time. + Increasing this value would slow down the mdp processing + and can result in slower performance. + Decreasing this value can speed up the mdp processing, + but this can also impact power consumption. + As a rule this time should not be higher than the time + that would be expected with the processing at the + dsi link rate since anyways this would be the maximum + transfer time that could be achieved. + If ping pong split is enabled, this time should not be higher + than two times the dsi link rate time. + If the property is not specified, then the default value is 14000 us. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt [2] Documentation/devicetree/bindings/graph.txt @@ -171,6 +185,8 @@ Example: qcom,master-dsi; qcom,sync-dual-dsi; + qcom,mdss-mdp-transfer-time-us = <12000>; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&dsi_active>; pinctrl-1 = <&dsi_suspend>;