From patchwork Fri Jun 1 09:11:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 137499 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp687110lji; Fri, 1 Jun 2018 02:14:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJrsxWYuicsdzKtafdjbd6ZezHiVr2eesNLLG/cLCzbbS259wEcd0WcaHoxFfFaVFk+Cju4 X-Received: by 2002:adf:b509:: with SMTP id a9-v6mr8020275wrd.191.1527844444669; Fri, 01 Jun 2018 02:14:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527844444; cv=none; d=google.com; s=arc-20160816; b=W2d+Q6egn8MDLnjHKeecxb9ehA4gPBO+R8lyA1Hj9/dMhHsNCAMD8zbDou3pdYilkU A8HiKYpELZ6YSATLS8wb2RC+7o8wBBzL8URMGBExzoOzBpKefEWLhq6D2H4qIrobWm4L J8f6M6TBoS9wM+Ywkpn8p3Mpk4UwwyMGYHqBXzFja4mjanJRajjAm8Sy8GvD/rX94McO pMKk/x2xApOOlZIcuiV9xEgpbFRGXNSYzHMaLfXCdlPR/AQhgR2A0IS7GZlas9t3tUW4 bXjxkOHO6/EhD30wQyEInLQ6fNjC6ekJI+UO9etjEIdmpyHS3PIZFxMuc7jdisCj4krE XTVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=atNGwfVo+TYjFXc/OSr9HnxEKL+qMcf2yyEMsQPfSGE=; b=KX0iQAJRHyzpkMMORLX7fDm/cjGDNh0b0PTvPGTu5URu3prafPu0V6iujwXyV/7kvD 6LgpqQvIz+dG3hrGoK52zFgFrW5Z40/6Sm2PViuSlF1uZoT18mF48AZJrCQrLRWqMCc/ 6UKouqy/vuQu0gswp3nUjOqDrFBBqtV2Mvz+yQUuzc+iO8kSZySpuTk95jVR9MufgRK9 ETWM70ugCC8DteCf7zWZWaJKgVVpFjAT6qHzU/jmkJ2uJdKNdKYoqR+dGo/wZQbjrf8+ GM+lGjQSN/ljqQBvMF4qnguYuAGI8TAocotAjewOr4X83sN0Lvx/Zs4+c2JUhRfMwzjg BibQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z1/MwJv1; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id s6-v6si14093376wrp.129.2018.06.01.02.14.04; Fri, 01 Jun 2018 02:14:04 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z1/MwJv1; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 9C34C2676CB; Fri, 1 Jun 2018 11:14:03 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6A0F02676CC; Fri, 1 Jun 2018 11:14:01 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by alsa0.perex.cz (Postfix) with ESMTP id 9FDF22676CA for ; Fri, 1 Jun 2018 11:13:59 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id m129-v6so1417896wmb.3 for ; Fri, 01 Jun 2018 02:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PJdsAyA3boANJ8Oig23dpaUGq6oUImWdAfDoOGWfLfE=; b=Z1/MwJv1tpQLTCV41oPC7J5PjxjBgmGClNaff5wfysywB8+Qkj1EVNKe+VPxkLs9+w r7o/Lutq68GDnvnQ5oERdPXojRx3g4zy1WocEOGDjIWeau/4jQBV9+TBdEtH2plf0Zj9 GM3UBHNRqWEjv3AkFq5jSOTezTH9NNXoZkUVQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PJdsAyA3boANJ8Oig23dpaUGq6oUImWdAfDoOGWfLfE=; b=cNLcfWnF8RSFM7NMbrE7McyuP8wq6CmMIhzpE2hxZBPKi0ATHjy1ya4a/uO3WC4dvz IkWkRmmlP+ozuow0VhyrZxdpaa9LKgZbVdEEw8UF7pTbhRTSjEAPHx/AB5qAOlRrYZM5 n0v0nTKpwe9jl41YPJMEDC4IKthTDorM/f7vmoiYczz3SpWLZCeIivPhslmwF8j+GGHg iEW8LbJB0iWlRI+ujvO2H3Z4g2ltromyrrfPNhg5is6NwFtd4FWSwPpa+hf77HA8+EXM v0JXAhprJMyByGerzSfxF/s0kl2gW6N2ivsRXirJWmPvdLw+e9QZ3kz2NnGQWQDqloVl irpQ== X-Gm-Message-State: APt69E2BehU/qU7vmdNpSb2M+Y8UVYMVNvAiWpVjELGIug9WyQAifttR Gph0aCpWfiZNDT1xNUNluK5J9Q== X-Received: by 2002:a1c:7409:: with SMTP id p9-v6mr1960169wmc.43.1527844439027; Fri, 01 Jun 2018 02:13:59 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id a69-v6sm1286182wma.7.2018.06.01.02.13.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Jun 2018 02:13:58 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Date: Fri, 1 Jun 2018 10:11:40 +0100 Message-Id: <20180601091141.26108-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180601091141.26108-1-srinivas.kandagatla@linaro.org> References: <20180601091141.26108-1-srinivas.kandagatla@linaro.org> Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, girishm@quicinc.com, linux-arm-msm@vger.kernel.org, broonie@kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, kramasub@codeaurora.org, nicolas.dechesne@linaro.org, Srinivas Kandagatla , sdharia@quicinc.com Subject: [alsa-devel] [PATCH v3 1/2] slimbus: ngd: dt-bindings: Add slim ngd dt bindings X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org This patch adds bindings for Qualcomm SLIMBus NGD controller. 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 Reviewed-by: Rob Herring Tested-by: Craig Tatlor Reviewed-by: Vinod Koul --- .../bindings/slimbus/slim-ngd-qcom-ctrl.txt | 84 ++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel 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..e94a2ad3a710 --- /dev/null +++ b/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt @@ -0,0 +1,84 @@ +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-v.." + must be one of the following. + "qcom,slim-ngd-v1.5.0" for MSM8996 + "qcom,slim-ngd-v2.1.0" for SDM845 + +- reg: + Usage: required + Value type: + Definition: must specify the base address and size of the controller + register space. +- 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 + Value type: + Definition: Should be 1, reflecting the instance id of ngd. + +#size-cells + Usage: required + Value type: + Definition: Should be 0 + += NGD Devices +Each subnode represents an instance of NGD, must contain the following +properties: + +- reg: + Usage: required + Value type: + Definition: Should be instance id of ngd. + +#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-v1.5.0"; + reg = <0x91c0000 0x2c000>; + interrupts = <0 163 0>; + dmas = <&slimbam 3>, <&slimbam 4>; + dma-names = "rx", "tx"; + #address-cells = <1>; + #size-cells = <0>; + ngd@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <1>; + codec@1 { + compatible = "slim217,1a0"; + reg = <1 0>; + }; + }; +};