extcon: usbc-tusb320: Add support for mode setting and reset
authorYassine Oudjana <y.oudjana@protonmail.com>
Sat, 25 Sep 2021 05:45:39 +0000 (05:45 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 27 Oct 2021 05:13:38 +0000 (14:13 +0900)
commit70c55d6be634e5f9894169340f3fe5c73f53ac2d
tree90d59b335ee5bb7ae2076ae0c51e6df5ae76892c
parent968bd3f0388b8eaf6746336856348dc3ddf2ed39
extcon: usbc-tusb320: Add support for mode setting and reset

Reset the chip and set its mode to default (maintain mode set by PORT pin)
during probe to make sure it comes up in the default state.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-usbc-tusb320.c