summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDerek Chen <chenche@codeaurora.org>2016-06-10 15:57:02 -0400
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-22 23:03:28 -0700
commite823a55d473519968ceb166e106983aeabde8a89 (patch)
tree229cb798c72ac78aae9c2da4cb9cab3cc69b6fbb /Documentation
parent90c6439d081e5d81f349fb3c38ddbc8fd606340b (diff)
ARM: dts: msm: add spi_0 dev subnode on msm8996 adp/cdp platform
Add spi-msm-codec-slave device as a subnode of spi_0 on msm8996 adp/cdp platform. CRs-fixed: 1027162 Signed-off-by: Derek Chen <chenche@codeaurora.org> Change-Id: I0b402ef31b53b7f0408e2eec39cc8dea2729cedd
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/spi/qcom,spi-qup.txt19
1 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qup.txt b/Documentation/devicetree/bindings/spi/qcom,spi-qup.txt
index 5c090771c016..fa6a6dfea0e2 100644
--- a/Documentation/devicetree/bindings/spi/qcom,spi-qup.txt
+++ b/Documentation/devicetree/bindings/spi/qcom,spi-qup.txt
@@ -40,7 +40,24 @@ Optional properties:
receive.
SPI slave nodes must be children of the SPI master node and can contain
-properties described in Documentation/devicetree/bindings/spi/spi-bus.txt
+the following properties.
+
+Required properties:
+- compatible: Should contain:
+ "qcom,spi-msm-codec-slave" for external codec control
+
+- reg: Chip select address of device.
+
+- spi-max-frequency: Maximum SPI clocking speed of device in Hz.
+
+Optional properties:
+- spi-cpol: Empty property indicating device requires
+ inverse clock polarity (CPOL) mode.
+- spi-cpha: Empty property indicating device requires
+ shifted clock phase (CPHA) mode.
+
+Other optional properties described in
+Documentation/devicetree/bindings/spi/spi-bus.txt
Example: