Message ID | 1474257085-28096-2-git-send-email-j-keerthy@ti.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/include/power/regulator.h b/include/power/regulator.h index 9bcd728..57b14a3 100644 --- a/include/power/regulator.h +++ b/include/power/regulator.h @@ -171,6 +171,8 @@ struct dm_regulator_uclass_platdata { bool boot_on; const char *name; int flags; + u8 ctrl_reg; + u8 volt_reg; }; /* Regulator device operations */
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> --- include/power/regulator.h | 2 ++ 1 file changed, 2 insertions(+)