From patchwork Mon Jul 9 17:31:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10515323 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 F2EC6604D4 for ; Mon, 9 Jul 2018 17:32:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9CDB28DC4 for ; Mon, 9 Jul 2018 17:32:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD9C628DCC; Mon, 9 Jul 2018 17:32: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=-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 709AA28DCA for ; Mon, 9 Jul 2018 17:32:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933696AbeGIRcR (ORCPT ); Mon, 9 Jul 2018 13:32:17 -0400 Received: from mail-yb0-f194.google.com ([209.85.213.194]:44666 "EHLO mail-yb0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933619AbeGIRcQ (ORCPT ); Mon, 9 Jul 2018 13:32:16 -0400 Received: by mail-yb0-f194.google.com with SMTP id a2-v6so7493836ybe.11 for ; Mon, 09 Jul 2018 10:32:16 -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=W3A5eMfKlvVv+RdEDnfGs93+Wj66InJnZK1JGqVOdBM=; b=duQrCZrg012TgqCZLg76iR7N5CnEmMAP7V2sRW6NhS/QgeYsi+f1SYTmYmMyh0Q5JJ huajvLUarmoTXEeBgS8D8N0CfRRZbuOyRLa+ZE5cVuHzpf9SHBTeeJnasJujt8F0ANFz L8rq+SIdULUuH9/3iys53udrY3nldDA7LzOEk= 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=W3A5eMfKlvVv+RdEDnfGs93+Wj66InJnZK1JGqVOdBM=; b=X134AYh9parJYmbj0CY71lpQnho1luGkhYRtI7AzS39eaWaXoNrUBNWnsog/ymgYIP otvxShQV4oBwuzhTK7jv+h43raSiFgH+HVI6epWJ8fXj3m+M5maWNXzvzDMryav+ai2t j0zWJSogS5/Iz+EPa4t4Fx9spC6uSeIKmWwBUdn9ZZ99QnXU41HMiFX0X0PGvwR85J7I WHPscTOHvYheSHmyvwzaCw6bxqsoVtdH1QsdBSGv6+qDWU+UpdRp+BtEyScwqTg06fcR zG/qOZeR1lFnSyakJA/Lavthi+x+KAmA1F/Sgh5c0kryicT0vY2mtxQgfzVtkVoniEwm pwzg== X-Gm-Message-State: APt69E1mXDFcXfnzjMipq5iJAzWm/2UAef/Qj0POy+FewKtOh4OrIST1 3EnXA59HuSCpobTCWYnNsq4BsA== X-Google-Smtp-Source: AAOMgpfW1UpJ26a6r3N/G/ATHvWhUHBfxHtkJU5Gj9nYeVcfo4lwWxzn6OTsRhK3OvVDM9dDogD5YQ== X-Received: by 2002:a25:e406:: with SMTP id b6-v6mr8772920ybh.397.1531157535691; Mon, 09 Jul 2018 10:32:15 -0700 (PDT) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id s206-v6sm5885495ywc.55.2018.07.09.10.32.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 10:32:15 -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 01/21] dt-bindings: msm/dsi: Add mdp transfer time to msm dsi binding Date: Mon, 9 Jul 2018 13:31:37 -0400 Message-Id: <20180709173200.238457-2-seanpaul@chromium.org> X-Mailer: git-send-email 2.18.0.203.gfac676dfb9-goog In-Reply-To: <20180709173200.238457-1-seanpaul@chromium.org> References: <20180709173200.238457-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 Signed-off-by: Jeykumar Sankaran Signed-off-by: Rajesh Yadav Signed-off-by: Sean Paul Reviewed-by: Rob Herring --- .../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>;