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

Commit 1c022578 authored by Gilad Avidov's avatar Gilad Avidov Committed by Alok Chauhan
Browse files

ARM: dts: msm: correct i2c pinctrl names 8916



set pinctrl names to i2c specific rather then the
the standard ones to avoid automatic initialization
by the pinctrl framework

Change-Id: I70386d30772ab916219507999732180056a57ec2
Signed-off-by: default avatarGilad Avidov <gavidov@codeaurora.org>
parent 602a0bb9
Loading
Loading
Loading
Loading
+8 −15
Original line number Diff line number Diff line
@@ -217,29 +217,22 @@
			};
		};

		i2c0_active {

		pmx_i2c_0 {
			/* CLK, DATA */
			qcom,pins = <&gp 7>, <&gp 6>;
			qcom,num-grp-pins = <2>;
			qcom,pin-func = <3>;
			label = "i2c0-active";
			/* active state */
			i2c_default: default {
			label = "pmx_i2c_0";

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

		i2c0_suspend {
			/* CLK, DATA */
			qcom,pins = <&gp 7>, <&gp 6>;
			qcom,num-grp-pins = <2>;
			qcom,pin-func = <0>;
			label = "i2c0-suspend";
			/*suspended state */
			i2c_sleep: sleep {
			i2c_0_sleep: i2c_0_sleep {
				drive-strength = <2>; /* 2 MA */
				bias-disable = <0>; /* No PULL */
				bias-disable;	      /* No PULL */
			};
		};

+3 −5
Original line number Diff line number Diff line
@@ -1193,8 +1193,6 @@

	i2c_0: 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 0x600>,
		      <0x7884000 0x23000>;
@@ -1205,9 +1203,9 @@
		clock-names = "iface_clk", "core_clk";
		qcom,clk-freq-out = <100000>;
		qcom,clk-freq-in  = <19200000>;
		pinctrl-names = "default", "sleep";
		pinctrl-0 = <&i2c_default>;
		pinctrl-1 = <&i2c_sleep>;
		pinctrl-names = "i2c_active", "i2c_sleep";
		pinctrl-0 = <&i2c_0_active>;
		pinctrl-1 = <&i2c_0_sleep>;
		qcom,noise-rjct-scl = <0>;
		qcom,noise-rjct-sda = <0>;
		qcom,bam-pipe-idx-cons = <6>;