Re: [PATCH] mfd: mc13xxx: VGEN1 and VGEN2 voltage bits positioned in "Regulator Setting 0" register

Alexander Shiyan shc_work at
Thu Jun 30 00:02:20 PDT 2016

>Четверг, 30 июня 2016, 9:42 +03:00 от Sascha Hauer <s.hauer at>:
>Hi ALexander,
>On Wed, Jun 29, 2016 at 07:26:02PM +0300, Alexander Shiyan wrote:
>> The bits VGEN10-11 and VGEN20-22 is positioned in the Regulator Setting 0
>> register. This patch fixes these definitions and board (Efika MX), which
>> uses this voltages.
>> Signed-off-by: Alexander Shiyan < shc_work at >
>Have you tested this on real hardware? The register definitions may be
>wrong, but I'm unsure if the actual register writes may be right. It
>could be that I decoded binary register values (from U-Boot maybe) to
>the symbols we actually had.


Yes, this has been tested on i.MX51 based board with MC13892.
The same definitions is used in kernel (regulator/mc13892-regulator.c).


More information about the barebox mailing list