Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2244321imm; Wed, 16 May 2018 09:56:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpC9Fd5gi8edjZHoKJNVVrRUXb+6sl3UE5rKlbpIhJTC+qIscKp8cEZ7ZezFQoMFkeomhPU X-Received: by 2002:a17:902:bd82:: with SMTP id q2-v6mr1680903pls.77.1526489788163; Wed, 16 May 2018 09:56:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526489788; cv=none; d=google.com; s=arc-20160816; b=pikUJqRNZ2aI1Sg2Zwd3qcfKf3stNMaGK/BLE7KWzTW5u5gOcCoGXc4v7M+PWijI1S Zo2hsV9ticCZ/B5MVlivVLZ2vsKF16h1sFxD8QrxexR9y8J0mVExBSPIwqgp/ntANwiy t+FCHxNNYMcMHWRtq5/tj7RAPvhZz9jZf98ywsbYXs/yX61Y6uZtlRwarWC/08reE0UN d3UPaudNpOJitcfdplGRD1ia59E1ZcX2ZJtTSGkDAkVZu2EuKq8yHpHBxYCh1G1RTECw BLZlNCbAaCe5sDm69qyhDGHtrJoXDB5Tp05vKjYIVlYwz+yHTf/qSPy+A4v1pzgxtQsc KrzA== 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=E4lDnXLAr1lokfRTltHvC0OJOJ5rsLEbgIB6IjxX+Ow=; b=rNI8ol0H+CoN0mbK4BErPGMpMSb/zwa8DvQf3HNUWzscc54zfVeczX0c7xf2kkngPV uMLz4Eo2Kl1tnZKIwvxHIbEYOGglE05oMn9K3xTo4A8PRvrK8oNwRb7mBGCldRumIjz3 f8TuktpCO8lzMgjnjl+hXFpOWTwLtjLkJXKMBCH4wBZ1wXmlEU/ZHmy/a7ECeQo42knS T4k2TZn/pWplnOl3XWoSrU3BP7kKmkzSP1lFUrU01l64LuqRIfBYAnjZ5vQviLAf2OdW 6fljKTgZ9f6XncK0AqJ31zVyROugnCR11V130zTCl7XCJxbh9pdDV35Ln29/+YDMahyV oXqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XA/uBrR3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 a23-v6si2838092pls.571.2018.05.16.09.56.11; Wed, 16 May 2018 09:56:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XA/uBrR3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751665AbeEPQyf (ORCPT + 99 others); Wed, 16 May 2018 12:54:35 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35877 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbeEPQyI (ORCPT ); Wed, 16 May 2018 12:54:08 -0400 Received: by mail-wr0-f195.google.com with SMTP id p4-v6so2193675wrh.3 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=MjnXmvOHplSwkP7K7R7CZWO9f4v3oEjuTrSXBmVLamSD5sEhCq8csmDxojObfMhL9O PCztFRdRsSmpYoVtioTDO7jjogqPv16qDtpXuXsnaTRz0idYmDjmonpTkt6KMnZbO9Xv 8DzPKbV7w3REbVliP0Ui2gKJZtP87jUmn6jBX120M3K4hmM7vdEDSubsjvVH2IVcwKsq /rgSs4bjafwzUcViYYx9qzMv3QLsi5qQaw/343X3Uztr7Qt1S+SIabJL1HQ5PIfOci9F ddwDmXulpaAYKINy25TLdVbkiy+ESpbdEkgIOPY4Lpt59sO7bziXx9hU/HwGTHfNX1I6 G9WQ== X-Gm-Message-State: ALKqPwdU/v7t95nhmiTFT3yxzZPnDmREoHbLp/qOKFOi4IEHhtQGU2q8 VP5HiL03XGsZtYYD/KzRQ3wx/w== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 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>; + }; +}; -- 2.16.2