summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/power/regulator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/power/regulator.h b/include/power/regulator.h
index 911956c0b95..f47ab6740bd 100644
--- a/include/power/regulator.h
+++ b/include/power/regulator.h
@@ -153,6 +153,8 @@ enum regulator_flag {
* TODO(sjg@chromium.org): Consider putting the above two into @flags
* @flags: - flags value (see REGULATOR_FLAG_...)
* @name** - fdt regulator name - should be taken from the device tree
+ * ctrl_reg: - Control register offset used to enable/disable regulator
+ * volt_reg: - register offset for writing voltage vsel values
*
* Note:
* * - set automatically on device probe by the uclass's '.pre_probe' method.
@@ -172,6 +174,8 @@ struct dm_regulator_uclass_platdata {
bool boot_on;
const char *name;
int flags;
+ u8 ctrl_reg;
+ u8 volt_reg;
};
/* Regulator device operations */