From patchwork Wed Nov 15 14:10:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 118966 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4368172qgn; Wed, 15 Nov 2017 06:16:10 -0800 (PST) X-Google-Smtp-Source: AGs4zMZK4Rj0wlvh+WdoXPON+/zGQGw9/CXPCOuxexfIQDSnsEXcr8I4AJ+DCbM51x6fKhlWxE5G X-Received: by 10.98.51.198 with SMTP id z189mr17969104pfz.198.1510755369952; Wed, 15 Nov 2017 06:16:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510755369; cv=none; d=google.com; s=arc-20160816; b=CvGhX8upxqCy19WZ+IZT0s+zzZV+VuuzGOi9mxqQRqXbxR0dItcWO7iwS2wbjwGS9Q dwdKq86So8ujsHiGew74zy9HfGkvcz2f0dxPCtmdWuSSkuWU0SvKxwfQit+89JzkStKI U7QqhaqRdN82TXyh4jZ177WJry77+d4hvIG9YV+BxUVP0zp/OeGDAoqqh7TUAP8eX6D/ 3ia1m5dW9r0/gfGuyW+VYM4zD+BRjWwRYwGOG8FeEUakO5/FdZeTaTJSG1kuUPNU+FFy oOmtbjPyH0Vu1X6CzHJ4iB55F0t85jEJHCn8agebeP3kYkeXqMLLhAVr5mxBJp/YaeTn 7xHQ== 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=bi44ro+n/n36buL4oqHE7/aYMQyr7hy0iz52oMWZ6sE=; b=Vpm09mPq8x1iEE0d1QAmaMujGC5/y1zLAT+M4JLUlBM7Sg215FoJAAB1CTBxDznW5R oAGdkA7yWLNkJ4LtpG9Kb5SppBa1vPCk+cgMNCzEXw24aiKP3XslQdAOAs+OmGsp2rpz gR0pbP7YFYxyXFCl9sTS/4Kff7n0F3DGLIMpnUhj5skrVZhbRO5skRM/XRBe7tMBl+La gYU2el4spD1uFa81gDi7JCjvF8zsx86Dsv6w66Mep95fznnFDR1O1fFt7c2s1DqJE9aa K/bN+OYwW1dBxZ+JuyDtJVR9Vu+id/mVtMbExDrF5iLqHTvt9csOFHyaI91bjXWL7Wso Outw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gwn4/TkA; 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 42si6334793plb.653.2017.11.15.06.16.09; Wed, 15 Nov 2017 06:16:09 -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=gwn4/TkA; 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 S1758070AbdKOOQF (ORCPT + 10 others); Wed, 15 Nov 2017 09:16:05 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35548 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758173AbdKOONm (ORCPT ); Wed, 15 Nov 2017 09:13:42 -0500 Received: by mail-wm0-f68.google.com with SMTP id y80so3265986wmd.0 for ; Wed, 15 Nov 2017 06:13:42 -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=FNRqUIZbyHtKgcIWIUBQaibngjuRuTF7fHannC9bfuo=; b=gwn4/TkA+Xu9YOE+2p/rMvgcGYSCsub2A1JYS4KimdBvGKilf3MkLwSn/2CJpNa8FV wmprFQD3oEiBYeamYnKwr+b00vAwmhp5rUxn6HZqHSghls0vf2KAsMpMAPHWe4RUILlQ /lm+a5ZYShfKpb7VawdtQMb+3Owy0j2z+AgZY= 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=FNRqUIZbyHtKgcIWIUBQaibngjuRuTF7fHannC9bfuo=; b=kGojE9zlAatj2BfXflrCsHtYVN+q/aQEXUWXmgyNjehv4nOEWp/JQ+jl8wZL2zv7ol cgTAk9lZouB34K5qpBFW0E8yFqPPFYXBqrhbhcY+OHDGxZPNKQNU17AC4sLtyOQNctsL 9LJO16imIoxpm3A9ebapCikUhSV9IwCua5Qi2D2DWfV7QMG9nSaVaqFoGSqd2emvMOCM u+CqJNcu3WIOIbMrCng07bZOGbxg/0UKZK9QKapcear96ac8FCV6psuLwSuDuILF6VKZ vlT2707pZIzL39j6cu90R8z3Ootn6sb33BPEYqm78sMWVNSfB4SIPv/gzqLd9NggNvB3 /w4Q== X-Gm-Message-State: AJaThX5TESKHCTw8Oanvm2Q+2ZnoP/IW0l+Gs9FZhue60O9hWqXx1D57 h3+WLk3/FtnubcgCewzdcgxMJg== X-Received: by 10.28.131.200 with SMTP id f191mr12534307wmd.39.1510755221180; Wed, 15 Nov 2017 06:13:41 -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 m11sm56707wrf.56.2017.11.15.06.13.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 06:13:40 -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 Subject: [PATCH v7 10/13] dt-bindings: Add qcom slimbus controller bindings Date: Wed, 15 Nov 2017 14:10:40 +0000 Message-Id: <20171115141043.29202-11-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171115141043.29202-1-srinivas.kandagatla@linaro.org> References: <20171115141043.29202-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 | 43 ++++++++++++++++++++++ 1 file changed, 43 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..e4d28910b2e0 --- /dev/null +++ b/Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt @@ -0,0 +1,43 @@ +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 + - 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 + + +Optional property: + - reg entry for slew rate : If slew rate control register is provided, this + entry should be used. + - reg-name for slew rate: "slew" + +Example: + + slim@28080000 { + compatible = "qcom,apq8064-slim", "qcom,slim"; + reg = <0x28080000 0x2000>, + interrupts = <0 33 0>; + clocks = <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>; + clock-names = "iface", "core"; + #address-cells = <2>; + #size-cell = <0>; + + codec: wcd9310@1,0{ + compatible = "slim217,60"; + reg = <1 0>; + }; + };