Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2535479ybx; Fri, 8 Nov 2019 05:46:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxVvjS8KPpNRry89WbaF/lTgtk8pwEAjmsug229wmADdoXYqTYopf01zIi6A92M+88B5Y5m X-Received: by 2002:a50:a2e5:: with SMTP id 92mr4194202edm.195.1573220794932; Fri, 08 Nov 2019 05:46:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573220794; cv=none; d=google.com; s=arc-20160816; b=E7ughwUpp9xacPn7zPkrZTCKcA8eAoAs8bGvSQ4+LSgebsGEGSDO9XBv2HGRE1cPn2 KgVfDPQ+YgB+cl7RRnayYr/2tCznxrYrhmb4m/hRdzBjs20qYeE5FFEDZjHpH/HWj+MQ wrURKJweTs4Ff2q1nIpK7GU5giUcYOzcG6wQOJUDdYV4eJkWyNfCTI7S76W+y9aObI3n F3zV/HUsdVEiEa2X1B7JGBZm6/nxwOa6i+9nxKtCfeaEhZzeqERYysFB5Q4Ju9fy2Ctk qsGtrCPU5sIafcuU43j7moTlDawaWojxpEDEdwDO6Br907+MRpOMKR+bfuV7i4I41o9b v5iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr; bh=lC9r6vZh6fI7HcEKQ9wPXq9CYh32fgFace6aTZpL4Kc=; b=DKj/3Joz3ApVKSQaINUjPn6DmqaCpwagUvyVygUwOL3TUigZuwjL346Ek3Wx86edhP PksjAsD0vLzev6dxwS3d1pfk/q6WptP4/KDyQyVPOMFvnKYlgOnEBOtaZft7fbyJ9wNh FMDe15vg0bztGUShcF+46L4JGJc++FT8nsHQPwV323jFFGG2OAMTxYirx2fRnR5ujDQY 6vC63SnoP5YhafNMdUyW2FFJSJ4tfARF3UwPQVW4MRy98fKGLcF9TTzcbFhuZ8KgUhX+ t1JPz+gLcQmqsXTDQiOaO/aZ47JsjGimot8yNc2ZgQlRGpcmNSN4FKdNDXuQmCH6lUrK 4Dgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ce9si3414272ejb.213.2019.11.08.05.46.10; Fri, 08 Nov 2019 05:46:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726804AbfKHNpg (ORCPT + 99 others); Fri, 8 Nov 2019 08:45:36 -0500 Received: from alexa-out-blr-02.qualcomm.com ([103.229.18.198]:11767 "EHLO alexa-out-blr-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726101AbfKHNpf (ORCPT ); Fri, 8 Nov 2019 08:45:35 -0500 X-Greylist: delayed 368 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 Nov 2019 08:45:33 EST Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by alexa-out-blr-02.qualcomm.com with ESMTP/TLS/AES256-SHA; 08 Nov 2019 19:09:24 +0530 IronPort-SDR: NWkI7rgL15orLupgRLT1GeV9BYDxTslGyQtTOhFGy4B+0G3VzwbWz4Re9HT5IIqunHcrUkYa+o bpcDX/OMf84FkvdTEAmN5/L2mmiwJplaCRgC8/PBNDfl51QnOKcxlu242AQZ8oEiCIUlyCAWYj Bz7e59YhBrYNhb+KK5tqE9gwjuqHr/VNUL0cFXuaeF164X/UtxTivynR1jt81ozGSDPTVkkXsT +tVSJzn1smua0TMXo83+FBlkYFdJomJEu4nL+0tzAaoG+Q8EIcauNPy6No0c6YbRP3HWSO2nec sP2JpV3JtjVYi5w6cT/N+WMA Received: from c-ppvk-linux.qualcomm.com ([10.206.24.34]) by ironmsg01-blr.qualcomm.com with ESMTP; 08 Nov 2019 19:09:00 +0530 Received: by c-ppvk-linux.qualcomm.com (Postfix, from userid 2304101) id C56B34949; Fri, 8 Nov 2019 19:08:58 +0530 (IST) From: Pradeep P V K To: adrian.hunter@intel.com, georgi.djakov@linaro.org, robh+dt@kernel.org, ulf.hansson@linaro.org, asutoshd@codeaurora.org, vbadigan@codeaurora.org, stummala@codeaurora.org, sayalil@codeaurora.org, rampraka@codeaurora.org, sboyd@kernel.org Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, agross@kernel.org, linux-mmc-owner@vger.kernel.org, Pradeep P V K Subject: [RFC-v2 1/2] dt-bindings: mmc: sdhci-msm: Add Bus BW vote supported strings Date: Fri, 8 Nov 2019 19:08:38 +0530 Message-Id: <1573220319-4287-2-git-send-email-ppvk@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1573220319-4287-1-git-send-email-ppvk@codeaurora.org> References: <1573220319-4287-1-git-send-email-ppvk@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Bus bandwidth voting supported strings for qcom-sdhci controller. Signed-off-by: Pradeep P V K --- .../devicetree/bindings/mmc/sdhci-msm.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt index da4edb1..22fb140 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt @@ -39,6 +39,25 @@ Required properties: "cal" - reference clock for RCLK delay calibration (optional) "sleep" - sleep clock for RCLK delay calibration (optional) +Optional Properties: +* Following bus parameters are required for bus bw voting: +- interconnects: Pairs of phandles and interconnect provider specifier + to denote the edge source and destination ports of + the interconnect path. Please refer to + Documentation/devicetree/bindings/interconnect/ + for more details. +- interconnect-names: List of interconnect path name strings sorted in the same + order as the interconnects property. Consumers drivers will use + interconnect-names to match interconnect paths with interconnect + specifiers. Please refer to Documentation/devicetree/bindings/ + interconnect/ for more details. +- msm-bus,name: string describing the bus path +- msm-bus,num-cases: number of configurations in which sdhc can operate in +- msm-bus,num-paths: number of paths to vote for +- msm-bus,vectors-KBps: Takes a tuple , (2 tuples for 2 + num-paths) The number of these entries *must* + be same as num-cases. + Example: sdhc_1: sdhci@f9824900 { @@ -56,6 +75,19 @@ Example: clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>; clock-names = "core", "iface"; + interconnects = <&qnoc 50 &qnoc 512>, + <&qnoc 1 &qnoc 544>; + interconnect-names = "sdhc-ddr","cpu-sdhc"; + msm-bus,name = "sdhc1"; + msm-bus,num-cases = <3>; + msm-bus,num-paths = <2>; + msm-bus,vectors-KBps = + /* No Vote */ + <0 0>, <0 0>, + /* 50 MB/s */ + <130718 200000>, <133320 133320>, + /* 200 MB/s */ + <1338562 4096000>, <1338562 4096000>; }; sdhc_2: sdhci@f98a4900 { -- 1.9.1