OrangePi_CM5/include/linux/mfd
Axel Lin cfb8173a23 regulator: rt5033: Fix n_voltages settings for BUCK and LDO
[ Upstream commit 6549c46af8551b346bcc0b9043f93848319acd5c ]

For linear regulators, the n_voltages should be (max - min) / step + 1.

Buck voltage from 1v to 3V, per step 100mV, and vout mask is 0x1f.
If value is from 20 to 31, the voltage will all be fixed to 3V.
And LDO also, just vout range is different from 1.2v to 3v, step is the
same. If value is from 18 to 31, the voltage will also be fixed to 3v.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/20210627080418.1718127-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-08 09:05:22 +02:00
..
abx500 power: supply: ab8500: Fix an old bug 2021-07-19 09:45:00 +02:00
arizona
…
da9052
…
da9055 mfd: da9055: pdata.h: Drop a duplicated word 2020-08-13 07:49:59 +01:00
da9062
…
da9063 mfd: da9063: Support SMBus and I2C mode 2021-05-11 14:47:31 +02:00
da9150
…
madera
…
mt6323
…
mt6358
…
mt6397 rtc: mt6397: Remove unused member dev 2020-10-15 12:01:29 +02:00
pcf50633
…
samsung
…
syscon
…
wcd934x
…
wm831x
…
wm8350
…
wm8994
…
88pm80x.h
…
88pm860x.h
…
aat2870.h
…
ab3100.h
…
abx500.h
…
ac100.h
…
adp5520.h
…
altera-a10sr.h
…
altera-sysmgr.h
…
as3711.h
…
as3722.h
…
asic3.h
…
atmel-hlcdc.h
…
axp20x.h
…
bcm590xx.h
…
bcm2835-pm.h
…
bd9571mwv.h
…
core.h mfd: mfd-core: Add mechanism for removal of a subset of children 2020-08-13 07:50:50 +01:00
da8xx-cfgchip.h
…
da903x.h
…
davinci_voicecodec.h
…
db8500-prcmu.h
…
dbx500-prcmu.h
…
dln2.h
…
dm355evm_msp.h
…
ds1wm.h
…
ezx-pcap.h
…
gsc.h
…
hi655x-pmic.h
…
hi6421-pmic.h mfd: Replace HTTP links with HTTPS ones 2020-08-13 07:50:59 +01:00
hi6421-spmi-pmic.h staging: mfd: hi6421-spmi-pmic: get rid of interrupt properties 2020-08-18 17:05:14 +02:00
htc-pasic3.h
…
imx25-tsadc.h
…
ingenic-tcu.h
…
intel-m10-bmc.h mfd: intel-m10-bmc: Fix the register access range 2021-05-11 14:47:31 +02:00
intel_msic.h
…
intel_pmc_bxt.h
…
intel_soc_pmic.h
…
intel_soc_pmic_bxtwc.h
…
intel_soc_pmic_mrfld.h
…
ipaq-micro.h
…
iqs62x.h
…
janz.h
…
kempld.h
…
khadas-mcu.h
…
lm3533.h
…
lochnagar.h
…
lochnagar1_regs.h
…
lochnagar2_regs.h
…
lp873x.h mfd: Replace HTTP links with HTTPS ones 2020-08-13 07:50:59 +01:00
lp3943.h
…
lp8788-isink.h
…
lp8788.h
…
lp87565.h mfd: lp87565: Add LP87524-Q1 variant 2020-09-30 16:25:29 +01:00
lpc_ich.h
…
max8907.h
…
max8925.h
…
max8997-private.h
…
max8997.h
…
max8998-private.h
…
max8998.h
…
max14577-private.h
…
max14577.h
…
max77620.h
…
max77650.h
…
max77686-private.h
…
max77686.h
…
max77693-common.h
…
max77693-private.h mfd: max77693-private: Drop a duplicated word 2020-08-13 07:50:01 +01:00
max77693.h
…
max77843-private.h
…
mc13xxx.h
…
mc13783.h
…
mc13892.h
…
mcp.h
…
menelaus.h
…
motorola-cpcap.h
…
mp2629.h
…
mt6360.h
…
mxs-lradc.h
…
palmas.h
…
qcom_rpm.h
…
rave-sp.h
…
rc5t583.h
…
rdc321x.h
…
retu.h
…
rk808.h
…
rn5t618.h
…
rohm-bd718x7.h
…
rohm-bd70528.h regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting 2021-06-23 14:42:47 +02:00
rohm-bd71828.h regulator: bd71828: Fix .n_voltages settings 2021-06-16 12:01:43 +02:00
rohm-generic.h regulator: bd718x7, bd71828, Fix dvs voltage levels 2021-03-04 11:38:07 +01:00
rohm-shared.h
…
rt5033-private.h regulator: rt5033: Fix n_voltages settings for BUCK and LDO 2021-08-08 09:05:22 +02:00
rt5033.h
…
sc27xx-pmic.h
…
si476x-core.h
…
si476x-platform.h
…
si476x-reports.h
…
sky81452.h
…
sta2x11-mfd.h
…
stm32-lptimer.h
…
stm32-timers.h
…
stmfx.h
…
stmpe.h
…
stpmic1.h
…
stw481x.h
…
sun4i-gpadc.h
…
syscon.h
…
t7l66xb.h
…
tc3589x.h gpio: tc35894: Disable Direct KBD interrupts to enable gpio irq 2020-09-09 11:33:07 +02:00
tc6387xb.h
…
tc6393xb.h
…
ti-lmu-register.h
…
ti-lmu.h
…
ti_am335x_tscadc.h mfd: Replace HTTP links with HTTPS ones 2020-08-13 07:50:59 +01:00
tmio.h
…
tps6105x.h
…
tps6507x.h
…
tps6586x.h
…
tps65010.h
…
tps65086.h mfd: Replace HTTP links with HTTPS ones 2020-08-13 07:50:59 +01:00
tps65090.h
…
tps65217.h mfd: Replace HTTP links with HTTPS ones 2020-08-13 07:50:59 +01:00
tps65218.h mfd: Replace HTTP links with HTTPS ones 2020-08-13 07:50:59 +01:00
tps65910.h
…
tps65912.h mfd: Replace HTTP links with HTTPS ones 2020-08-13 07:50:59 +01:00
tps68470.h
…
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
…