diff --git a/drivers/power/supply/power_supply_sysfs.c b/drivers/power/supply/power_supply_sysfs.c index 8a4d97b657f4..b6f790055ed9 100644 --- a/drivers/power/supply/power_supply_sysfs.c +++ b/drivers/power/supply/power_supply_sysfs.c @@ -456,6 +456,7 @@ static struct device_attribute power_supply_attrs[] = { POWER_SUPPLY_ATTR(chip_version), POWER_SUPPLY_ATTR(therm_icl_limit), POWER_SUPPLY_ATTR(dc_reset), + POWER_SUPPLY_ATTR(voltage_max_limit), /* Charge pump properties */ POWER_SUPPLY_ATTR(cp_status1), POWER_SUPPLY_ATTR(cp_status2), diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 41f591837ef6..08f543526068 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -328,6 +328,7 @@ enum power_supply_property { POWER_SUPPLY_PROP_CHIP_VERSION, POWER_SUPPLY_PROP_THERM_ICL_LIMIT, POWER_SUPPLY_PROP_DC_RESET, + POWER_SUPPLY_PROP_VOLTAGE_MAX_LIMIT, /* Charge pump properties */ POWER_SUPPLY_PROP_CP_STATUS1, POWER_SUPPLY_PROP_CP_STATUS2,