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

Commit 113d6bc2 authored by Prashanth Vadde's avatar Prashanth Vadde Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Modify i2c_3 config for LED driver



Modify i2c_3 gpio config as per APQ8009 excelpoint
ver2 hardware

Change-Id: If3a9776b105456e5282fd51fb9280697d48e2797
Signed-off-by: default avatarPrashanth Vadde <pvadde@codeaurora.org>
parent 50c8e9d2
Loading
Loading
Loading
Loading
+50 −4
Original line number Diff line number Diff line
@@ -96,6 +96,20 @@
			bias-pull-up;
		};
	};

	pca9956b_reset_gpio_on: pca9956b_reset_gpio_on {
		mux {
			pins = "gpio35";
			function = "spare";
		};

		config {
			pins = "gpio35";
			drive-strength = <2>;
			bias-pull-up;
			output-high;
		};
	};
};

&soc {
@@ -120,6 +134,30 @@
			"SpkrRight IN", "SPK2 OUT";
	};

	i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */
		compatible = "qcom,i2c-msm-v2";
		#address-cells = <1>;
		#size-cells = <0>;
		reg-names = "qup_phys_addr";
		reg = <0x78b7000 0x1000>;
		interrupt-names = "qup_irq";
		interrupts = <0 97 0>;
		clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
			<&clock_gcc clk_gcc_blsp1_qup3_i2c_apps_clk>;
		clock-names = "iface_clk", "core_clk";
		qcom,clk-freq-out = <100000>;
		qcom,clk-freq-in  = <19200000>;
		pinctrl-names = "i2c_active", "i2c_sleep";
		pinctrl-0 = <&i2c_3_active &pca9956b_reset_gpio_on>;
		pinctrl-1 = <&i2c_3_sleep>;
		qcom,noise-rjct-scl = <0>;
		qcom,noise-rjct-sda = <0>;
		dmas = <&dma_blsp1 8 64 0x20000020 0x20>,
			<&dma_blsp1 9  32 0x20000020 0x20>;
		dma-names = "tx", "rx";
		qcom,master-id = <86>;
	};

	i2c@78b8000 {
		wcd9xxx_codec@d {
			qcom,wcd9xxx-mic-tristate;
@@ -370,19 +408,27 @@
};

&i2c_3 {
	qcom,camera@0 {
	qcom,actuator@0 {
		status = "disabled";
	};

	qcom,camera@1 {
	qcom,eeprom@6c {
		status = "disabled";
	};

	qcom,camera@42 {
	led_flash0: qcom,led-flash@60 {
		status = "disabled";
	};

	led_flash0: qcom,led-flash@60 {
	qcom,camera@0 {
		status = "disabled";
	};

	qcom,camera@1 {
		status = "disabled";
	};

	qcom,camera@42 {
		status = "disabled";
	};
};