Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1065329imm; Wed, 23 May 2018 09:42:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr5uWZrHjbIztxTVwx6c7Uu9ouhE7QIqzLDmRAJH1mU6BJFTVIi4Y4AkRAYMFY2ci6TcI8y X-Received: by 2002:a17:902:5952:: with SMTP id e18-v6mr3717024plj.351.1527093745514; Wed, 23 May 2018 09:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527093745; cv=none; d=google.com; s=arc-20160816; b=xAbWah0dUV9va0EvP/cL56dfUgc1GFVQE/UEIm8Pd3XMacQ0+3vqIk2w0BMQ+Lnnu2 hNakggH62eIUi6yFh9Rjc7J/Nd5ZIZoLO+lGWv8297yw7slM6pB8C59rHHJaRvLQWid8 xTKsVKJVIirX2S118DFRxkLfoagqYO+8es2Y4eFwDhBeqm26QkADDxv8zgZZgPSLBz1k txyQAd1UoHV+ezLRuz7UzJns68jjvvg4AMrgLuoFHXdT49rZVziPDTb0s7sGeoAqbAz4 KoncZMCqZB8IQ5TLQWJIGwFSZJi0aVrxUAHUR1KaJWRAW3vvkW6YJTIL6znH4iy7NUA8 2BMg== 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:arc-authentication-results; bh=JY5ALSlnR2OXtPlQVZBnp9YCg/CF6sqbgXS16p5a8HY=; b=x2SklCB5tZS8T83YWAceyTEk9m1SfUlWGz3QLjHSgs/0qj6KyiNi0kHmvW5prWj8NE KYyHIu6NKDXDEo/S0kkVGclMX+qlo7ETxLzYd9v32yt/3XSXW4rkeGyuMmCZU3+s+GhG 4Cm+Q2Co+WvmNLvzGiJrHvNcr8H/hbITHXU4XWhl0kyz8u04Qw4f0tapJvQgZWYHasVG QBpfupLe4CzuOulVXEDEeEaL/oCTNrIHxEibVe+pP+5UbgSBsbCLMEovPaog2fPTG2Lm Sl8n+Nj8zTzls7NTvzcKx3RaMmqAwfeffDi60S4gPZkI9ltoqPRFQOpzJLCJwWVxbLE7 HGDg== 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 32-v6si15556240plg.586.2018.05.23.09.42.10; Wed, 23 May 2018 09:42:25 -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 S933770AbeEWQke (ORCPT + 99 others); Wed, 23 May 2018 12:40:34 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:39769 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932578AbeEWQk0 (ORCPT ); Wed, 23 May 2018 12:40:26 -0400 Received: by mail-pf0-f193.google.com with SMTP id a22-v6so10769005pfn.6; Wed, 23 May 2018 09:40:26 -0700 (PDT) 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=JY5ALSlnR2OXtPlQVZBnp9YCg/CF6sqbgXS16p5a8HY=; b=KlyePh62S9MNH3vFsFArJsOJex/5dB6kNZep96Axw+yWyhMwgzlAcuaxFvz5gvYEJ6 CslLO5E2/N7lwtIXn+XF36AooV41tSEscx1IHtrVeEUpCn8FfWDeCuoKSOAaxLoiDW9P 40OY0EDEXFgf4bRb1EzEgsVcgqoeB4Toxy4sUUNfF7SbGDKlWHyle8rEYQUVeuOPzz2f EdbyJ/TsTDu7Ty9Dc3BJW4lQiBt00H8xYLCY6Mz1lNexVMh9JjFq+sRfzKf/40+2IsPo oG3XkAfXTQGRMI4UnhONMP2koEc9VBPJuEREn6rqNKK4M2vvcA5sCQtlOTeiaIKwVL7Z m5JA== X-Gm-Message-State: ALKqPwclpnQVIH14ZGx4mNMaMHVKOt+5DvTcJAh9hGUS/SoVWro2qkCp UQ/RjMCXi8F6LfYkau9apA== X-Received: by 2002:a62:89db:: with SMTP id n88-v6mr3580654pfk.11.1527093626130; Wed, 23 May 2018 09:40:26 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id k63-v6sm52401275pfk.90.2018.05.23.09.40.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 09:40:25 -0700 (PDT) Date: Wed, 23 May 2018 11:40:23 -0500 From: Rob Herring To: Srinivas Kandagatla Cc: gregkh@linuxfoundation.org, kramasub@codeaurora.org, sdharia@quicinc.com, girishm@quicinc.com, linux-kernel@vger.kernel.org, mark.rutland@arm.com, bgoswami@codeaurora.org, devicetree@vger.kernel.org, broonie@kernel.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 1/2] slimbus: ngd: dt-bindings: Add slim ngd dt bindings Message-ID: <20180523164023.GA24671@rob-hp-laptop> References: <20180516165118.16551-1-srinivas.kandagatla@linaro.org> <20180516165118.16551-2-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180516165118.16551-2-srinivas.kandagatla@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 16, 2018 at 05:51:17PM +0100, Srinivas Kandagatla wrote: > This patch adds bindings for Qualcomm SLIMBus NGD controller found in > all new SoCs starting from B family. > SLIMBus NGD controller is a light-weight driver responsible for > communicating with SLIMBus slaves directly over the bus using messaging > interface and communicating with master component residing on ADSP for > bandwidth and data-channel management > > Signed-off-by: Srinivas Kandagatla > --- > .../bindings/slimbus/slim-ngd-qcom-ctrl.txt | 70 ++++++++++++++++++++++ > 1 file changed, 70 insertions(+) > create mode 100644 Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt > > diff --git a/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt b/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt > new file mode 100644 > index 000000000000..c948fb098819 > --- /dev/null > +++ b/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt > @@ -0,0 +1,70 @@ > +Qualcomm SLIMBus Non Generic Device (NGD) Controller binding > + > +SLIMBus NGD controller is a light-weight driver responsible for communicating > +with SLIMBus slaves directly over the bus using messaging interface and > +communicating with master component residing on ADSP for bandwidth and > +data-channel management > + > +Please refer to slimbus/bus.txt for details of the common SLIMBus bindings. > + > +- compatible: > + Usage: required > + Value type: > + Definition: must be "qcom,slim-ngd" SoC specific compatible needed. > + > +- reg: > + Usage: required > + Value type: > + Definition: must specify the base address and size of the controller > + register blocks. blocks? Is there more than one? If so, how many? > + > +- reg-names: > + Usage: required > + Value type: > + Definition: must be "ctrl" reg-names is pointless when there is only 1. > + > +- qcom,ngd-id > + Usage: required > + Value type: > + Definition: ngd instance id in the controller Why do you need this? > +- dmas > + Usage: required > + Value type: > + Definition: List of rx and tx dma channels > + > +- dma-names > + Usage: required > + Value type: > + Definition: must be "rx" and "tx". > + > +- interrupts: > + Usage: required > + Value type: > + Definition: must list controller IRQ. > + > +#address-cells > + Usage: required > + Refer to slimbus/bus.txt for details of the common SLIMBus bindings. > + > +#size-cells > + Usage: required > + Refer to slimbus/bus.txt for details of the common SLIMBus bindings. > + > += EXAMPLE > + > +slim@91c0000 { > + compatible = "qcom,slim-ngd"; > + reg = <0x91c0000 0x2C000>; > + reg-names = "ctrl"; > + interrupts = <0 163 0>; > + qcom,ngd-id = <1>; > + dmas = <&slimbam 3>, <&slimbam 4>; > + dma-names = "rx", "tx"; > + > + #address-cells = <1>; > + #size-cells = <1>; > + codec@1 { > + compatible = "slim217,1a0"; > + reg = <1 0>; > + }; > +}; > -- > 2.16.2 >