
8 Nov
2014
8 Nov
'14
11:19 a.m.
On Fri, 2014-11-07 at 20:47 +0100, Hans de Goede wrote:
From: Oliver Schinagl oliver@schinagl.nl
The A31 uses the AXP221 pmic for various voltages.
Signed-off-by: Oliver Schinagl oliver@schinagl.nl Signed-off-by: Hans de Goede hdegoede@redhat.com
- cfg |= 1 << 7;
- cfg |= 1 << 3;
- cfg |= 1 << 4;
- cfg |= 1 << 5;
- cfg |= 1 << 6;
- cfg |= 1 << 6;
- cfg |= 1 << 7;
- cfg |= 1 << 7;
Could we get some symbolic names for these please?
Looks like a helper to read/modify/write a p2wi register would reduce the repetition a fair bit.
Ian.