WSL2-Linux-Kernel/include/linux/mfd
Philipp Zabel a318c24322 mfd: da9063: Fix DT probing with constraints
Commit 1c892e38ce ("regulator: da9063: Handle less LDOs on DA9063L")
reordered the da9063_regulator_info[] array, but not the DA9063_ID_*
regulator ids and not the da9063_matches[] array, because ids are used
as indices in the array initializer. This mismatch between regulator id
and da9063_regulator_info[] array index causes the driver probe to fail
because constraints from DT are not applied to the correct regulator:

  da9063 0-0058: Device detected (chip-ID: 0x61, var-ID: 0x50)
  DA9063_BMEM: Bringing 900000uV into 3300000-3300000uV
  DA9063_LDO9: Bringing 3300000uV into 2500000-2500000uV
  DA9063_LDO1: Bringing 900000uV into 3300000-3300000uV
  DA9063_LDO1: failed to apply 3300000-3300000uV constraint(-22)

This patch reorders the DA9063_ID_* as apparently intended, and with
them the entries in the da90630_matches[] array.

Fixes: 1c892e38ce ("regulator: da9063: Handle less LDOs on DA9063L")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2018-09-10 16:58:36 +01:00
..
abx500 power: supply: ab8500: Drop AB8540/9540 support 2018-04-25 23:49:44 +02:00
arizona mfd: arizona: Update reset pin to use GPIOD 2018-05-16 09:21:48 +01:00
da9052
da9055 regulator: da9055: Pass descriptor instead of GPIO number 2018-02-16 17:05:45 +00:00
da9062
da9063 mfd: da9063: Fix DT probing with constraints 2018-09-10 16:58:36 +01:00
da9150
madera mfd: madera: Add register definitions for accessory detect 2018-08-16 10:14:05 +01:00
mt6323
mt6397
pcf50633
samsung regulator: s5m8767: Pass descriptor instead of GPIO number 2018-05-24 16:50:42 +01:00
syscon ARM: imx: enable bus auto clock gating function for i.mx6sll 2018-07-03 15:13:44 +08:00
wm831x
wm8350 ASoC: wm8350: remove snd_soc_codec 2018-04-16 11:53:36 +01:00
wm8994 mfd: wm8994: Allow to configure CS/ADDR Pulldown from dts 2018-07-27 08:13:25 +01:00
88pm80x.h
88pm860x.h
aat2870.h
ab3100.h
abx500.h power: supply: ab8500: Drop AB8540/9540 support 2018-04-25 23:49:44 +02:00
ac100.h
adp5520.h
altera-a10sr.h
as3711.h backlight: as3711_bl: Fix Device Tree node leaks 2018-06-11 13:40:45 +01:00
as3722.h mfd: as3722: Disable auto-power-on when AC OK 2018-07-27 08:16:01 +01:00
asic3.h
atmel-hlcdc.h
axp20x.h mfd: axp20x: Correct AXP806 POK interrupt prefix 2018-05-16 09:21:48 +01:00
bcm590xx.h
bd9571mwv.h mfd: bd9571mwv: Add DDR Backup Power register bit definitions 2018-04-23 17:53:41 +01:00
core.h
cros_ec.h mfd: cros-ec: Increase maximum mkbp event size 2018-07-13 08:44:31 +01:00
cros_ec_commands.h Immutable branch (mfd, chrome) due for the v4.19 window 2018-07-27 08:11:37 +01:00
cros_ec_lpc_mec.h
cros_ec_lpc_reg.h
da8xx-cfgchip.h
da903x.h
davinci_voicecodec.h
db8500-prcmu.h
dbx500-prcmu.h
dln2.h
dm355evm_msp.h
ds1wm.h
ezx-pcap.h
hi655x-pmic.h
hi6421-pmic.h
htc-pasic3.h
imx25-tsadc.h
intel_msic.h
intel_soc_pmic.h
intel_soc_pmic_bxtwc.h
ipaq-micro.h
janz.h
kempld.h
lm3533.h
lp873x.h
lp3943.h
lp8788-isink.h
lp8788.h regulator: lp8788-ldo: Pass descriptor instead of GPIO number 2018-05-24 16:50:31 +01:00
lp87565.h
lpc_ich.h
max8907.h
max8925.h
max8997-private.h
max8997.h
max8998-private.h
max8998.h
max14577-private.h
max14577.h
max77620.h
max77686-private.h
max77686.h
max77693-common.h
max77693-private.h
max77693.h
max77843-private.h
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
motorola-cpcap.h
mxs-lradc.h
palmas.h mfd: palmas: Assign the right powerhold mask for tps65917 2018-01-08 11:03:34 +00:00
qcom_rpm.h
rave-sp.h mfd: rave-sp: Add legacy EEPROM access command translation 2018-07-27 08:13:25 +01:00
rc5t583.h
rdc321x.h
retu.h
rk808.h
rn5t618.h
rohm-bd718x7.h mfd: bd71837: Core driver for ROHM BD71837 PMIC 2018-08-16 10:13:37 +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 mfd: stm32-timers: Fix pwm-stm32 linker issue with COMPILE_TEST 2018-06-04 07:14:17 +01:00
stmpe.h
stw481x.h
sun4i-gpadc.h
syscon.h
t7l66xb.h
tc3589x.h
tc6387xb.h
tc6393xb.h
ti-lmu-register.h
ti-lmu.h
ti_am335x_tscadc.h
tmio.h mmc: tmio: add eMMC HS400 mode support 2018-07-16 11:21:45 +02:00
tps6105x.h
tps6507x.h
tps6586x.h regulator: tps6586x: Add support for TPS658624 2018-04-20 11:44:34 +01:00
tps65010.h
tps65086.h
tps65090.h regulator: tps65090: Pass descriptor instead of GPIO number 2018-05-24 16:50:49 +01:00
tps65217.h
tps65218.h mfd: tps65218: Reorder tps65218_regulator_id enum 2018-05-16 09:21:48 +01:00
tps65910.h
tps65912.h
tps68470.h mfd: Update to SPDX license identifier 2018-05-16 09:21:48 +01:00
tps80031.h
twl.h
twl4030-audio.h
twl6040.h
ucb1x00.h
viperboard.h
wl1273-core.h
wm97xx.h
wm8400-audio.h
wm8400-private.h
wm8400.h