OSDN Git Service

regulator: fixed/gpio: Pull inversion/OD into gpiolib
[uclinux-h8/linux.git] / include / linux / regulator / fixed.h
index 1a4340e..f10140d 100644 (file)
@@ -25,14 +25,6 @@ struct regulator_init_data;
  * @input_supply:      Name of the input regulator supply
  * @microvolts:                Output voltage of regulator
  * @startup_delay:     Start-up time in microseconds
- * @gpio_is_open_drain: Gpio pin is open drain or normal type.
- *                     If it is open drain type then HIGH will be set
- *                     through PULL-UP with setting gpio as input
- *                     and low will be set as gpio-output with driven
- *                     to low. For non-open-drain case, the gpio will
- *                     will be in output and drive to low/high accordingly.
- * @enable_high:       Polarity of enable GPIO
- *                     1 = Active high, 0 = Active low
  * @enabled_at_boot:   Whether regulator has been enabled at
  *                     boot or not. 1 = Yes, 0 = No
  *                     This is used to keep the regulator at
@@ -48,8 +40,6 @@ struct fixed_voltage_config {
        const char *input_supply;
        int microvolts;
        unsigned startup_delay;
-       unsigned gpio_is_open_drain:1;
-       unsigned enable_high:1;
        unsigned enabled_at_boot:1;
        struct regulator_init_data *init_data;
 };