On Mon, 15 May 2023 22:57:15 +0200, Jakob Hauser wrote: > Implement cable detection by extcon and handle the driver according to the > connector type. > > There are basically three types of action: "set_charging", "set_otg" and > "set_disconnect". > > A forth helper function to "unset_otg" was added because this is used in both > "set_charging" and "set_disconnect". In the first case it covers the rather > rare event that someone changes from OTG to charging without disconnect. In > the second case, when disconnecting, the values are set back to the ones from > initialization to return into a defined state. > > [...] Applied, thanks! [06/10] power: supply: rt5033_charger: Add cable detection and USB OTG supply commit: c1af6bcc8583b0a1083338cd26c2090d0bcb0810 -- Lee Jones [李琼斯]