]> git.ipfire.org Git - people/ms/u-boot.git/commit
pmic: tps65218: add useful functions and defines
authorNikita Kiryanov <nikita@compulab.co.il>
Fri, 19 Feb 2016 17:19:46 +0000 (19:19 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2016 23:44:07 +0000 (18:44 -0500)
commit9bcfca123cbcf73234ba5b82e62d189d536d1ef2
treecc05fe40069ba4b4c1f6f87ccda37414776745ff
parent5dc5a8cac7fd4965c92269451819b46bc6fe4b70
pmic: tps65218: add useful functions and defines

Add the following functions:
tps65218_reg_read() for accessing redisters
tps65218_toggle_fseal() for toggling the fseal bit
tps65218_lock_fsea() for locking the fseal bit to 1

Add the following defines:
All status register bits

Cc: Tom Rini <trini@konsulko.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/power/pmic/pmic_tps65218.c
include/power/tps65218.h