]> git.sur5r.net Git - u-boot/commit
power: regulator: Add ctrl_reg and volt_reg fields for pmic
authorKeerthy <j-keerthy@ti.com>
Fri, 30 Sep 2016 03:50:42 +0000 (09:20 +0530)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Oct 2016 16:17:04 +0000 (10:17 -0600)
commit34514b8b9ce287e2b8e90c77974889d8c53656fe
tree4425aed5ab580cce59ba279a70475b8600eeecd3
parent477dfe2ffc45720462ff0baca82076d704b785df
power: regulator: Add ctrl_reg and volt_reg fields for pmic

The ctrl reg contains bit fields to enable and disable regulators,
and volt_reg has the bit fields to configure the voltage values.
The registers are frequently accessed hence make them part
of dm_regulator_uclass_platdata structure.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/power/regulator.h