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: 941499 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="duQrCZrg"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41PXTG3QsWz9rxs for ; Tue, 10 Jul 2018 03:32:18 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933672AbeGIRcR (ORCPT ); Mon, 9 Jul 2018 13:32:17 -0400 Received: from mail-yb0-f195.google.com ([209.85.213.195]:38327 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933573AbeGIRcQ (ORCPT ); Mon, 9 Jul 2018 13:32:16 -0400 Received: by mail-yb0-f195.google.com with SMTP id i9-v6so7493980ybo.5 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=m8quoa1M0KQ4VNOrHyqUzfB0vWRWSuNiNGD5glsjyLfEAgGmEJFi98B6z/SSKLEpek f5SV1DzqN6T0VQOAqcXPlv4nuI7bRLSFnvRnY9OGsqRVV2ST8AR5XBOGFwVWMWQrK6hM 2UvxLpVLO8D5GdpQYZ1FSGFDLVj2MoH3GcqyPHJg8T0DAFOyYYeEqKl4yAdx79WV9GJh EJSgZwBiuIQO3gpHnUc3oJBWenZBbm/LHXgpvvMYjz8TCI3PMYkyv1Sr23npo2jCJQw2 03qIUUTfXJ84lgrRrqziLkzYO2YDPnhSo1l05vUIYOjk7kC0Obay7lIEyR7Yye3irVCD uR2Q== X-Gm-Message-State: APt69E0mWVX0xYw1WTDXU2onZRSXMPDq92OE2WL9orveMGfKnQLF7dqq PeGNjW12GnY7tOUWoqn7hi96FQ== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>;