Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp2034149imc; Fri, 22 Feb 2019 16:27:37 -0800 (PST) X-Google-Smtp-Source: AHgI3IaoXI+m3cIgCRGSlydRQq1WUOWHj7kVNlcccgB+SmUNpoasUQZ9Bhcu6zyaHpaoD5JxOgIM X-Received: by 2002:a65:62ca:: with SMTP id m10mr6506505pgv.6.1550881657162; Fri, 22 Feb 2019 16:27:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550881657; cv=none; d=google.com; s=arc-20160816; b=Tuk9RzV4hYahmMtS4Yv1qmeTX4KKeC73KyNLPgPu2T5dhWu+8ENM9IZdou9Rw3Ryko qScv2CJ/+Z5wFY9Hnj2DbhYlVHaJ0WlUabrTZW40Ex7o/ZNxjGgD/1cCfyymLeZe9hGe fElGvofYjGRgtnHraILszaWwlT5u/koQsooMOeYgZYir3tVTqdzs6lyUu+w12eKzf0ey abZdfyf3EmNJV5JGlyJXMcxp7WXLxehIP4GiJNYZp6OcE9jaUVsQ/FnUtFga6t6Mg6F1 BZs22tHLlErU82cPtYKnYqAypOkTQX8JMAxqUW0zeVmeuc7E7AJbU+kFBbcDcd03wIK5 mDdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=rkTyld8FXlYaOrIXKcaXrW4TiYfGon6V/Ep0+e07DbY=; b=lwAy587hBBeqmrOI7bc2hErm77CTqLFpEvUx0oedOxbTkwSn1XEuDztGHpiI/eOETO +q/9PW3Z2mAzsC7J4xLt0PV7lYp90a2T+hDSCMiJM2JDweauJQKOAtQihC0AwrlBjRjD Mj+93jrMueRoCOKTBeE69x42kOyGsUl04q41iJpswotLo/vQqM8lS0aU+5QmZfmGhrcS bU7FTsrvXOwmqgYahPFRmx1sKHZo0ObnySewcmor3vgy56KMM3Hhg82aZ0TPEK7u5rb9 2Yy5aDye5+CceXcrNvUfM9MFyIRkdxsJ0g+na3pepZxmp2Ou3V+nzGy3WAxKhTNRhiIb Imjw== 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 g5si2539019plt.77.2019.02.22.16.27.19; Fri, 22 Feb 2019 16:27:37 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726826AbfBWA06 (ORCPT + 99 others); Fri, 22 Feb 2019 19:26:58 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:34339 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbfBWA05 (ORCPT ); Fri, 22 Feb 2019 19:26:57 -0500 Received: by mail-oi1-f193.google.com with SMTP id g16so3172527oib.1; Fri, 22 Feb 2019 16:26:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rkTyld8FXlYaOrIXKcaXrW4TiYfGon6V/Ep0+e07DbY=; b=jA5SlmjpuRXtxZw/y3CzmB3E/6YPnEJh4287B3W0tj+mxKmWttpho97P+ads6YRu7g COukOOdYtI43hk6o09lW3OtK5KxPfDxQ2gqrKk+Y1J5EWRAFUZqXeykbNV/VTuDn3rFz zbZm6kXX8EPgHWAkiaE/Iy9werFuerqXvO1FGabOTVl0ASjU0NhihefRrs1PwNkvsqCw DQAmIw1zOcwku7WthOrkdF+4gLnCKXVdRpySb0XaKIIgTLO92Fl1roaTGmyl8iQwLjwU z13+LzqjyGGz3k17Z4PJnShQiBFgGEd0/jjw4dsqw3r0fwlXWWlg2xzF20XJPLu+g9U1 +QIQ== X-Gm-Message-State: AHQUAuYvVtNM7HFdjGZPstFGGWLSaIrP5nytIWJ6Dvy0IYQ1WqQdf/xH ekCqy/t91YRbHv559ZCuzw== X-Received: by 2002:aca:3906:: with SMTP id g6mr4283241oia.149.1550881616409; Fri, 22 Feb 2019 16:26:56 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 97sm1325575otc.25.2019.02.22.16.26.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Feb 2019 16:26:55 -0800 (PST) Date: Fri, 22 Feb 2019 18:26:55 -0600 From: Rob Herring To: Georgi Djakov 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 Subject: Re: [PATCH 1/6] dt-bindings: soc: qcom: Add interconnect binding for GENI QUP Message-ID: <20190223002655.GA6631@bogus> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5ca1ce61-c458-5550-f89d-ab361f1ec456@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. Rob