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: 10404455 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6464860155 for ; Wed, 16 May 2018 16:54:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53D30204BF for ; Wed, 16 May 2018 16:54:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47CF6285AB; Wed, 16 May 2018 16:54:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AB24204BF for ; Wed, 16 May 2018 16:54:23 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 0A453267625; Wed, 16 May 2018 18:54:12 +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 205102673A4; Wed, 16 May 2018 18:54:10 +0200 (CEST) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by alsa0.perex.cz (Postfix) with ESMTP id A5AC8267332 for ; Wed, 16 May 2018 18:54:07 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id p5-v6so2167348wre.12 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=jKm4m2UsU3a20peYQYk6ugnGCzY7nRm9C9+mG4GDbqE3CoRSaWLdxSl1DmX5fffbXZ 2zbYwyMnzmn4dtoWTKJu2j1HuFvRvK36z94lCXs0fKpdyToXzo5iEi5H3D9zMOi5FSlZ J1IkxQ91k7brEDFgfdE3/f5kWKiE152VyQjMfSXK73cPt9y779P0/7PzwCrnJevNfMYt qarvxcfkhExxSSJH1v+UXwx1P6igFs+5Jj76keF3zRJmJZVoDLz4onRNrt/eU07hBf0n jo2yO6M3gBGrP89ogDhXsQNjV4BE8M5LCaR/TKNXmX0ua8QIVMcNUYqlscju8BzUEpS+ O+/A== X-Gm-Message-State: ALKqPwcSYmKb76trgnjg/Kx8yoVhsUYwvgSvX531rV+FqsPQSai8clYm ELSHw5+5WnteOJum5ph1JUjyvRxwL78= X-Google-Smtp-Source: AB8JxZrBLjWftkCmH5UZJsQR3zVwrkETKCTM/4xbmjAE93mMKQTrrdhXxSdBVR/t8Fu0jsgDs6QDqQ== 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 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> Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, girishm@quicinc.com, linux-arm-msm@vger.kernel.org, broonie@kernel.org, linux-kernel@vger.kernel.org, bgoswami@codeaurora.org, kramasub@codeaurora.org, Srinivas Kandagatla , sdharia@quicinc.com Subject: [alsa-devel] [PATCH 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 X-Virus-Scanned: ClamAV using ClamSMTP 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" + +- 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>; + }; +};