driver:regulator: tps6591x: sleep mode support
[linux-2.6.git] / include / linux / regulator / tps6591x-regulator.h
index ade9978..8d2801b 100644 (file)
 
 #include <linux/regulator/machine.h>
 
+enum tps6591x_ext_control {
+       EXT_CTRL_NONE = 0x0,
+       EXT_CTRL_EN1,
+       EXT_CTRL_EN2,
+       EXT_CTRL_SLEEP_OFF,
+};
+
 /*
  * struct tps6591x_regulator_platform_data - tps6591x regulator platform data.
  *
@@ -40,6 +47,7 @@ struct tps6591x_regulator_platform_data {
        int init_uV;
        unsigned init_enable:1;
        unsigned init_apply:1;
+       enum tps6591x_ext_control ectrl;
 };
 
 #endif /* __REGULATOR_TPS6591X_H */