regulator: tps65090: Allow setting the overcurrent wait time
[cascardo/linux.git] / include / linux / mfd / tps65090.h
index 3f43069..f25adfa 100644 (file)
@@ -78,11 +78,16 @@ struct tps65090 {
  *     DCDC1, DCDC2 and DCDC3.
  * @gpio: Gpio number if external control is enabled and controlled through
  *     gpio.
+ * @overcurrent_wait_valid: True if the overcurrent_wait should be applied.
+ * @overcurrent_wait: Value to set as the overcurrent wait time.  This is the
+ *     actual bitfield value, not a time in ms (valid value are 0 - 3).
  */
 struct tps65090_regulator_plat_data {
        struct regulator_init_data *reg_init_data;
        bool enable_ext_control;
        int gpio;
+       bool overcurrent_wait_valid;
+       int overcurrent_wait;
 };
 
 struct tps65090_platform_data {