commit | 34514b8b9ce287e2b8e90c77974889d8c53656fe | [log] [tgz] |
---|---|---|
author | Keerthy <j-keerthy@ti.com> | Fri Sep 30 09:20:42 2016 +0530 |
committer | Simon Glass <sjg@chromium.org> | Tue Oct 11 10:17:04 2016 -0600 |
tree | 4425aed5ab580cce59ba279a70475b8600eeecd3 | |
parent | 477dfe2ffc45720462ff0baca82076d704b785df [diff] |
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>