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

Commit d64010c0 authored by Xu Kai's avatar Xu Kai
Browse files

ARM: dts: msm: change to use default pin state for smb_int_pin



The states of smb_int_pin when system in active and sleep modes
are the same, so just keep one default state for smb_int_pin.

Change-Id: I0872552851baedd4851590c8eaa6626027d60232
Signed-off-by: default avatarXu Kai <kaixu@codeaurora.org>
parent 5698cb80
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -15,6 +15,12 @@ Optional Properties:

- interrupts			This indicates the IRQ number of the GPIO
				connected to the STAT pin.
- pinctrl-names:		The state name of the pin configuration. Only
				support: "default".
- pinctrl-0:			The phandle of the pin configuration node in
				pinctrl for smb_int_pin.
				For details of pinctrl properties, please refer to:
				"Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt"
- qcom,float-voltage-mv	 	Float Voltage in mV - the maximum voltage up to which
				the battery is charged. Supported range 3460V to 4360V
- qcom,charging-timeout		Maximum duration in minutes that a single charge
@@ -57,6 +63,8 @@ Example:
			reg = <0x1b>;
			interrupt-parent = <&spmi_bus>;
			interrupts = <0x00 0xcd 0>;
			pinctrl-names = "default";
			pinctrl-0 = <&smb_int_default>;
			qcom,float-voltage-mv = <4200>;
			qcom,iterm-ma = <100>;
			qcom,charging-disabled;
+2 −3
Original line number Diff line number Diff line
@@ -27,9 +27,8 @@
			reg = <0x14>;
			interrupt-parent = <&msm_gpio>;
			interrupts = <62 8>;
			pinctrl-names = "active", "sleep";
			pinctrl-0 = <&smb_int_active>;
			pinctrl-1 = <&smb_int_sleep>;
			pinctrl-names = "default";
			pinctrl-0 = <&smb_int_default>;
			regulator-name = "smb1360_otg_vreg";

			qcom,float-voltage-mv = <4200>;
+2 −3
Original line number Diff line number Diff line
@@ -27,9 +27,8 @@
			reg = <0x14>;
			interrupt-parent = <&msm_gpio>;
			interrupts = <62 8>;
			pinctrl-names = "active", "sleep";
			pinctrl-0 = <&smb_int_active>;
			pinctrl-1 = <&smb_int_sleep>;
			pinctrl-names = "default";
			pinctrl-0 = <&smb_int_default>;
			regulator-name = "smb1360_otg_vreg";

			qcom,chg-inhibit-disabled;
+1 −5
Original line number Diff line number Diff line
@@ -1182,11 +1182,7 @@
			qcom,num-grp-pins = <1>;
			qcom,pin-func = <0>;
			label = "smb1360_int_gpio";
			smb_int_active: smb_int_active {
				drive-strength = <2>;	/* 2 MA */
				bias-pull-up;		/* PULL UP*/
			};
			smb_int_sleep: smb_int_sleep {
			smb_int_default: smb_int_default {
				drive-strength = <2>;	/* 2 MA */
				bias-pull-up;		/* PULL UP*/
			};