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

Commit 92d77f7e authored by Dan Sneddon's avatar Dan Sneddon
Browse files

ARM: dts: msm: Enable SPI on msmzirc



Enable SPI on msmzirc.  There is an i2c instance defined on the
same QUP that is assigned to SPI keeping the SPI from loading
so the i2c device is disabled.  The correct i2c instance is already
defined.

Change-Id: I65a2420fcb3c9fdaf9e53ab41fa8c0c8b45ee551
Signed-off-by: default avatarDan Sneddon <dsneddon@codeaurora.org>
parent 169417fe
Loading
Loading
Loading
Loading
+2 −20
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@
			/* MOSI, MISO, CLK */
			qcom,pins = <&gp 0>, <&gp 1>, <&gp 3>;
			qcom,num-grp-pins = <3>;
			qcom,pin-func = <1>;
			qcom,pin-func = <2>;
			label = "spi0-active";
			/* active state */
			spi0_default: default {
@@ -84,7 +84,7 @@
			/* CS */
			qcom,pins = <&gp 2>;
			qcom,num-grp-pins = <1>;
			qcom,pin-func = <1>;
			qcom,pin-func = <2>;
			label = "spi0-cs0-active";
			spi0_cs0_active: cs0_active {
				drive-strength = <2>;
@@ -585,24 +585,6 @@
			};
		};

		pmx_i2c_2 {
			/* CLK, DATA */
			qcom,pins = <&gp 6>, <&gp 7>;
			qcom,num-grp-pins = <2>;
			qcom,pin-func = <3>;
			label = "pmx_i2c_2";

			i2c_2_active: i2c_2_active {
				drive-strength = <2>; /* 2 MA */
				bias-disable = <0>; /* No PULL */
			};

			i2c_2_sleep: i2c_2_sleep {
				drive-strength = <2>; /* 2 MA */
				bias-disable = <0>; /* No PULL */
			};
		};

		pmx_i2c_3 {
			qcom,pins = <&gp 10>, <&gp 11>;
			qcom,num-grp-pins = <2>;
+1 −28
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@
		smd36 = &smdtty_loopback;
		spi0 = &spi_0;
		spi1 = &spi_1;
		i2c2 = &i2c_2;
		i2c3 = &i2c_3;
		qpic_nand1 = &qnand_1;
	};
@@ -316,7 +315,7 @@
		reg = <0x78b6000 0x600>,
		      <0x7884000 0x23000>;
		interrupt-names = "spi_irq", "spi_bam_irq";
		interrupts = <0 96 0>, <0 239 0>;
		interrupts = <0 96 0>, <0 238 0>;
		spi-max-frequency = <50000000>;
		pinctrl-names = "default", "sleep";
		pinctrl-0 = <&spi1_default &spi1_cs0_active>;
@@ -328,32 +327,6 @@
		qcom,use-pinctrl;
		qcom,ver-reg-exists;
		qcom,master-id = <86>;
		status = "disabled";
        };

	i2c_2: i2c@78b6000 { /* BLSP1 QUP2 */
		compatible = "qcom,i2c-msm-v2";
		#address-cells = <1>;
		#size-cells = <0>;
		reg-names = "qup_phys_addr", "bam_phys_addr";
		reg = <0x78b6000 0x1000>,
		      <0x7884000 0x23000>;
		interrupt-names = "qup_irq", "bam_irq";
		interrupts = <0 96 0>, <0 238 0>;
		qcom,clk-freq-out = <100000>;
		qcom,clk-freq-in  = <19200000>;
		clock-names = "iface_clk", "core_clk";
		clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
			 <&clock_gcc clk_gcc_blsp1_qup2_i2c_apps_clk>;

		pinctrl-names = "i2c_active", "i2c_sleep";
		pinctrl-0 = <&i2c_2_active>;
		pinctrl-1 = <&i2c_2_sleep>;
		qcom,noise-rjct-scl = <0>;
		qcom,noise-rjct-sda = <0>;
		qcom,bam-pipe-idx-cons = <6>;
		qcom,bam-pipe-idx-prod = <7>;
		qcom,master-id = <86>;
        };

	i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */