Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp941870ybe; Fri, 13 Sep 2019 08:40:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhI/TfSy3/GCiFavAEKx1qFNaOmqdN+tYpgHOsG1r3Y4sc492Vih9e0PpdU2Qe67Cd7A0B X-Received: by 2002:a17:906:b249:: with SMTP id ce9mr39612297ejb.128.1568389219133; Fri, 13 Sep 2019 08:40:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568389219; cv=none; d=google.com; s=arc-20160816; b=fqgcsYaxzwhPLJYcAR+0oJpkhr3cw/kOPNY5jjA4gXLoxeB1lN5QtVbzozrW0CxXu3 hmmHN+gr97tF91pCnxdRt766lfMbzDv1NJo0UZ8BG1P1Me+Mg+xk2kigH0qWAOu87pcH ql9VdOctZSFhDnKwOg6qSChGjo0ovr9/v9e4/pgcBk6x6uVQie6yMF5qGcoELvnzH2fj h/jRHzwvkhZ18Gn2P9FOvmCNdRaXyGfd2Ls77VjXa2X/OY5JU6APW/LHeXDcd7Jib4v5 tKmB25giys8Eao8REnYYVBgk9WonR8BBwBpWyPGsHmqSHzZ/Cx8CA68+UH7kPRtfGMC4 Oj2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:subject:cc:to:from:date:message-id; bh=Z79bT51s8X9t468gxQ2+1ZKqbdd8xzju/Fxq/NSNMTo=; b=GDpB6M5qutRQweWwfwsIRlVkGh9GHvFBYeg5t42ayYOYaUMUkenxshYfAv7rLJRI4x yNBaSYtL7kFCk8vvj2I8ed/a12fhlyI6lfjkooN4Tb/V+qa+OqzxNVEnowqSqcyP9Eb8 fRGIhsIjShzUTVBwvDtVaC48Sf+WIeg/Rdxri2z4E+ep6CIk05d12IdYAvHVvXJtzEGA +S2LLP1Mm/TuKcROYA/KSmJPh+FXUyMVkbjQT8POp3SHdSsDLGCETagMQ+Y9X76znQYf 6uB2wLab9UDC38m/HZ0pJq76wSgsNaYAI86I6UIyP5VaRF74nc3jELFOtopx45fPFgfl JrGA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id br21si12718423ejb.62.2019.09.13.08.39.55; Fri, 13 Sep 2019 08:40:19 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730669AbfIMOgO (ORCPT + 99 others); Fri, 13 Sep 2019 10:36:14 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:46162 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730648AbfIMOgN (ORCPT ); Fri, 13 Sep 2019 10:36:13 -0400 Received: by mail-oi1-f196.google.com with SMTP id v16so2774568oiv.13; Fri, 13 Sep 2019 07:36:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:subject:references :mime-version:content-disposition:in-reply-to; bh=Z79bT51s8X9t468gxQ2+1ZKqbdd8xzju/Fxq/NSNMTo=; b=Jm+J5GkgwMCuUZ1KSyzH9i7NijIXZIl3spYFI92qz9iRF2aAUuBCmp9XCLZEEv+g/3 islda/JF+qAqnsOkpf//OLV2KrKKx6FzIiIKgI8uDRsF9UU/OdqDxPJ+wxumx17bbkuP r5EjQQGuIANZE1Z0wRr6AoLZ6Oeoytz1Z2bmvxZ/P8UHFYDS4uLAzTHiNfelxvg0tT7n PnKITcZBlqrN7zVp3Pac5x8heJQnsrGaacRcE3teqB9GcXSjGCAaPReIhspsRFIevp9m wr+ypXHC4huVsPpyCrlvrEgyOUnb8Z8qUUZj0o5Z4syhJ5JQjF7QWONCQBbrDLVgP5pQ btRg== X-Gm-Message-State: APjAAAXQd14hnP1olhry1Qk8tEjwDTqKxNenFsIKhwVntaHEWzgUHqNH A1v4oW/4pccExM7c2sK1AQ== X-Received: by 2002:aca:2402:: with SMTP id n2mr3696427oic.32.1568385373025; Fri, 13 Sep 2019 07:36:13 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id v6sm913643oie.4.2019.09.13.07.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 07:36:12 -0700 (PDT) Message-ID: <5d7ba95c.1c69fb81.edf8e.6556@mx.google.com> Date: Fri, 13 Sep 2019 15:36:11 +0100 From: Rob Herring To: Pradeep P V K Cc: adrian.hunter@intel.com, ulf.hansson@linaro.org, asutoshd@codeaurora.org, vbadigan@codeaurora.org, stummala@codeaurora.org, sayalil@codeaurora.org, rampraka@codeaurora.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland Subject: Re: [RFC 2/2] dt-bindings: mmc: sdhci-msm: Add Bus BW vote supported strings References: <1567774037-2344-1-git-send-email-ppvk@codeaurora.org> <1567774037-2344-3-git-send-email-ppvk@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1567774037-2344-3-git-send-email-ppvk@codeaurora.org> X-Mutt-References: <1567774037-2344-3-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 On Fri, Sep 06, 2019 at 06:17:17PM +0530, Pradeep P V K wrote: > Add Bus bandwidth voting supported strings for qcom-sdhci controller. What is bus bandwidth voting? > > 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..8255d92 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. How many? What are the strings? > +- qcom,msm-bus,name: string describing the bus path > +- qcom,msm-bus,num-cases: number of configurations in which sdhc can operate in > +- qcom,msm-bus,num-paths: number of paths to vote for > +- qcom,msm-bus,vectors-KBps: Takes a tuple , (2 tuples for 2 ib and ab are what? Didn't we just add interconnect bindings for expressing bandwidth? > + num-paths) The number of these entries *must* > + be same as num-cases. Are all these properties SDHCI specific or can we expect to get these for *all* the QCom blocks? > + > 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"; > + qcom,msm-bus,name = "sdhc1"; > + qcom,msm-bus,num-cases = <3>; > + qcom,msm-bus,num-paths = <2>; > + qcom,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 >