Skip to content
Commit ce0320bd authored by Yassine Oudjana's avatar Yassine Oudjana Committed by Chanwoo Choi
Browse files

extcon: usbc-tusb320: Add support for TUSB320L



TUSB320L is a newer chip with additional features, and it has additional steps
in its mode changing sequence:
 - Disable CC state machine,
 - Write to mode register,
 - Wait for 5 ms,
 - Re-enable CC state machine.
It also has an additional register that a revision number can be read from.

Add support for the mode changing sequence, and read the revision number during
probe and print it as info.

Signed-off-by: default avatarYassine Oudjana <y.oudjana@protonmail.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 70c55d6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment