From patchwork Wed May 16 16:51:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 136045 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1175335lji; Wed, 16 May 2018 09:54:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoK9AA//ROGJBLuluri2PGAFc/uh6uSoEo3dw0VyaRRwtj+5W92qqEgtie37IYWeXe18lWO X-Received: by 2002:a17:902:a616:: with SMTP id u22-v6mr1733630plq.186.1526489655312; Wed, 16 May 2018 09:54:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526489655; cv=none; d=google.com; s=arc-20160816; b=uiPPj4rLmMpM8CHRia6x5b5pK0DoqQ8fyYnTLaW4fMDPmHs0YlQ/S9TnJ2DjpHP1cF pzGg9C6gMQEBh8gTXI5wXdtwe9Ji+CjN8Zhh8flCXvX17FQt9du1zzglIaxIY6YhicKr XNzzvc/WGYaRX+nK4iZ0yxvD3QNbibFQD7UiRUAskuQsL6eJb7qp9NEpl/hugQGIhN2Y WbgHh8glqf8hhJRHgYxS0w/SsR7HcahgNkzrKgyHSYoLdGf/TeDtW3VGezTJhdfqjJF1 0P6u2A6RvRb9YSLk0XVv/imeTOfiT+MLQfUpwOVYV6Ul4IdaOyxOl/heT8tS7y+PaSXA ipTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=yptTub7FJ5tCbtZkeQlb/up+KhIvoHuEkUntLdsCsAc=; b=Of1y6WVBcDN2QjlFbfh7Pb53HmXGXM66Y0d674vKj+15SDbLQLkx+1BGd5ZSJFCogS Jlqbfybq1hCxZogmIE75Hw5EffalpalYhLPNzIRcYpSLQmm4+25XD7I74pLEHK+34oLP ixGf/Wv1gEQGf1IKy+77WgPQHekKJhgZ85PM2R/w7VYIvbUExqy9PBUOzQ0lXHuEPKwd /lmyII6YNyWc/CcF5gifFVMnUGVSAeMLqTwevCDxir1ZwA0MFgm3R4yIWbzZGoHKJZ9Q TQZ8oeLlBoutIB3z7S+M0hxaMd//gKefJ0jvLpTzZ8Cx8eNp/ianNbZ2NeeDv7XNBPcc ocyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XA/uBrR3; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b16-v6si2534096pgn.79.2018.05.16.09.54.15; Wed, 16 May 2018 09:54:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XA/uBrR3; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430AbeEPQyK (ORCPT + 5 others); Wed, 16 May 2018 12:54:10 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:33159 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751155AbeEPQyI (ORCPT ); Wed, 16 May 2018 12:54:08 -0400 Received: by mail-wr0-f195.google.com with SMTP id o4-v6so2204109wrm.0 for ; Wed, 16 May 2018 09:54:07 -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=E4lDnXLAr1lokfRTltHvC0OJOJ5rsLEbgIB6IjxX+Ow=; b=XA/uBrR34vt87Kuk90Iq88UE8qFx52Ssj30CNabyU0OdwuhluI8qnoeYAgOlLQIfS1 dq0TFMVgy9kPWBSg/tEQzvcseFiza7qEvp5PZHvxKqgVoW5Ih/XotpjYgDs0P8A+ifoe kp3VRTHOgcNHwE7mpUK2kHQ5kaDKbqfP2X7HU= 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=E4lDnXLAr1lokfRTltHvC0OJOJ5rsLEbgIB6IjxX+Ow=; b=fYoHGFWRMqhMePUsi/q4w3x/795758wqxd2Uav1wEJAFuVIIwtEObeDj3Z3NVdBYce 5iuPTkQTILJdahD6h/25vc/Tywjf0+nRCy+/0AistqZ0Rcu/691lu0PNjptpxir5BV6x flXanea36v5Lal25A2Gb5FBCeXObAQo6UjNH26RvFGwcbWD1Uiy5ZKOWhvuM3XC8fY3F b7eR831tbQA/nrldKu5ZehNmqLQcXH+49ZDz21QrUiw37E3lbjNCMyCwzqLmZowQj5+6 kzD11TYuUnHVTYzgi7pS1nngxpeICYCgnmzmdNHU4Bm08YV0BWka3J+13f2rzS8hdHQQ ZrxA== X-Gm-Message-State: ALKqPweK+XUfRiNR6PfShFu6UKfn9WiB/N+j0tEJeU+RLoCwZbreN1Ni sjxSzideD4aMojzG60osMPO1Qg== X-Received: by 2002:adf:9615:: with SMTP id b21-v6mr1411171wra.253.1526489647027; Wed, 16 May 2018 09:54:07 -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 a13-v6sm2786150wrn.6.2018.05.16.09.54.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 May 2018 09:54:06 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org, robh+dt@kernel.org Cc: 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, Srinivas Kandagatla Subject: [PATCH 1/2] slimbus: ngd: dt-bindings: Add slim ngd dt bindings Date: Wed, 16 May 2018 17:51:17 +0100 Message-Id: <20180516165118.16551-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180516165118.16551-1-srinivas.kandagatla@linaro.org> References: <20180516165118.16551-1-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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" + +- reg: + Usage: required + Value type: + Definition: must specify the base address and size of the controller + register blocks. + +- reg-names: + Usage: required + Value type: + Definition: must be "ctrl" + +- qcom,ngd-id + Usage: required + Value type: + Definition: ngd instance id in the controller +- 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>; + }; +};