From patchwork Thu Dec 7 10:27:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 120955 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8179899qgn; Thu, 7 Dec 2017 02:32:07 -0800 (PST) X-Google-Smtp-Source: AGs4zMYBsBCibMKU4FRlEmxzG4APLqyc/R19JFoqid9XNe/GK7f8Oz2UuPT8oOunRkhE51CXd2am X-Received: by 10.101.82.203 with SMTP id z11mr24555003pgp.404.1512642727588; Thu, 07 Dec 2017 02:32:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512642727; cv=none; d=google.com; s=arc-20160816; b=qzg3O5+w94YWRmKypUNjH2vrR/9fKpw6vLejN3b/rHTbZ0ni7JcY2U1zuXFlEV4Weh cLs7h0BPfo+H1HsdPkLXB5s47/TRDH0RfQJ+5yVJpY2Iu2xXIvsbX00pR0Tob6o25PPQ UHCs/5TJQGLv2cCNwnHLpc6x/hxqydfmVOl9wQYKuboEjqXule0/CK99UScwWCYTFwOR ViDW3QFACOPMqRy3yNFtttB7kpDeNrmJN3/osoLY+/c4m16uPHLJSOjf2J04TnxrnFgS rAcHYhxO1N6A2eJy/JQAaDBeq0EiFQ6Wo7RFCsp1Yc61PHsJK17D1BN5qeRUzKFVeWrJ EoWw== 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=7SLq11OdWLgMjfNADGsO7+ioCYLV6T+mlX9L8stuCUw=; b=Yr2qz+AyGlMwE+d7n7K27b1cMaBSUi5O9n/3qSePkDVL6x1YYwN7YDl3j1AmKy6tjR 18bwTE8Ode64CkZXs45kxzFQr3rqStyz4z/pqEc5sCn/k705+TOaMf4z5jIi4ILP0KWg UcbrjhLhdYaYMp9mN2Kgl4WfS3MPcjSjkUIAUurLpc/XXbIgZvEZF/kvBXY2R5dwnmsT NrAVLuhglvwjo6qF4487TkvC7zDnI6CK4kx2cq6+9sGjeG7gfONOlEA5b3MjDHXMD50B oNZjl6nMhXeMlLetxYlUIesnJ8UBA/AVhO574kXctrsckJgflAl8llIcmDRj+bITcYm5 1yrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=USG4OEc0; 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 s62si3811047pfe.119.2017.12.07.02.32.07; Thu, 07 Dec 2017 02:32:07 -0800 (PST) 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=USG4OEc0; 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 S1752473AbdLGKcF (ORCPT + 6 others); Thu, 7 Dec 2017 05:32:05 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:47091 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752835AbdLGKar (ORCPT ); Thu, 7 Dec 2017 05:30:47 -0500 Received: by mail-wr0-f196.google.com with SMTP id x49so6885938wrb.13 for ; Thu, 07 Dec 2017 02:30:46 -0800 (PST) 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=npBrS6d/TflCw66s5D1yhUtJ4b2+IPoeeI+n2lsOOtw=; b=USG4OEc0kIzabLNTZUzI9L49fA5yL5tHofypr12aRi6bjc65G+n7lOGYDL6knbqH6v m/PIyo2Lw0mYQ63yVf4AsAMBkBc1gpUdUKInfjkb7oBeE0u1HwQoXpH9w0zsLQKNoHwG VlzkJ/dpwjSlDoAC9or8wakWA/gHZiXsL074Q= 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=npBrS6d/TflCw66s5D1yhUtJ4b2+IPoeeI+n2lsOOtw=; b=fwGOmHAOLBNahtugbmEESDnALJJo4u/9rh1OB+QFZEFJzZ3c0FICHHOh37bRBMcYQ+ 2zIeITOiZna8mev4liRzofqLbZf1+Rw+KHLAOJT2c7ilgGC9frE6in1AsA6Wmni6Udsy XMjMN+ckJPMginBeg9AIAJi0hPAJql+wP7lk4jHJaCdmJaTPvivNvQKh+VumQbhdqJEx KUoVE6ZMJXTz+OW3k4BlWmhZRBYG9TjSlOdm+aAvSCCfCVnYjthUR01Dmu7W+jRUHwLa ue03S0ZfXELKHKOaRo2j1mlW4NETRTw/GCrd6cy1E2uqLc52lGIpESrBfC+HRAFIlzfJ 6G2A== X-Gm-Message-State: AJaThX6/2Ki8jV4ZOl7Q79oLXIQB9U6NGE3SxbdPj38GCgprvchhWwrl aGYo52O3tXKhMEXmiWJm7h3Xsw== X-Received: by 10.223.170.214 with SMTP id i22mr22966837wrc.110.1512642646081; Thu, 07 Dec 2017 02:30:46 -0800 (PST) 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 k2sm4837734wrg.4.2017.12.07.02.30.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Dec 2017 02:30:45 -0800 (PST) From: srinivas.kandagatla@linaro.org To: Mark Brown , Greg Kroah-Hartman , alsa-devel@alsa-project.org Cc: sdharia@codeaurora.org, Rob Herring , Mark Rutland , Jonathan Corbet , pombredanne@nexb.com, j.neuschaefer@gmx.net, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v9 10/13] dt-bindings: Add qcom slimbus controller bindings Date: Thu, 7 Dec 2017 10:27:17 +0000 Message-Id: <20171207102720.21071-11-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171207102720.21071-1-srinivas.kandagatla@linaro.org> References: <20171207102720.21071-1-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Sagar Dharia This patch add device tree bindings for Qualcomm slimbus controller. Signed-off-by: Sagar Dharia Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../devicetree/bindings/slimbus/slim-qcom-ctrl.txt | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt -- 2.15.0 -- 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-qcom-ctrl.txt b/Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt new file mode 100644 index 000000000000..922dcb8ff24a --- /dev/null +++ b/Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt @@ -0,0 +1,39 @@ +Qualcomm SLIMbus controller +This controller is used if applications processor driver controls SLIMbus +master component. + +Required properties: + + - #address-cells - refer to Documentation/devicetree/bindings/slimbus/bus.txt + - #size-cells - refer to Documentation/devicetree/bindings/slimbus/bus.txt + + - reg : Offset and length of the register region(s) for the device + - reg-names : Register region name(s) referenced in reg above + Required register resource entries are: + "ctrl": Physical address of controller register blocks + "slew": required for "qcom,apq8064-slim" SOC. + - compatible : should be "qcom,-slim" for SOC specific compatible + followed by "qcom,slim" for fallback. + - interrupts : Interrupt number used by this controller + - clocks : Interface and core clocks used by this SLIMbus controller + - clock-names : Required clock-name entries are: + "iface" : Interface clock for this controller + "core" : Interrupt for controller core's BAM + +Example: + + slim@28080000 { + compatible = "qcom,apq8064-slim", "qcom,slim"; + reg = <0x28080000 0x2000>, <0x80207C 4>; + reg-names = "ctrl", "slew"; + interrupts = <0 33 0>; + clocks = <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>; + clock-names = "iface", "core"; + #address-cells = <2>; + #size-cell = <0>; + + wcd9310: audio-codec@1,0{ + compatible = "slim217,60"; + reg = <1 0>; + }; + };