/** * enum tps6105x_mode - desired mode for the TPS6105x * @TPS6105X_MODE_SHUTDOWN: this instance is inactive, not used for anything * @TPS61905X_MODE_TORCH: this instance is used as a LED, usually a while * LED, for example as backlight or flashlight. If this is set, the * TPS6105X will register to the LED framework * @TPS6105X_MODE_TORCH_FLASH: this instance is used as a flashgun, usually * in a camera * @TPS6105X_MODE_VOLTAGE: this instance is used as a voltage regulator and * will register to the regulator framework
*/ enum tps6105x_mode {
TPS6105X_MODE_SHUTDOWN,
TPS6105X_MODE_TORCH,
TPS6105X_MODE_TORCH_FLASH,
TPS6105X_MODE_VOLTAGE,
};
/** * struct tps6105x_platform_data - TPS61905x platform data * @mode: what mode this instance shall be operated in, * this is not selectable at runtime * @regulator_data: initialization data for the voltage * regulator if used as a voltage source
*/ struct tps6105x_platform_data { enum tps6105x_mode mode; struct regulator_init_data *regulator_data;
};
/** * struct tps6105x - state holder for the TPS6105x drivers * @i2c_client: corresponding I2C client * @regulator: regulator device if used in voltage mode * @regmap: used for i2c communcation on accessing registers
*/ struct tps6105x { struct tps6105x_platform_data *pdata; struct i2c_client *client; struct regulator_dev *regulator; struct regmap *regmap;
};
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.