Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp4715919imc; Mon, 25 Feb 2019 09:40:27 -0800 (PST) X-Google-Smtp-Source: AHgI3IZeV/BKZ2sK5Pi20zxdT1C2ofXuUwR3T5h6qIZUvziGaILWhL8snTR/cM0K7qOwh/bX4jpr X-Received: by 2002:a63:8048:: with SMTP id j69mr19977372pgd.432.1551116427210; Mon, 25 Feb 2019 09:40:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551116427; cv=none; d=google.com; s=arc-20160816; b=C+zvbEJfeqNtgMH6FuXydNFIp+3WYtjG2xIXXvfirQPG2Vo9afiqJfzV/vt6HeUxQW sNAcW3HlfSnx/FK+zy/ka+H7mrOk4QNb5AxOIYkaxInWQTkDSJ4is1NUPTOA/+uISEs+ 8i9UhgqvbBZRh6v4/ZgHW1M7le25m6fheveF1LnZbMXvTfELY8PNeB9BnZg9MMqFP95i UGxs3dkfA6b1UgOTNexSZLO4QLJlJw0a1sFjk70t8lwW/o7rtupAqL9LG/QG31Q1otlf zI8oOF8Z0bI4u432gQSFFvEyPPyx0FvP2oRWJeFNbEgCV6JEC6AimLaHe/FeBzEmy4g5 EbCA== 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 :content-language:in-reply-to:mime-version:date:message-id:autocrypt :openpgp:from:references:cc:to:subject:dkim-signature; bh=EP73t9niexugmVLGxxDvOP8RKBRTJ0JEVc4EokqAYoA=; b=H8YWUhVyAN/az76VdXVnE2reLg/G/Kc7EcsTGJYa97fpI5QR+XILKpTtcblkUAX2WB oLUJ+hwont+ctOjbV+79G4/bOBZ9eu1OWP3sQkMnkrEAg2Nd6+/6LOP4FU9XimqyU2oz fkdWBgve+sAvOiUXhTM65pD2fjLZyg12Vuj2p3O8Gy59hOSnCJUnWf6rz466k+Ms7QNS xgTdF8omzZUpFAmD8zIp39r0AjvujdfUiSabLPphrD/AOifDO1j6K7noRfmp5ApGDoF7 p5UUF4tjFz3AWd5huLJc/DH8bi04OA0EsPkfNap9xdtgfAOpzLUYTfSnF5EGfQUQF6wy 2Vdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ELLgaTsA; 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 g1si10301223pld.197.2019.02.25.09.40.11; Mon, 25 Feb 2019 09:40:27 -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; dkim=pass header.i=@linaro.org header.s=google header.b=ELLgaTsA; 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 S1728767AbfBYRjn (ORCPT + 99 others); Mon, 25 Feb 2019 12:39:43 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34542 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726719AbfBYRjm (ORCPT ); Mon, 25 Feb 2019 12:39:42 -0500 Received: by mail-wr1-f66.google.com with SMTP id f14so10927537wrg.1 for ; Mon, 25 Feb 2019 09:39:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=EP73t9niexugmVLGxxDvOP8RKBRTJ0JEVc4EokqAYoA=; b=ELLgaTsAHGr1gArpOBWvDQKio4ZsTrsFRYkNqjS2PnCLYNkfb3sjE+36NDGgZGSK1i RdgOWNbdUC11k6+Zi6S3hSSKtHgSroVkB1xdyBf1ik41e/ptO0wxfqYL3K06YePVhc+/ ZCwC9UX6tGW8LVArrhBm1ON9dXJueYap8je4P+LO585mZ7I+Q39V5/9Qd5hCKybmOJtJ s3hSEGE0AYd0Etf7rnqUXL7ZQZnhxJaFxyZYiDMPxGw7YjSS4/GVloDbyrpsHcm43hT4 gkIZj9oDQdkjQClOPLsFXlO3jG28vP+r1FKiVl4whbMwIKzO9zIg0fS9KW/MP4Pj8Nf5 NOzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EP73t9niexugmVLGxxDvOP8RKBRTJ0JEVc4EokqAYoA=; b=fbL7sNwOKxrcGJWKhqycfrXSgFeo6+XcZtg3JNXndz/cnP4/YAdHHvIcCJgxeEg7ay nhLWP2VxJ0T/71lqwJXS5hBNYl5qPwGLRVi69Gt4Sl+6fujo27WTZST1zVAcWUTCjCl6 ask7embn04LDi4JFhdMHZzWzyxd59XG9dHJYjNGbWv3fu0hHv/GgP4GkCXTqLApL+WhR WMOYXnwSaJN8qRjObQXSNpmPkglm+FM89UWsmFl/75Zd+NyfmMdERKrKqDER00NztZNh EbvmzFmcs0F7UMRW0FZmQZX700yG3xKEu//4rMcHURSckubEMAkLSWeGKrtGQzBA/BaK Aw6A== X-Gm-Message-State: AHQUAuasQlpwSgpo5iozNG7RYrTERQ/a3AIkWoKdxg9SWsco9Alxko/E Pui27+HmcAHug2SooHFdWMTlmg== X-Received: by 2002:a5d:4149:: with SMTP id c9mr13866684wrq.58.1551116379880; Mon, 25 Feb 2019 09:39:39 -0800 (PST) Received: from [10.44.66.8] ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id 132sm26928016wmd.27.2019.02.25.09.39.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Feb 2019 09:39:39 -0800 (PST) Subject: Re: [PATCH 1/6] dt-bindings: soc: qcom: Add interconnect binding for GENI QUP To: Rob Herring Cc: Bjorn Andersson , Alok Chauhan , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-spi@vger.kernel.org, linux-serial@vger.kernel.org, Andy Gross , David Brown , Mark Rutland , dianders@chromium.org, swboyd@chromium.org References: <1548138816-1149-1-git-send-email-alokc@codeaurora.org> <1548138816-1149-2-git-send-email-alokc@codeaurora.org> <20190123170758.GB512@tuxbook-pro> <5ca1ce61-c458-5550-f89d-ab361f1ec456@linaro.org> <20190223002655.GA6631@bogus> From: Georgi Djakov Openpgp: preference=signencrypt Autocrypt: addr=georgi.djakov@linaro.org; prefer-encrypt=mutual; keydata= mQINBFjTuRcBEACyAOVzghvyN19Sa/Nit4LPBWkICi5W20p6bwiZvdjhtuh50H5q4ktyxJtp 1+s8dMSa/j58hAWhrc2SNL3fttOCo+MM1bQWwe8uMBQJP4swgXf5ZUYkSssQlXxGKqBSbWLB uFHOOBTzaQBaNgsdXo+mQ1h8UCgM0zQOmbs2ort8aHnH2i65oLs5/Xgv/Qivde/FcFtvEFaL 0TZ7odM67u+M32VetH5nBVPESmnEDjRBPw/DOPhFBPXtal53ZFiiRr6Bm1qKVu3dOEYXHHDt nF13gB+vBZ6x5pjl02NUEucSHQiuCc2Aaavo6xnuBc3lnd4z/xk6GLBqFP3P/eJ56eJv4d0B 0LLgQ7c1T3fU4/5NDRRCnyk6HJ5+HSxD4KVuluj0jnXW4CKzFkKaTxOp7jE6ZD/9Sh74DM8v etN8uwDjtYsM07I3Szlh/I+iThxe/4zVtUQsvgXjwuoOOBWWc4m4KKg+W4zm8bSCqrd1DUgL f67WiEZgvN7tPXEzi84zT1PiUOM98dOnmREIamSpKOKFereIrKX2IcnZn8jyycE12zMkk+Sc ASMfXhfywB0tXRNmzsywdxQFcJ6jblPNxsc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gEpjnFsPsyFebzcKGbdEr6vySGa3Cof+miX06hQXKe99a5+eHNhtZJcMAIO89wZmj 7ayYJIXFqjl/X0KBcCbiAl4vbdBw1bqFnO4zd1lMXKVoa29UHqby4MPbQhjWNVv9kqp8A39+ E9xw890l1xdERkjVKX6IEJu2hf7X3MMl9tOjBK6MvdOUxvh1bNNmXh7OlBL1MpJYY/ydIm3B KEmKjLDvB0pePJkdTw== Message-ID: <9318130e-0c2c-c1c1-6ad1-b8bc8ec0c223@linaro.org> Date: Mon, 25 Feb 2019 19:39:34 +0200 MIME-Version: 1.0 In-Reply-To: <20190223002655.GA6631@bogus> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/23/19 02:26, Rob Herring wrote: > On Wed, Jan 23, 2019 at 08:41:20PM +0200, Georgi Djakov wrote: >> Hi, >> >> On 1/23/19 19:07, Bjorn Andersson wrote: >>> On Mon 21 Jan 22:33 PST 2019, Alok Chauhan wrote: >>> >>>> Add documentation for the interconnect and interconnect-names bindings >>>> for the GENI QUP as detailed by bindings/interconnect/interconnect.txt. >>>> >>>> Signed-off-by: Alok Chauhan >>>> --- >>>> Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.txt | 10 ++++++++++ >>>> 1 file changed, 10 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.txt >>>> index dab7ca9..44d7e02 100644 >>>> --- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.txt >>>> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.txt >>>> @@ -17,6 +17,12 @@ Required properties if child node exists: >>>> - #address-cells: Must be <1> for Serial Engine Address >>>> - #size-cells: Must be <1> for Serial Engine Address Size >>>> - ranges: Must be present >>>> +- interconnects: phandle to a interconnect provider. Please refer >>>> + ../interconnect/interconnect.txt for details. >>>> + Must be 2 paths corresponding to 2 AXI ports. >>>> +- interconnect-names: Port names to differentiate between the >>> >>> s/Port names/Path names/ >>> >>>> + 2 interconnect paths defined with interconnect >>>> + specifier. >>> >>> These two names are significant in that they must match what the driver >>> expects, hence you must actually specify them here. >>> >>> And as the scope of these strings are local to the QUP node you can omit >>> "qup" from them, so make them "memory" and "config" (or perhaps iface, >>> to match the clock naming?). >> >> Actually there was a discussion in the past where we decided include >> both the src and dst endpoint names in this property so that there is >> some symmetry with the "interconnects" property. It would be nice to be >> consistent across different drivers at least for now. >> If we want to denote the master and slave ports here, my two cents would >> be for "qup-mem" and "cpu-qup" or something similar? > > Well, there's a proposal from Maxime to add 'dma-memory' or something. > You all need to sort this out. Agree. I haven't commented on the latest MBUS patches yet. Meanwhile i am trying to get a better understanding of the hardware. In general if there are no better suggestions, i am fine with adding a specific name to handle this kind of dma transfers. > I assume config or cpu-qup is for register access? Why is this needed? > That should get described thru the DT tree. The interconnect stuff was > supposed to be for the non-cpu centric view (i.e. DMA masters). Maybe > it's fine, but that's not my initial reaction. Yes, cpu-qup should be for register access. Alok, please correct me if i am wrong, but I believe this is a separate bus used only for configuration access to some HW blocks. This bus might be disabled by default and we may need to request some bandwidth in order to enable it. It's described as a separate path in DT and we are trying to give it a meaningful name. Thanks, Georgi