linux-xiaomi-chiron/include/linux/mfd
Dave Gerlach efc9b2048c mfd: tps65218: Reorder tps65218_regulator_id enum
Commit 2dc4940360 ("regulator: tps65218: Remove all the compatibles")
changes the probe function of drivers/regulator/tps65218-regulator.c so
that it iterates through all available regulators and assumes that the
regulator IDs are sequential and match the order present in the enum
tps65218_regulator_id. However, for some reason the much older commit
c0ea88b890 ("regulator: tps65218: add support for LS3 current
regulator") updated all arrays with LS3 at the end but added it second
to last for the enum.

Because of this long standing mismatch in order between the
tps65218_regulator_id enum and the regulator_desc array in the tps65218
regulator driver, the new probe function causes the strobe values to be
associated with the wrong regulator ID. This causes LDO1 to fail to
suspend in tps65218_pmic_set_suspend_disable due to not having anything
probes for its strobe value. Fix the order in the enum so the probe
function works as the update intended.

Fixes: 2dc4940360 ("regulator: tps65218: Remove all the compatibles")
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2018-05-16 09:21:48 +01:00
..
abx500 mfd: abx500: Fix spelling mistake: "Celcius" -> "Celsius" 2017-02-13 09:29:41 +00:00
arizona ASoC: arizona: Add support for setting the output volume limits 2017-09-20 17:34:35 +01:00
da9052 mfd: da9052: Add register details for TSI 2017-08-22 08:44:37 +01:00
da9055 regulator: da9055: Pass descriptor instead of GPIO number 2018-02-16 17:05:45 +00:00
da9062 mfd: Add support for DA9061 2017-04-27 09:25:07 +01:00
da9063 mfd: da9063: Update author information to remove incorrect e-mail addresses 2016-10-04 15:48:01 +01:00
da9150
mt6323 mfd: mt6397: Add MT6323 support to MT6397 driver 2016-03-16 08:50:30 +00:00
mt6397 mfd: mt6397: int_con and int_status may vary in location 2016-03-16 08:50:28 +00:00
pcf50633 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
samsung rtc: s5m: Move enum from rtc.h to rtc-s5m.c 2018-03-17 14:20:56 +01:00
syscon mfd: syscon: Remove unused Exynos PMU headers 2018-05-16 09:21:48 +01:00
wm831x mfd: wm831x: Add basic device tree binding 2017-03-23 11:45:50 +00:00
wm8350 leds: wm8350: Remove work queue 2016-01-04 09:57:35 +01:00
wm8994
88pm80x.h mfd: 88pm80x: Double shifting bug in suspend/resume 2016-10-04 15:48:02 +01:00
88pm860x.h
aat2870.h
ab3100.h
abx500.h mfd: abx500: Fix spelling mistake: "Celcius" -> "Celsius" 2017-02-13 09:29:41 +00:00
ac100.h mfd: ac100: Add driver for X-Powers AC100 audio codec / RTC combo IC 2016-08-08 12:53:26 +01:00
adp5520.h
altera-a10sr.h mfd: altr_a10sr: Add Altera Arria10 DevKit System Resource Chip 2016-06-29 10:14:37 +01:00
as3711.h mfd: as3711: Set regmap config reg counts properly 2016-03-16 08:50:34 +00:00
as3722.h regulator: as3722: Add bypass support for LDO6 2016-04-11 15:15:36 +01:00
asic3.h
atmel-hlcdc.h
axp20x.h First round of new devices, features and cleanups for IIO in the 4.17 cycle. 2018-02-20 10:23:17 +01:00
bcm590xx.h
bd9571mwv.h mfd: Add ROHM BD9571MWV-M MFD PMIC driver 2017-09-05 08:46:00 +01:00
core.h - New Drivers 2016-05-20 11:10:24 -07:00
cros_ec.h platform/chrome: mfd/cros_ec_dev: Add sysfs entry to set keyboard wake lid angle 2018-04-10 22:25:07 -07:00
cros_ec_commands.h platform/chrome: cros_ec_debugfs: Add PD port info to debugfs 2018-04-10 22:24:51 -07:00
cros_ec_lpc_mec.h platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00
cros_ec_lpc_reg.h platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00
da8xx-cfgchip.h mfd: da8xx-cfgchip: New header file for CFGCHIP registers 2016-08-12 14:59:10 +05:30
da903x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
davinci_voicecodec.h mfd: davinci_voicecodec: Tidyup header difinitions 2016-11-29 08:21:27 +00:00
db8500-prcmu.h mfd: db8500-prcmu: Remove unused *prcmu_set_ddr_opp() calls 2016-10-04 15:48:05 +01:00
dbx500-prcmu.h mfd: db8500-prcmu: Remove unused *prcmu_set_ddr_opp() calls 2016-10-04 15:48:05 +01:00
dln2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dm355evm_msp.h mfd: dm355evm_msp: Move header file out of I2C realm 2017-08-15 08:06:14 +01:00
ds1wm.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ezx-pcap.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hi655x-pmic.h mfd: hi655x-pmic: Rename some interrupt macro names 2016-06-29 10:14:41 +01:00
hi6421-pmic.h mfd: hi6421-pmic: Add support for HiSilicon Hi6421v530 2017-09-05 08:46:00 +01:00
htc-pasic3.h
imx25-tsadc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
intel_msic.h
intel_soc_pmic.h mfd: intel_soc_pmic_bxtwc: Use chained IRQs for second level IRQ chips 2017-06-19 15:45:01 +01:00
intel_soc_pmic_bxtwc.h mfd: intel_soc_pmic_bxtwc: Rename header to follow c-file 2017-04-27 09:25:05 +01:00
ipaq-micro.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
janz.h
kempld.h
lm3533.h
lp873x.h mfd: lp873x: Remove unused mutex lock from struct lp873x 2016-10-04 15:48:04 +01:00
lp3943.h Revert "gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free" 2016-03-09 22:00:27 +07:00
lp8788-isink.h
lp8788.h
lp87565.h mfd: Add LP87565 PMIC support 2017-07-06 08:29:13 +01:00
lpc_ich.h mfd: lpc_ich: Add support for SPI serial flash host controller 2017-01-03 17:34:15 +00:00
max8907.h
max8925.h
max8997-private.h
max8997.h
max8998-private.h
max8998.h
max14577-private.h mfd: max14577: Change Krzysztof Kozlowski's email to kernel.org 2016-10-04 15:48:02 +01:00
max14577.h mfd: max14577: Change Krzysztof Kozlowski's email to kernel.org 2016-10-04 15:48:02 +01:00
max77620.h regulator: max77620: add support to configure MPOK 2016-11-23 16:27:24 +00:00
max77686-private.h rtc: max77686: move initialisation of rtc regmap, irq chip locally 2016-03-14 17:08:13 +01:00
max77686.h
max77693-common.h
max77693-private.h
max77693.h
max77843-private.h extcon: max77843: Add support for SmartDock accessory 2017-10-24 09:48:54 +09:00
mc13xxx.h hwmon: MC13783: Add uid and die temperature sensor inputs 2018-04-16 13:01:36 +01:00
mc13783.h
mc13892.h
mcp.h
menelaus.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
motorola-cpcap.h Merge branches 'ib-mfd-gpio-4.12', 'ib-mfd-iio-input-4.12', 'ib-mfd-input-4.12', 'ib-mfd-leds-4.12', 'ib-mfd-phy-4.12' and 'ib-mfd-pinctrl-samsung-4.12' into ibs-for-mfd-merged 2017-04-27 09:24:41 +01:00
mxs-lradc.h mfd: mxs-lradc: Add support for mxs-lradc 2017-03-23 12:28:28 +00:00
palmas.h mfd: palmas: Assign the right powerhold mask for tps65917 2018-01-08 11:03:34 +00:00
qcom_rpm.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rave-sp.h mfd: Add driver for RAVE Supervisory Processor 2018-01-08 10:08:35 +00:00
rc5t583.h mfd: rc5t583: Set regmap config reg counts properly 2016-03-16 08:50:34 +00:00
rdc321x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
retu.h
rk808.h mfd: rk808: Add rk805 regs addr and ID 2017-08-21 08:54:05 +01:00
rn5t618.h regulator: rn5t618: add RC5T619 PMIC support 2017-08-27 15:28:31 +01:00
rt5033-private.h
rt5033.h
si476x-core.h
si476x-platform.h
si476x-reports.h
sky81452.h
smsc.h
sta2x11-mfd.h
stm32-lptimer.h mfd: stm32: Adopt SPDX identifier 2018-01-08 11:03:35 +00:00
stm32-timers.h pwm: stm32: Use input prescaler to improve period capture 2018-05-16 09:11:19 +01:00
stmpe.h mfd: Add STMPE1600 support 2016-08-10 09:25:18 +01:00
stw481x.h
sun4i-gpadc.h iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor 2017-04-08 17:35:47 +01:00
syscon.h mfd: syscon: Include errno.h from header 2016-04-11 13:31:40 +01:00
t7l66xb.h
tc3589x.h
tc6387xb.h
tc6393xb.h
ti-lmu-register.h mfd: Add TI LMU driver 2017-04-27 09:25:04 +01:00
ti-lmu.h mfd: Add TI LMU driver 2017-04-27 09:25:04 +01:00
ti_am335x_tscadc.h drivers: iio: ti_am335x_adc: add dma support 2016-11-05 17:32:05 +00:00
tmio.h mmc: tmio: remove TMIO_MMC_WRPROTECT_DISABLE 2018-03-05 09:09:04 +01:00
tps6105x.h
tps6507x.h
tps6586x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tps65010.h mfd: tps65010: Move header file out of I2C realm 2017-08-15 08:27:22 +01:00
tps65086.h mfd: tps65086: Add driver for the TPS65086 PMIC 2016-03-16 08:50:15 +00:00
tps65090.h mfd: tps65090: Set regmap config reg counts properly 2016-03-16 08:50:36 +00:00
tps65217.h mfd: tps65217: Introduce dependency on CONFIG_OF 2017-10-13 10:42:58 +01:00
tps65218.h mfd: tps65218: Reorder tps65218_regulator_id enum 2018-05-16 09:21:48 +01:00
tps65910.h regulator: tps65910: wire up sleep control configuration 2017-06-15 18:23:27 +01:00
tps65912.h mfd: tps65912: Move regmap config into core driver 2016-11-29 08:21:21 +00:00
tps68470.h mfd: Add support for TPS68470 device 2017-09-05 08:46:01 +01:00
tps80031.h
twl.h mfd: twl: Move header file out of I2C realm 2017-09-04 14:41:02 +01:00
twl4030-audio.h
twl6040.h mfd: twl6040: Register child device for twl6040-pdmclk 2016-10-04 15:48:05 +01:00
ucb1x00.h
viperboard.h
wl1273-core.h
wm97xx.h mfd: wm97xx-core: core support for wm97xx Codec 2017-09-19 17:07:24 +01:00
wm8400-audio.h
wm8400-private.h mfd: wm8400-core: Delete wm8400_reg_read() 2016-05-09 08:20:45 +01:00
wm8400.h