commit | 4d96cd0cb5cc90640195fa41eba466ae131ef4a7 | [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 | 17b3fe78735cf1d989add35526293bd11957f3ca [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>