]> git.sur5r.net Git - u-boot/commitdiff
Fixup bug in PMIC TPS65217 register address definition
authorBrock Zheng Techyauld Ltd <yzheng@techyauld.com>
Tue, 6 Jun 2017 01:06:21 +0000 (09:06 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 9 Jun 2017 11:25:16 +0000 (20:25 +0900)
The addresses of the registers in TI TPS65217 are not continuous.
     There is a gap between ENABLE(0x16) and DEFUVLO(0x18). No 0x17
     register available.

     Fixup the enum values by adding a 'reserved' placeholder to correct
     the addresses higher than 0x17.

Series-to: Heiko Schocher <hs@denx.de>
Signed-off-by: Brock Zheng Techyauld Ltd <yzheng@techyauld.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
include/power/tps65217.h

index 69a49f76fefb372b7e6b15c2eed33d4875118292..cb07ea5ce622204988bcde2f89e091d1fdbc7b5d 100644 (file)
@@ -38,6 +38,7 @@ enum {
        TPS65217_DEFLS1,
        TPS65217_DEFLS2,
        TPS65217_ENABLE,
+       TPS65217_RESERVED0, /* no 0x17 register available */
        TPS65217_DEFUVLO,
        TPS65217_SEQ1,
        TPS65217_SEQ2,