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

Unverified Commit 9868a730 authored by zhangxianzhu's avatar zhangxianzhu Committed by Michael Bestas
Browse files

[ALM:10872991] [FP4]:support USB3.0

 &&&%%%comment:[FP4]:suppert USB3.0
 &&&%%%bug number:10872991
 &&&%%%product name:sm7225_r_fp4
 &&&%%%root cause:Specification
 &&&%%%Bug category:T2M
 &&&%%%Module_Impact:kernel
 &&&%%%Test_Suggestion:test USB3.0
 &&&%%%Solution:add USB3.0
 &&&%%%Test_Report:test is ok
 &&&%%%VAL Can Test:NO
parent 781a8fb6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -346,8 +346,8 @@ static void smblib_notify_extcon_props(struct smb_charger *chg, int id)
		val.intval = ((prop_val.intval == 2) ? 1 : 0);
		extcon_set_property(chg->extcon, id,
				EXTCON_PROP_USB_TYPEC_POLARITY, val);

#if defined(CONFIG_TCT_PM7250_COMMON)
//support USB3.0
#if 0//defined(CONFIG_TCT_PM7250_COMMON)
		val.intval = false;
#else
		val.intval = true;
+3 −3
Original line number Diff line number Diff line
@@ -609,8 +609,8 @@ static inline void start_usb_host(struct usbpd *pd, bool ss)
	val.intval = (cc == ORIENTATION_CC2);
	extcon_set_property(pd->extcon, EXTCON_USB_HOST,
			EXTCON_PROP_USB_TYPEC_POLARITY, val);

#if defined(CONFIG_TCT_PM7250_COMMON)
//support USB3.0
#if 0//defined(CONFIG_TCT_PM7250_COMMON)
	val.intval = 0;
#else
	val.intval = ss;
@@ -650,7 +650,7 @@ static inline void start_usb_peripheral(struct usbpd *pd)
	extcon_set_property(pd->extcon, EXTCON_USB,
			EXTCON_PROP_USB_TYPEC_POLARITY, val);

#if defined(CONFIG_TCT_PM7250_COMMON)
#if 0// defined(CONFIG_TCT_PM7250_COMMON)
	val.intval = 0;
#else
	val.intval = 1;