hc
2023-08-30 862c27fc9920c83318c784bfdadf43a65df1ec8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
config DM_FUEL_GAUGE
   bool "Enable driver model fuel gauge support"
   depends on DM
   help
     This adds a simple uclass for fuel gauge.
 
config SPL_DM_FUEL_GAUGE
   bool "Enable driver model fuel gauge support"
   depends on SPL_DM
   help
     This adds a simple uclass for fuel gauge.
 
config POWER_FG_CW201X
   bool "CW201X Fuel gauge support"
   depends on DM_FUEL_GAUGE
   help
     This adds support for CW201X fuel gauge support.
 
config POWER_FG_CW221X
   bool "CW221X Fuel gauge support"
   depends on DM_FUEL_GAUGE
   help
     This adds support for CW221X fuel gauge support.
 
config SPL_POWER_FG_CW201X
   bool "CW201X Fuel gauge support"
   depends on SPL_DM_FUEL_GAUGE
   help
     This adds support for CW201X fuel gauge support.
 
config POWER_FG_RK818
   bool "RK818 Fuel gauge support"
   depends on DM_FUEL_GAUGE && PMIC_RK8XX
   help
     This adds support for RK818 fuel gauge support.
 
config SPL_POWER_FG_RK818
   bool "RK818 Fuel gauge support"
   depends on SPL_DM_FUEL_GAUGE && PMIC_RK8XX
   help
     This adds support for RK818 fuel gauge support.
 
config POWER_FG_RK817
   bool "RK817 Fuel gauge support"
   depends on DM_FUEL_GAUGE && PMIC_RK8XX
   help
     This adds support for RK817 fuel gauge support.
 
config SPL_POWER_FG_RK817
   bool "RK817 Fuel gauge support"
   depends on SPL_DM_FUEL_GAUGE && PMIC_RK8XX
   help
     This adds support for RK817 fuel gauge support.
 
config POWER_FG_RK816
   bool "RK816 Fuel gauge support"
   depends on DM_FUEL_GAUGE && PMIC_RK8XX
   help
     This adds support for RK816 fuel gauge support.
 
config SPL_POWER_FG_RK816
   bool "RK816 Fuel gauge support"
   depends on DM_FUEL_GAUGE && PMIC_RK8XX
   help
     This adds support for RK816 fuel gauge support.
 
config SPL_POWER_LOW_VOLTAGE_THRESHOLD
   int "Set the low voltage threshold"
   default 3400
   depends on SPL_DM_FUEL_GAUGE
   help
     Set the low voltage threshold. If the voltage, which is detected,
     is lower than the low voltage threshold, load and boot the U-Boot
     and goto charge the power.