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: 914780 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="XA/uBrR3"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40mLBG6CX1z9s1d for ; Thu, 17 May 2018 02:54:14 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430AbeEPQyK (ORCPT ); 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-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: 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 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>; + }; +};