xref: /rk3399_rockchip-uboot/include/power/charge_animation.h (revision 8dd9db5d1cd5826638c3cdb5f681300ff2f29f3b)
1 /*
2  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6 
7 #ifndef _CHARGE_ANIMATION_H_
8 #define _CHARGE_ANIMATION_H_
9 
10 struct charge_animation_pdata {
11 	int android_charge;	/* android charge, 1: enable, 0: disable */
12 	int uboot_charge;	/* u-boot charge, 1: enable, 0: disable */
13 
14 	int exit_charge_voltage;/* lowest voltage allowed to exit charging */
15 	int exit_charge_level;  /* lowest soc level allowed to exit charging */
16 	int low_power_voltage;	/* below this voltage, force system into charge mode anyway */
17 	int screen_on_voltage;	/* lowest voltage allowed to turn on screen */
18 
19 	int system_suspend;	/* enter ATF system suspend, 1: enable, 0: disable */
20 	int auto_wakeup_interval;/* timeout seconds to auto wakeup system */
21 	int auto_wakeup_screen_invert;/* auto wakeup system, 1: enable, 0: disable */
22 	int auto_off_screen_interval;/* timeout seconds to auto turn off screen */
23 };
24 
25 #endif
26