mirror of https://github.com/hak5/openwrt.git
parent
ff078dadf8
commit
69dfa15155
|
@ -286,12 +286,15 @@ static struct spi_board_info qi_lb60_spi_board_info[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Battery */
|
/* Battery */
|
||||||
static struct jz_batt_info qi_lb60_battery_pdata = {
|
static struct jz_battery_platform_data qi_lb60_battery_pdata = {
|
||||||
.charg_stat_gpio = GPIO_CHARG_STAT_N,
|
.gpio_charge = GPIO_CHARG_STAT_N,
|
||||||
|
.gpio_charge_active_low = 1,
|
||||||
.min_voltag = 3600000,
|
.info = {
|
||||||
.max_voltag = 4200000,
|
.name = "battery",
|
||||||
.batt_tech = POWER_SUPPLY_TECHNOLOGY_LIPO,
|
.technology = POWER_SUPPLY_TECHNOLOGY_LIPO,
|
||||||
|
.voltage_max_design = 4200000,
|
||||||
|
.voltage_min_design = 3600000,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *qi_lb60_batteries[] = {
|
static char *qi_lb60_batteries[] = {
|
||||||
|
|
Loading…
Reference in New Issue