max77759_charger: support for different OVP IC

Do not run the NBC sequence when vin_is_valid gpio is not defined.
Default to just set 0xa to the mode register (later in the usecase)
and set the external boost if necessary.

Add support for an alternate sequence in max77759_ls_mode() making
lsw1_is_* GPIO optional.

Bug: 182953320
Test: check OTG cases
Signed-off-by: AleX Pelosi <[email protected]>
Change-Id: I6854c11a22bb06c55fc54d112b3acdd2f76a9f0c
1 file changed