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: 10404457 X-Patchwork-Delegate: agross@codeaurora.org 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 6C6C9601F7 for ; Wed, 16 May 2018 16:54:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DEC226E55 for ; Wed, 16 May 2018 16:54:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 52A0D285B0; Wed, 16 May 2018 16:54:32 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E627B26E55 for ; Wed, 16 May 2018 16:54:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751132AbeEPQyP (ORCPT ); Wed, 16 May 2018 12:54:15 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:44415 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbeEPQyI (ORCPT ); Wed, 16 May 2018 12:54:08 -0400 Received: by mail-wr0-f193.google.com with SMTP id y15-v6so2164625wrg.11 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=g283ELQ0EK/3mgR17zOODQz/F1doGNokIWIg/kx5catE4tvj34yxk71nk7Bjg8xqgZ BeO0lfe9HF/V5toqxVMncNLHPiZJhDn6vC6MaqEX7iBRcQ7ZE6ZqZ2ZfjfQFTIbLFiOy BPgvNB7qOldKCzh3kBL+edXJOFFnDUedd70k9+9jHw88YNzChygiupEzY5Ah2xLy41RP EOhSksZmpxAWfWMT7dDHhXTYqXKo0bylgwjIfUGbda+iVh3DcygFilTIZ2jAtASSdi2n 7jZ3NlNHYhEFhjDbhLHmtgTqDjF2qCTQ8KsXzk58I/6EsC4L1VhRadJ6WY4G4FuK3h65 4qdQ== X-Gm-Message-State: ALKqPwe3lMyEaON7f01n3uzaW+GVwStC9x4Qk4kNZBZQ1I4N0KjwiISG UxbqIVD5xi18OHBYuQMI9K27cA== 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 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: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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>; + }; +};