From patchwork Tue Jun 19 16:13:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 139199 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5397771lji; Tue, 19 Jun 2018 09:13:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIVczhWEulwtnis8SSA9S6BVUxK5yTygrmNAWgx/ko/+9CcSwfZatRds13Rim+jGR2FigMO X-Received: by 2002:a1c:58d1:: with SMTP id m200-v6mr13297681wmb.160.1529424831123; Tue, 19 Jun 2018 09:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529424831; cv=none; d=google.com; s=arc-20160816; b=s6LaPqPh+r90A97L15VNsOoTETqVtl4dQELc6RH1gqPwSd2Bf0mV16UbcYddcA3U1v 4Nq8Pbd/rVFYIlv0ugH/XRQQwAI7jAowdgUKv5iCGw+doP6l5UGJ7dqNKBqPnev6FKyb 1Ll3pJT+gO++/F8Vlir+m00+H8mHKt2blhu10vSjkg4zVjhiyCs5dsnHe/RimtU4yVGD keua9Xp7IX7aMAa7FUs1h3b2rURUbxps4Xo4GpDjbJmeOOEAtGyHW9kn/fFml2T5KWZy 4ZoAyFR9Hroi+bxCcXrrbOw5k7DF7BsXqMP8ZAOk0diX2FPocdFQ9RcUiOnYoJnOLANB uVhw== 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=IdGYx8xH4TaQShhdH1e3gfFS0Y38IAwD4FZpzbfJd/VS1K22qoKPIEB1/93gISmnIa B6/H6VnEPkCsvw8gXSJfKAW3incnW0xHJyti1VHvzukSnVq+5a5LcJoPR1P4xm/PTUV1 CZQoO5wVMRVqQNQA5Hy2ZcoC+FqxzdpZ2jUWeNL1fBJcK8iFkn1m8PWxhBhF8pVevJXi tF8ITacz3SuaT7NUJ+uRmUCsofRzSMWfIFVUrw6ZfKMzJ+lnKNtcfyGS6qVZJWkurCUB tVkx2p9USVU9gvVocxnR3r+3hR+YOYrsAnaDbsjB8N+j3ZiviJyE/SSiPXTIQBch9Ef/ yBYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ghs8WsKz; 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 p9-v6si64184wrg.306.2018.06.19.09.13.50; Tue, 19 Jun 2018 09:13:51 -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=ghs8WsKz; 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 6632D2676FE; Tue, 19 Jun 2018 18:13:24 +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 086AF2675EC; Tue, 19 Jun 2018 18:13:12 +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_H2,SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by alsa0.perex.cz (Postfix) with ESMTP id 2D4FC266D4C for ; Tue, 19 Jun 2018 18:13:10 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id l10-v6so258410wrn.2 for ; Tue, 19 Jun 2018 09:13:10 -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=ghs8WsKz1qg3X17IJAAOgGVu3bkBS3d/CF2oSzS04FPZR8GX3W2LJ3e5Qp8anIP+hm OQo2dM7eow0wrmgzZnpBoZy7kXuXG0bgdxO5coQw24It9KQhmKuRgq59JpYHT7AwRXex RXFTUMHCIPn0DtDtTQnCpnzBzavCiopp0lujk= 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=HnH1jOaRrZs0MotCEwNS4AeLkZnRx4AF6vgUJN1sQQ5xH0CrRbthcoyvN4iz2hr2/H yty44t4C6JMOeWonP8qYnrzxZnL516hYQDe1s1fiLB/OhAYhmsX+3A8E19JwrewmVC99 Vj7+eEdPT0s0bucjX9UKvN358j3A++no2lDohBa/P9mbeHv5AQOg1GFjYb6y76BGwGKR 52l4WcHWEXxLAY9ZMURBpy1CBmFBVqX2K4tjt1uNLgUWa1TJcCl0ghrZ5K2g+ttO1919 jid/iy+hHuqtgEa1qutVjvqytMLde9c4a+FvKEM/MnepzmJexWrRf0zs4V9BRKkSz9W1 6soQ== X-Gm-Message-State: APt69E2GpuqpYuhJJgOxqOpvoGef8Qsq/CaK2mmw7mxH2l7d59+0uwQb iY5ynHCOzCS3uy0gfAsmZfEO0g== X-Received: by 2002:adf:afe3:: with SMTP id y35-v6mr16031859wrd.176.1529424790628; Tue, 19 Jun 2018 09:13:10 -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 r5-v6sm47248wrp.59.2018.06.19.09.13.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jun 2018 09:13:10 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Date: Tue, 19 Jun 2018 17:13:00 +0100 Message-Id: <20180619161301.4556-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180619161301.4556-1-srinivas.kandagatla@linaro.org> References: <20180619161301.4556-1-srinivas.kandagatla@linaro.org> Cc: alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, broonie@kernel.org, kramasub@codeaurora.org, Srinivas Kandagatla , sdharia@quicinc.com Subject: [alsa-devel] [PATCH v4 4/5] 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>; + }; + }; +};