···11/*22 * da9211-regulator.h - Regulator definitions for DA9211/DA921233- * /DA9213/DA9214/DA921533+ * /DA9213/DA9223/DA9214/DA9224/DA9215/DA922544 * Copyright (C) 2015 Dialog Semiconductor Ltd.55 *66 * This program is free software; you can redistribute it and/or
+1-1
drivers/regulator/tps65218-regulator.c
···154154155155 if (!tps->strobes[rid]) {156156 if (rid == TPS65218_DCDC_3)157157- tps->info[rid]->strobe = 3;157157+ tps->strobes[rid] = 3;158158 else159159 return -EINVAL;160160 }
-19
include/linux/mfd/tps65218.h
···246246};247247248248/**249249- * struct tps_info - packages regulator constraints250250- * @id: Id of the regulator251251- * @name: Voltage regulator name252252- * @min_uV: minimum micro volts253253- * @max_uV: minimum micro volts254254- * @strobe: sequencing strobe value for the regulator255255- *256256- * This data is used to check the regualtor voltage limits while setting.257257- */258258-struct tps_info {259259- int id;260260- const char *name;261261- int min_uV;262262- int max_uV;263263- int strobe;264264-};265265-266266-/**267249 * struct tps65218 - tps65218 sub-driver chip access routines268250 *269251 * Device data may be used to access the TPS65218 chip···262280 u32 irq_mask;263281 struct regmap_irq_chip_data *irq_data;264282 struct regulator_desc desc[TPS65218_NUM_REGULATOR];265265- struct tps_info *info[TPS65218_NUM_REGULATOR];266283 struct regmap *regmap;267284 u8 *strobes;268285};
+4-1
include/linux/regulator/da9211.h
···11/*22 * da9211.h - Regulator device driver for DA9211/DA921233- * /DA9213/DA9214/DA921533+ * /DA9213/DA9223/DA9214/DA9224/DA9215/DA922544 * Copyright (C) 2015 Dialog Semiconductor Ltd.55 *66 * This program is free software; you can redistribute it and/or···2525 DA9211,2626 DA9212,2727 DA9213,2828+ DA9223,2829 DA9214,3030+ DA9224,2931 DA9215,3232+ DA9225,3033};31343235struct da9211_pdata {