wossoneri
11/13/2019 - 3:50 AM

disable usb charging

kernel/msm-3.18/arch/arm/boot/dts/qcom/msmxxxx-pmixxxx-qrd-sku5.dtsi
&pmi8937_charger {
	qcom,battery-data = <&qrd_batterydata>;
	qcom,float-voltage-mv = <4250>;
	qcom,fg-cc-cv-threshold-mv = <4240>;
	qcom,chg-led-sw-controls;
	qcom,chg-led-support;
  /* qcom,charging-disabled; */
	status = "okay";
};

kernel/msm-3.18/arch/arm/boot/dts/qcom/msmxxxx-pmixxxx-qrd-sku2.dtsi
&pmi8937_charger {
	qcom,battery-data = <&qrd_batterydata>;
	qcom,float-voltage-mv = <4250>;
	qcom,chg-led-sw-controls;
	qcom,chg-led-support;
	qcom,fg-cc-cv-threshold-mv = <4240>;
  /*qcom,charging-disabled;*/
	status = "okay";
};