Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp155727ybh; Wed, 11 Mar 2020 23:03:53 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt59+L4PsOuvr0EP/a4LgqwfudbUjmbM8VnMs4xC3NhvIJCkGx6JzW5OAolJHnQhfkRhNk+ X-Received: by 2002:a9d:6946:: with SMTP id p6mr5068828oto.224.1583993033301; Wed, 11 Mar 2020 23:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583993033; cv=none; d=google.com; s=arc-20160816; b=qYAqdLB1w3PnaPjVhEY4OdyIoOC4vGYbvKM7CHJzeoq1Oxj3ECxJlVLCOq5V4hfm7S LqX62Ayu1Z0ol+9pnAMMAbh+CL5iSvcHJMUdoOqdPdlXYEorYRiBWAxv79mvGzWIZmLH /AEho4AHP4GQOTXKynb/gMEZs/IWGscjGiip3wSkrgnzReTnbSKvo8ktMh1us7jmYxUJ lWtWbZbQ/utDFBXpTDYnv8ryhGq3K4Z98xHDjrVjTkSz+MlhUqLoE2A7FR/4ooV2W2Vs tHR7aqRuOoGj+m3eTczFDCy4LCqn3M/yrJPInOrdf7mRy4CDArFLPkGeVoszh0HWOZt5 AjPw== 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; bh=C09XBNCyfjtBZRVFfxwFgHvbPh2hFDDN3Z6CR7GZcAE=; b=TicU+HMHP+pSmLX11LBOTux1mwv4o8uC9hrB8HG+M0tFo1wjEHKxahCxOo8L65da1t OKO5FVtXlBWw322sAL7xbf3hxQY5evGw0LbHT0VCr3O+7UHrb0OrFSD2IUuGILAeujGz 52Iah4Q0VHxPSoQybH1wPb6ZdUhSgYOU+Eh1oodb8BwemoUumwp5Zs+Q8Qnik1YY6xxB 8ciKO3Sr7UX1vzTTmONnLOQ30aMKby0y6DIeaNtrDFQVKyIQ/OKP5GpslxyBezREa/lX YmAUDIIt3IqLmkLCX4mNK5ptfCOWdHLxoUI63wVIFFqRC/4BunXzy70Xu/0oambRaT5G BchA== 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 l13si2217197oil.161.2020.03.11.23.03.39; Wed, 11 Mar 2020 23:03:53 -0700 (PDT) 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 S2387897AbgCLGDT (ORCPT + 99 others); Thu, 12 Mar 2020 02:03:19 -0400 Received: from alexa-out-blr-02.qualcomm.com ([103.229.18.198]:20487 "EHLO alexa-out-blr-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387865AbgCLGDS (ORCPT ); Thu, 12 Mar 2020 02:03:18 -0400 Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by alexa-out-blr-02.qualcomm.com with ESMTP/TLS/AES256-SHA; 12 Mar 2020 11:32:29 +0530 Received: from c-ppvk-linux.qualcomm.com ([10.206.24.34]) by ironmsg02-blr.qualcomm.com with ESMTP; 12 Mar 2020 11:32:01 +0530 Received: by c-ppvk-linux.qualcomm.com (Postfix, from userid 2304101) id 0D48D4D32; Thu, 12 Mar 2020 11:32:01 +0530 (IST) From: Pradeep P V K To: bjorn.andersson@linaro.org, adrian.hunter@intel.com, robh+dt@kernel.org, ulf.hansson@linaro.org, asutoshd@codeaurora.org, stummala@codeaurora.org, sayalil@codeaurora.org, rampraka@codeaurora.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, agross@kernel.org, linux-mmc-owner@vger.kernel.org, Pradeep P V K Subject: [RFC v5 2/2] dt-bindings: mmc: sdhci-msm: Add interconnect BW scaling strings Date: Thu, 12 Mar 2020 11:31:51 +0530 Message-Id: <1583992911-12001-3-git-send-email-ppvk@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1583992911-12001-1-git-send-email-ppvk@codeaurora.org> References: <1583992911-12001-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 interconnect bandwidth scaling supported strings for qcom-sdhci controller. Signed-off-by: Pradeep P V K Acked-by: Rob Herring Reviewed-by: Bjorn Andersson --- RFC v4 -> v5: - No changes. 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 5445931..9eafc41 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt @@ -46,6 +46,21 @@ 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 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 { @@ -63,6 +78,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"; }; sdhc_2: sdhci@f98a4900 { -- 1.9.1