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