mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
3b67262307
The buck9 regulator of S2MPS11 PMIC had incorrect vsel_mask (0xff instead of 0x1f) thus reading entire register as buck9's voltage. This effectively caused regulator core to interpret values as higher voltages than they were and then to set real voltage much lower than intended. The buck9 provides power to other regulators, including LDO13 and LDO19 which supply the MMC2 (SD card). On Odroid XU3/XU4 the lower voltage caused SD card detection errors on Odroid XU3/XU4: mmc1: card never left busy state mmc1: error -110 whilst initialising SD card During driver probe the regulator core was checking whether initial voltage matches the constraints. With incorrect vsel_mask of 0xff and default value of 0x50, the core interpreted this as 5 V which is outside of constraints (3-3.775 V). Then the regulator core was adjusting the voltage to match the constraints. With incorrect vsel_mask this new voltage mapped to a vere low voltage in the driver. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Tested-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: <stable@vger.kernel.org> |
||
---|---|---|
.. | ||
abx500 | ||
arizona | ||
da9052 | ||
da9055 | ||
da9062 | ||
da9063 | ||
da9150 | ||
mt6323 | ||
mt6397 | ||
pcf50633 | ||
samsung | ||
syscon | ||
wm831x | ||
wm8350 | ||
wm8994 | ||
88pm80x.h | ||
88pm860x.h | ||
aat2870.h | ||
ab3100.h | ||
abx500.h | ||
adp5520.h | ||
as3711.h | ||
as3722.h | ||
asic3.h | ||
atmel-hlcdc.h | ||
axp20x.h | ||
bcm590xx.h | ||
core.h | ||
cros_ec_commands.h | ||
cros_ec.h | ||
da903x.h | ||
davinci_voicecodec.h | ||
db8500-prcmu.h | ||
dbx500-prcmu.h | ||
dln2.h | ||
ds1wm.h | ||
ezx-pcap.h | ||
hi6421-pmic.h | ||
htc-egpio.h | ||
htc-pasic3.h | ||
imx25-tsadc.h | ||
intel_bxtwc.h | ||
intel_msic.h | ||
intel_soc_pmic.h | ||
ipaq-micro.h | ||
janz.h | ||
kempld.h | ||
lm3533.h | ||
lp3943.h | ||
lp8788-isink.h | ||
lp8788.h | ||
lpc_ich.h | ||
max8907.h | ||
max8925.h | ||
max8997-private.h | ||
max8997.h | ||
max8998-private.h | ||
max8998.h | ||
max14577-private.h | ||
max14577.h | ||
max77686-private.h | ||
max77686.h | ||
max77693-common.h | ||
max77693-private.h | ||
max77693.h | ||
max77843-private.h | ||
mc13xxx.h | ||
mc13783.h | ||
mc13892.h | ||
mcp.h | ||
menelaus.h | ||
palmas.h | ||
qcom_rpm.h | ||
rc5t583.h | ||
rdc321x.h | ||
retu.h | ||
rk808.h | ||
rn5t618.h | ||
rt5033-private.h | ||
rt5033.h | ||
rtsx_common.h | ||
rtsx_pci.h | ||
rtsx_usb.h | ||
si476x-core.h | ||
si476x-platform.h | ||
si476x-reports.h | ||
sky81452.h | ||
smsc.h | ||
sta2x11-mfd.h | ||
stmpe.h | ||
stw481x.h | ||
syscon.h | ||
t7l66xb.h | ||
tc3589x.h | ||
tc6387xb.h | ||
tc6393xb.h | ||
ti_am335x_tscadc.h | ||
tmio.h | ||
tps6105x.h | ||
tps6507x.h | ||
tps6586x.h | ||
tps65086.h | ||
tps65090.h | ||
tps65217.h | ||
tps65218.h | ||
tps65910.h | ||
tps65912.h | ||
tps80031.h | ||
twl4030-audio.h | ||
twl6040.h | ||
ucb1x00.h | ||
viperboard.h | ||
wl1273-core.h | ||
wm8400-audio.h | ||
wm8400-private.h | ||
wm8400.h |