power: smb1360: Fix the AC/USB mode register bits
The USB AC mode value is 0x02 and not 0x10, fix it.
For the USB mode operation set the PIN_POLARITY bit
by default and accordingly modify the USB100/500
command register config bits.
if C05[6] = 1, USB500 = 0x00 and USB100 = 0x01
if C05[6] = 0, USB500 = 0x01 and USB100 = 0x00
CRs-Fixed: 642981
Change-Id: Ie6c62524d83e9ec49903121f353a1ca39687240a
Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please register or sign in to comment