Loading arch/arm/boot/dts/qcom/mdm9640-cdp.dtsi +21 −1 Original line number Diff line number Diff line /* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. /* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -28,6 +28,22 @@ }; &i2c_3 { smb1357_otg_supply: smb1357-charger@1c { compatible = "qcom,smb1357-charger"; reg = <0x1c>; interrupt-parent = <&tlmm_pinmux>; interrupts = <83 0>; /* MDM GPIO 83 */ qcom,float-voltage-mv = <4200>; qcom,charging-timeout = <1536>; qcom,recharge-thresh-mv = <200>; qcom,iterm-ma = <100>; regulator-name = "smb1357_otg_supply"; qcom,id-line-not-connected; qcom,bmd-algo-disabled; }; }; &pmd9635_gpios { gpio@c000 { /* GPIO 1 */ }; Loading Loading @@ -102,6 +118,10 @@ }; }; &usb3 { vbus_dwc3-supply = <&smb1357_otg_supply>; }; &pmd9635_vadc { chan@6 { label = "vbat_sns"; Loading Loading
arch/arm/boot/dts/qcom/mdm9640-cdp.dtsi +21 −1 Original line number Diff line number Diff line /* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. /* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -28,6 +28,22 @@ }; &i2c_3 { smb1357_otg_supply: smb1357-charger@1c { compatible = "qcom,smb1357-charger"; reg = <0x1c>; interrupt-parent = <&tlmm_pinmux>; interrupts = <83 0>; /* MDM GPIO 83 */ qcom,float-voltage-mv = <4200>; qcom,charging-timeout = <1536>; qcom,recharge-thresh-mv = <200>; qcom,iterm-ma = <100>; regulator-name = "smb1357_otg_supply"; qcom,id-line-not-connected; qcom,bmd-algo-disabled; }; }; &pmd9635_gpios { gpio@c000 { /* GPIO 1 */ }; Loading Loading @@ -102,6 +118,10 @@ }; }; &usb3 { vbus_dwc3-supply = <&smb1357_otg_supply>; }; &pmd9635_vadc { chan@6 { label = "vbat_sns"; Loading