Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1983572ybg; Fri, 5 Jun 2020 02:33:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXBopHzVnFgZ3k+vBhaz6qyAcoS+B2JJjvp6zCtBLtdKoEJxsJ1WIbkbam8dz86ZM1wqtH X-Received: by 2002:a50:eb01:: with SMTP id y1mr8412858edp.85.1591349601519; Fri, 05 Jun 2020 02:33:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591349601; cv=none; d=google.com; s=arc-20160816; b=i93lUU64UbulTJOwuZJrDUuGUjXv2TbDl+gljEFOgNau5Ij86LpvsjgOfuEBf/iACr yUDnP6IjT7NR1kNfuXQouiwVGzm1slpU6IEzeCRNqpgGTdv6UrTjdYYN+513btXXnvNz RiGzTfqJrx3xHvyjCgB8zY6zNxxUTyfwS1O9p6KvpozJEVEZ2p9rIM4nDMMegDgwaH98 RMQNrDxnIhCB7a1pjDa5R3xDzTsuj2O6rfnaYCS7W8qBo99Dhfrmb30w3P9ZT/0syqLL RFkdNoWep9ysWZy0lcsk/b+lSmUeDRAX7sWgTxoloMtBWjN/Tq01sGrEBszC9ShopXtp qZTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=av2rcr4loO1jsByhGOOQNyPy0rDaihUdHSmS1tBYRsE=; b=pFRrdNOyaehiKNybmKteXMosxQ1hmnE2fJCHlPbRoGlM/KXRywQY+TpretQD+SnoqL Rv6jxQ9lk0kXtRSGUZxd2szeUNpjGWloLE8Xrq0IDRA7VLET136lFzglBy5AQm4sgwoU i1ngWKM+3vCbZLC5GdZ35hcpOOUIh3lZeTdpuTCkuh8BuWz4Xmb2r4DMbTKr2rkBUyJB Gd/pVIOxjxF1CXIjHh+1UtiPP9gsyhixN/VjYm0Le68h+H0HNWSE4hNZ6rREzmeV1yeR VHqd9I7fMw66ovU/O0ciCWPHj3mpv/HfGX6pVejF0KhZW5mYUeQT78KnvtQNKVTwtYZ9 Vzag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx27si3147930edb.158.2020.06.05.02.32.58; Fri, 05 Jun 2020 02:33:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726255AbgFEJbH (ORCPT + 99 others); Fri, 5 Jun 2020 05:31:07 -0400 Received: from alexa-out-blr-01.qualcomm.com ([103.229.18.197]:26194 "EHLO alexa-out-blr-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726217AbgFEJbG (ORCPT ); Fri, 5 Jun 2020 05:31:06 -0400 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by alexa-out-blr-01.qualcomm.com with ESMTP/TLS/AES256-SHA; 05 Jun 2020 15:01:01 +0530 Received: from c-ppvk-linux.qualcomm.com ([10.206.24.34]) by ironmsg01-blr.qualcomm.com with ESMTP; 05 Jun 2020 15:00:34 +0530 Received: by c-ppvk-linux.qualcomm.com (Postfix, from userid 2304101) id D7F7E48CC; Fri, 5 Jun 2020 15:00:33 +0530 (IST) From: Pradeep P V K To: bjorn.andersson@linaro.org, adrian.hunter@intel.com, robh+dt@kernel.org, ulf.hansson@linaro.org, vbadigan@codeaurora.org, sboyd@kernel.org, georgi.djakov@linaro.org, mka@chromium.org Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-mmc-owner@vger.kernel.org, rnayak@codeaurora.org, sibis@codeaurora.org, matthias@chromium.org, Pradeep P V K Subject: =?y?q?=5BPATCH=C2=A0V3=202/2=5D=20dt-bindings=3A=20mmc=3A=20sdhci-msm=3A=20Add=20interconnect=20BW=20scaling=20strings?= Date: Fri, 5 Jun 2020 15:00:27 +0530 Message-Id: <1591349427-27004-3-git-send-email-ppvk@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1591349427-27004-1-git-send-email-ppvk@codeaurora.org> References: <1591269283-24084-1-git-send-email-ppvk@codeaurora.org> <1591349427-27004-1-git-send-email-ppvk@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add interconnect bandwidth scaling supported strings for qcom-sdhci controller. Signed-off-by: Pradeep P V K Acked-by: Rob Herring Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt index b8e1d2b..3b602fd 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt @@ -54,6 +54,21 @@ Required properties: - qcom,dll-config: Chipset and Platform specific value. Use this field to specify the DLL_CONFIG register value as per Hardware Programming Guide. +Optional Properties: +* Following bus parameters are required for interconnect bandwidth scaling: +- interconnects: Pairs of phandles and interconnect provider specifier + to denote the edge source and destination ports of + the interconnect path. + +- interconnect-names: For sdhc, we have two main paths. + 1. Data path : sdhc to ddr + 2. Config path : cpu to sdhc + For Data interconnect path the name supposed to be + is "sdhc-ddr" and for config interconnect path it is + "cpu-sdhc". + Please refer to Documentation/devicetree/bindings/ + interconnect/ for more details. + Example: sdhc_1: sdhci@f9824900 { @@ -71,6 +86,9 @@ Example: clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>; clock-names = "core", "iface"; + interconnects = <&qnoc MASTER_SDCC_ID &qnoc SLAVE_DDR_ID>, + <&qnoc MASTER_CPU_ID &qnoc SLAVE_SDCC_ID>; + interconnect-names = "sdhc-ddr","cpu-sdhc"; qcom,dll-config = <0x000f642c>; qcom,ddr-config = <0x80040868>; -- 1.9.1