summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhoat Harpal <hdhoat@codeaurora.org>2017-01-03 18:41:16 +0530
committerDhoat Harpal <hdhoat@codeaurora.org>2017-01-04 15:43:02 +0530
commit7e81f05cb819ad90c510e21d970b96aab0237a1b (patch)
tree1a0978a04d4cba3d8af80850a2e8983e885c601e
parent2f817b68f06ed866aa2c4cc35b2e4293aeb1ef99 (diff)
ARM: dts: msm: Add G-Link SPI transport device for sdm660
G-Link SPI transport is used to communicate with external audio codec. Add G-Link SPI transport device to support that configuration. CRs-Fixed: 1106989 Change-Id: Id447b5e89e653065df6f368a4e5e59b22e0dc159 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/sdm660.dtsi31
1 files changed, 30 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/qcom/sdm660.dtsi b/arch/arm/boot/dts/qcom/sdm660.dtsi
index b32742ab00f6..56689800c45e 100644
--- a/arch/arm/boot/dts/qcom/sdm660.dtsi
+++ b/arch/arm/boot/dts/qcom/sdm660.dtsi
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -1527,6 +1527,35 @@
qcom,xprt = "smem";
};
+ glink_spi_xprt_wdsp: qcom,glink-spi-xprt-wdsp {
+ compatible = "qcom,glink-spi-xprt";
+ label = "wdsp";
+ qcom,remote-fifo-config = <&glink_fifo_wdsp>;
+ qcom,qos-config = <&glink_qos_wdsp>;
+ qcom,ramp-time = <0x10>,
+ <0x20>,
+ <0x30>,
+ <0x40>;
+ };
+
+ glink_fifo_wdsp: qcom,glink-fifo-config-wdsp {
+ compatible = "qcom,glink-fifo-config";
+ qcom,out-read-idx-reg = <0x12000>;
+ qcom,out-write-idx-reg = <0x12004>;
+ qcom,in-read-idx-reg = <0x1200c>;
+ qcom,in-write-idx-reg = <0x12010>;
+ };
+
+ glink_qos_wdsp: qcom,glink-qos-config-wdsp {
+ compatible = "qcom,glink-qos-config";
+ qcom,flow-info = <0x80 0x0>,
+ <0x70 0x1>,
+ <0x60 0x2>,
+ <0x50 0x3>;
+ qcom,mtu-size = <0x800>;
+ qcom,tput-stats-cycle = <0xa>;
+ };
+
qcom,glink_pkt {
compatible = "qcom,glinkpkt";