mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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: Yassine Oudjana <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>