[linux-sunxi] Re: [PATCH v2 1/9] mfd: axp20x: Mark AXP20X_VBUS_IPSOUT_MGMT as volatile

2020-01-06 Thread Lee Jones
On Sat, 04 Jan 2020, Samuel Holland wrote: > On AXP288 and newer PMICs, bit 7 of AXP20X_VBUS_IPSOUT_MGMT can be set > to prevent using the VBUS input. However, when the VBUS unplugged and > plugged back in, the bit automatically resets to zero. > > We need to set the register as volatile to

[linux-sunxi] Re: [PATCH v2 1/9] mfd: axp20x: Mark AXP20X_VBUS_IPSOUT_MGMT as volatile

2020-01-05 Thread Chen-Yu Tsai
On Sun, Jan 5, 2020 at 9:24 AM Samuel Holland wrote: > > On AXP288 and newer PMICs, bit 7 of AXP20X_VBUS_IPSOUT_MGMT can be set > to prevent using the VBUS input. However, when the VBUS unplugged and > plugged back in, the bit automatically resets to zero. > > We need to set the register as