mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "ARM: dts: msm: Enable SMB1351 for sdxnightjar"
This commit is contained in:
commit
cbd3ee1473
2 changed files with 24 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue