mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
power: act8846_pmic: fix number of registers
The highest register on ACT8846 is 0xf5, so set the number of registers to 0xf6, ensuring that the pmic read/write commands are able to access all of the supported registers (and many that are not valid, since the register space is quite sparse). Signed-off-by: John Keeping <john@metanate.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
parent
30db474704
commit
519fa7aa25
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <asm/gpio.h>
|
||||
|
||||
#define ACT8846_NUM_OF_REGS 12
|
||||
#define ACT8846_NUM_OF_REGS 0xf6
|
||||
|
||||
#define BUCK_VOL_MASK 0x3f
|
||||
#define LDO_VOL_MASK 0x3f
|
||||
|
|
Loading…
Add table
Reference in a new issue