/* The FSEAL bit prevents the PMIC from turning off DCDC5 and DCDC6. It can be toggled at most 3 times: 0->1, 1->0, and finally 0->1. After the third switch its value is locked and can only be reset by powering off the PMIC entirely. */
int tps65218_lock_fseal(void)
/* The FSEAL bit prevents the PMIC from turning off DCDC5 and DCDC6. It can be toggled at most 3 times: 0->1, 1->0, and finally 0->1. After the third switch its value is locked and can only be reset by powering off the PMIC entirely. */
int tps65218_lock_fseal(void)
{
	int i;
	for (i = 0; i < 3; i++)
		if (tps65218_toggle_fseal())
			return -EBADE;
	return 0;
}