Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | sunxi: axp221: Fix using the wrong register address for ALDO2 | Hans de Goede | 2015-01-06 | -1/+1 |
| | | | | | | | | This fixes us never programming ALDO2, and programming the ALDO2 voltage into ALDo1. Reported-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> | |||
* | sun6i: Add basic axp221 driver | Oliver Schinagl | 2014-11-13 | -0/+50 |
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> Acked-by: Ian Campbell <ijc@hellion.org.uk> -- Changes in v2: -Rebase Changes in v3: -Add support for all dldo and aldo-s -Add Kconfig option to select building AXP221 and to select voltage of dldo and aldo-s Changes in v4: -Add axp221_setbits helper function -Use symbolic names for enabled bits in CTRL1 - CTRL3 registers |