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

Commit cbd3ee14 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Enable SMB1351 for sdxnightjar"

parents 1d376c3b 2f2549d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1392,7 +1392,7 @@
		bias-high-impedance;   /* DISABLE GPIO */
	};

	gpio@c400 { /* GPIO 5 - USB_ID */
	usb_id_detect: gpio@c400 { /* GPIO 5 - USB_ID */
		pins = "gpio5";
		function = "normal";
		input-enable;        /* Digital input */
+23 −0
Original line number Diff line number Diff line
@@ -831,3 +831,26 @@
#include "sdxnightjar-coresight.dtsi"
#include "sdxnightjar-pinctrl.dtsi"
#include "sdxnightjar-blsp.dtsi"

&i2c_3 {
	status = "ok";
	smb1351_otg_supply: smb1351-charger@55 {
		compatible = "qcom,smb1351-charger";
		reg = <0x55>;
		interrupt-parent = <&tlmm_pinmux>;
		interrupts = <83 IRQ_TYPE_LEVEL_LOW>;
		interrupts-extended = <&tlmm_pinmux 83 IRQ_TYPE_LEVEL_LOW>, <&pmd9650_gpios 5 0>;
		interrupt-names = "smb1351_chg_stat_irq","smb1351_usb_id_irq";
		qcom,usb-id-gpio = <&pmd9650_gpios 5 0>;
		qcom,float-voltage-mv = <4200>;
		qcom,charging-timeout = <1536>;
		qcom,recharge-thresh-mv = <200>;
		qcom,iterm-ma = <100>;
		regulator-name = "smb1351_otg_supply";
		pinctrl-names = "default";
		pinctrl-0 = <&smb_stat_active>, <&usb_id_detect>;
		qcom,switch-freq = <2>;
		qcom,id-line-not-connected;
		dpdm-supply = <&qusb_phy>;
	};
};