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

Commit 2e5321a6 authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

ARM: dts: msm: Add charger type IIO channel for USB on Holi

Add charger type IIO channel for USB so that the glue
driver can read the charger type and set the valid current.

Change-Id: Id7e73ce8ddb0acc6db00721c8f14362ec3f3990e
parent 026a95fd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -296,4 +296,8 @@

&usb0 {
	extcon = <&pm7250b_pdphy>, <&eud>;

	#io-channel-cells = <1>;
	io-channels= <&pm7250b_charger PSY_IIO_USB_REAL_TYPE>;
	io-channel-names = "chg_type";
};
+4 −0
Original line number Diff line number Diff line
@@ -286,4 +286,8 @@

&usb0 {
	extcon = <&pm7250b_pdphy>, <&eud>;

	#io-channel-cells = <1>;
	io-channels= <&pm7250b_charger PSY_IIO_USB_REAL_TYPE>;
	io-channel-names = "chg_type";
};
+4 −0
Original line number Diff line number Diff line
@@ -250,4 +250,8 @@

&usb0 {
	extcon = <&pm7250b_pdphy>, <&eud>;

	#io-channel-cells = <1>;
	io-channels= <&pm7250b_charger PSY_IIO_USB_REAL_TYPE>;
	io-channel-names = "chg_type";
};
+4 −0
Original line number Diff line number Diff line
@@ -305,4 +305,8 @@

&usb0 {
	extcon = <&pm7250b_pdphy>, <&eud>;

	#io-channel-cells = <1>;
	io-channels= <&pm7250b_charger PSY_IIO_USB_REAL_TYPE>;
	io-channel-names = "chg_type";
};
+4 −0
Original line number Diff line number Diff line
@@ -379,4 +379,8 @@

&usb0 {
	extcon = <&pm7250b_pdphy>, <&eud>;

	#io-channel-cells = <1>;
	io-channels= <&pm7250b_charger PSY_IIO_USB_REAL_TYPE>;
	io-channel-names = "chg_type";
};