From patchwork Thu Nov 30 17:41:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 120270 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp91230qgn; Thu, 30 Nov 2017 09:47:21 -0800 (PST) X-Google-Smtp-Source: AGs4zMYy1+wRgVKietRRh7e41hQm3mktR8lYYXCEXalinG/Ri1H/Kl50AYXvkvwLgJ+54+KBhYYH X-Received: by 10.99.166.18 with SMTP id t18mr3129718pge.252.1512064041878; Thu, 30 Nov 2017 09:47:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512064041; cv=none; d=google.com; s=arc-20160816; b=v6I8owCsdUoCztKN4Cmucifb6DYWba7VH8G04yGu4PuqWxfdWJvmY5lgfWSymzJdOg WZnDZxAAKl6Wlcx7lUwX5BeRJQbh5hMd8TvjAz4tAO436H3Wv36NKcnasvN/Jn85DAwP q6KGBWAfglDb3hej+UP36q2FMwotiFw/y8j/UXxaAGoadkgtc0oy13U8CDZukw2nAoiL zvklk2b9bbd/nnS5zlkuwrWfS7QfMNRO+9c0sK4ZiMBjed6SyQ7pgCgMmt6btx8Qurg0 9/nwcXaCAdU4Z22Gvtriv+sQMJHPxxIYFPerynHTpPPCtzkxOavWS/qdILph+2uYp2RV WmGw== 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=qqzPLG2/fUSKiLGIkb/u3pSiL87iwAAT1+6t3963pYo=; b=N6WgeVHw238KYzdIZWZTiH5LBa6ajLsIvBzinBtWkGfyb9618RjlPa8hk/IJhlY/AX 0X4XrxCIzHoACo6uRs/fWD1b1mAjF4aj15sn8BW7/SDD1nJyYm7Z2jEHQunUf4zCUESC spYCsz4BDmRuNNkOg245PCpOhoKE45FpP1oYoIMbn0Ju7DWwAYmj4F8tL5iUosJOc4mh PsRf1nQ0nzaqqvPPHIf35HQGkLyEVsCM2qZsMuHGbw65kvsN6kZx9xbH7jt7dNZaCoed KTBs18vJCTaKKlvZDS1wEnseYWojlgghIhlDqH9MDucsiXAxuZOykp5qIbdOzYWWiGqz ODPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HRRawUX3; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 i81si3587894pfj.329.2017.11.30.09.47.21; Thu, 30 Nov 2017 09:47:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=HRRawUX3; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1752275AbdK3RrT (ORCPT + 10 others); Thu, 30 Nov 2017 12:47:19 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38004 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753946AbdK3RqF (ORCPT ); Thu, 30 Nov 2017 12:46:05 -0500 Received: by mail-wr0-f194.google.com with SMTP id o2so7447705wro.5 for ; Thu, 30 Nov 2017 09:46:04 -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=wFm2PTXiDikvf7+6i7NoW+lefuZ4ADFLowqMzTJyCTU=; b=HRRawUX3aqzFaQTIS8jiQc/U7BvZ3BEuLK8UtcbKwCJ3UKxvuxRDqDWuR5kOzh2DsI 0+Y+eODOOd3fdiJUN/F+yvXbRCud44pnAxzgY76JrrIWY+pqozUytKG3/F9be5QYxEuP dwBJ4X1YJNx8HI2/4gh/tBsgYHIbg0srSFMRE= 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=wFm2PTXiDikvf7+6i7NoW+lefuZ4ADFLowqMzTJyCTU=; b=FhpC9EsEdlh7nqCp+GWy4cdsnV/xDMUySJjb5ZLoLCdJKEM3xbt3jLbL2ObGIDrzKd cTdWUePTL08c32G/CwODSVSgDUDwmqJS+K3wbDHjGggvAaJh90o1k7sM0X7Xk/FkdoiL zlzn7lnGS589Wg56K1DN0jzhCJQxjAeYJhsdR7nTBLdSpC1HexIfVJ6lnZdPcQlPfy21 O7EvBBImt6td40ve57XdJb+7Bzf78nw74+RhIkDwl74AaR6hI4HnMRYGelWrUonrPtnB l4xkejB+Tbc+NJ1/OEk5YyPbNppw7Iazmht2EHN0m2xtEAsi26tEeTSqjPOs0fIwT60L PChg== X-Gm-Message-State: AJaThX6Odt75j7woKgkY1+z2bQe2xT9lmKJo4kzwwC/nx/pTW4BgVl6x ZgMXUHIZzGK91xMU+aiovZpXYA== X-Received: by 10.223.169.68 with SMTP id u62mr2739046wrc.30.1512063963995; Thu, 30 Nov 2017 09:46:03 -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 189sm2412189wmu.3.2017.11.30.09.46.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Nov 2017 09:46:03 -0800 (PST) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org, broonie@kernel.org, alsa-devel@alsa-project.org Cc: sdharia@codeaurora.org, bp@suse.de, poeschel@lemonage.de, treding@nvidia.com, andreas.noever@gmail.com, alan@linux.intel.com, mathieu.poirier@linaro.org, daniel@ffwll.ch, jkosina@suse.cz, sharon.dvir1@mail.huji.ac.il, joe@perches.com, davem@davemloft.net, james.hogan@imgtec.com, michael.opdenacker@free-electrons.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, vinod.koul@intel.com, arnd@arndb.de, srinivas.kandagatla@linaro.org Subject: [PATCH v8 10/13] dt-bindings: Add qcom slimbus controller bindings Date: Thu, 30 Nov 2017 17:41:57 +0000 Message-Id: <20171130174200.6684-11-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171130174200.6684-1-srinivas.kandagatla@linaro.org> References: <20171130174200.6684-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 From: Sagar Dharia This patch add device tree bindings for Qualcomm slimbus controller. Signed-off-by: Sagar Dharia Signed-off-by: Srinivas Kandagatla --- .../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 linux-arm-msm" 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..93a6fdaf09b3 --- /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_clk" : Interface clock for this controller + "core_clk" : 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>; + }; + };