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

Commit 0157258f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb350: improve smb350 driver"

parents 7031df98 ce6c5e1b
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -8,9 +8,11 @@ The i2c slave 7-bit address is programmable at manufacture.
Node required properties:
- compatible:		Must be "summit,smb350-charger".
- reg:			The device 7-bit I2C address.
- summit,stat-gpio		gpio which smb350 STAT pin connects to.
- interrupt-parent		phandle to the interrupt parent device
- interrupts			the interrupt number on which the STAT interrupt
				output is connected.
- summit,chg-en-n-gpio		gpio which control charging enable.
- summit,chg-susp-n-gpio	gpio which control device shutdown
- summit,chg-shdn-n-gpio	gpio which control device shutdown
- summit,chg-current-ma		charging current in milliamps.
- summit,term-current-ma	charging termination current in milliamps.
				valid values are 200/300/400/500/600/700.
@@ -33,11 +35,11 @@ Example:
		smb350-charger@2b {
			compatible = "summit,smb350-charger";
			reg = <0x2b>; /* 0x56/0x57 */
			summit,stat-gpio = <&pm8941_gpios 30 0x00>;
			interrupt-parent = <&spmi_bus>;
			interrupts = <0x0 0xdd 0x0>;
			summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>;
			summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>;
			summit,chg-shdn-n-gpio = <&pm8941_gpios 13 0x00>;
			summit,chg-current-ma = <1600>;
			summit,term-current-ma = <200>;
		};
	};
+3 −2
Original line number Diff line number Diff line
@@ -46,9 +46,10 @@
		charger@2b {
			compatible = "summit,smb350-charger";
			reg = <0x2b>; /* 0x56/0x57 */
			summit,stat-gpio = <&pm8941_gpios 30 0x00>;
			interrupt-parent = <&spmi_bus>;
			interrupts = <0x0 0xdd 0x0>;	/* PM8941 GPIO 30 */
			summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>;
			summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>;
			summit,chg-shdn-n-gpio = <&pm8941_gpios 13 0x00>;
			summit,chg-current-ma = <1600>;
			summit,term-current-ma = <300>;
		};
+380 −288

File changed.

Preview size limit exceeded, changes collapsed.