Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 129965d5 authored by Derek Chen's avatar Derek Chen Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add spi dev node on sa8155 adp platform



Add spi-msm-codec-slave device as a subnode of
spi se2 node on sa8155 adp star platform.

CRs-fixed: 1027162
Signed-off-by: default avatarDerek Chen <chenche@codeaurora.org>
Change-Id: I0b402ef31b53b7f0408e2eec39cc8dea2729cedd
parent d299e4b6
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -31,7 +31,22 @@ Optional properties:
- qcom,disable-autosuspend: Specifies to disable runtime PM auto suspend.

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-cpha:       Empty property indicating device requires
                  shifted clock phase (CPHA) mode.

Other optional properties described in
Documentation/devicetree/bindings/spi/spi-bus.txt

Example:

+10 −0
Original line number Diff line number Diff line
@@ -499,3 +499,13 @@
		status = "disabled";
	};
};

&qupv3_se22_spi {
	status = "ok";
	spi_codec@0 {
		compatible = "qcom,spi-msm-codec-slave";
		reg = <0>;
		spi-max-frequency = <12800000>;
		spi-cpha;
	};
};