]> www.infradead.org Git - users/jedix/linux-maple.git/commit
regulator: Add support for power budget
authorKory Maincent <kory.maincent@bootlin.com>
Wed, 15 Jan 2025 14:41:57 +0000 (15:41 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jan 2025 17:48:54 +0000 (17:48 +0000)
commit42d7c87b4e1251f36eceac987e74623e7cda8577
treed438d89f6edc45a9844c7cab351e47dd489663b4
parentc3ad22ad34f81a8906dba02ea8cc9756d2ce7b50
regulator: Add support for power budget

Introduce power budget management for the regulator device. Enable tracking
of available power capacity by providing helpers to request and release
power budget allocations.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20250115-feature_regulator_pw_budget-v2-1-0a44b949e6bc@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
drivers/regulator/of_regulator.c
include/linux/regulator/consumer.h
include/linux/regulator/driver.h
include/linux/regulator/machine.h