Hello, the following questions are needed. Thank you for your hard support。
1: The current drive shield of PID and VID is not judged. The drive has been working normally. Whether there is any abnormality in this area needs your help to determine.
2: Help to determine the information. After the driver runs, a loop statement has been detecting the port to help determine whether the detection status is OK.
02-22 05:40:55.205 0 0 W : [ 777.884311@2] TUSB422 ->P0 IRQ: 0x0000
02-22 05:40:55.205 0 0 W : [ 777.884540@2] TUSB422 tcpm_connection_state_machine: state_change = 0, state = 0x3.
3:The state switch command device and host switch. There is no information displayed in the actual test on the notebook. There is the following log information. Is this abnormal? Can you see it intuitively when you knock the command to switch? Need to implement device and host.
echo "ROLE_CTRL 0x0f" > registers The log message appears as follows
02-22 05:29:38.657 0 0 W : [ 92.527530@3] TUSB422 Fault status = 0x20
02-22 05:29:38.657 0 0 W : [ 92.527586@0] TUSB422 Auto discharge failed
echo "ROLE_CTRL 0x05" > registers have no log information。
4:From the I2C log(see below), device VID and PID is all 0x0000, that makes TUSB422 can not be detected. Could you guide me how to solve this problem?
01-01 00:00:06.118 0 0 W : [ 1.423148@1] wzm tusb422_regmap_config probre
01-01 00:00:06.118 0 0 W : [ 1.423281@1] TUSB422 VID: 0x0000
01-01 00:00:06.118 0 0 W : [ 1.423348@1] TUSB422 PID: 0x0000
01-01 00:00:06.118 0 0 E : [ 1.423359@1] tusb422 1-0020: tusb422_probe: no TUSB422 device found.
5:This problem is synchronized with the second one。I refer to the driver tusb422-pd.txt document, and the interrupt configuration is ti, alert-gpio=<&gpio1 16 GPIO_ ACTIVE_ HIGH>;, What does gpio1 mean and what does the middle 16 mean? The main control terminal GPIOH _ 4. Could you tell me how to configure it?
Thanks by wzm