mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 05:36:53 +07:00
fd742eaab8
This finalizes the descriptor conversion of the MAX8952 driver by letting the VID0 and VID1 GPIOs be fetched from descriptors. Both VID0 and VID1 must be supplied for the VID selection to work, I add some code to preserve the semantics that if only one of the two VID gpios is supplied, it will be initialized to low. This might be a bit overzealous, but I want to preserve any implicit semantics. This is currently only used by device tree in-kernel but it is still also possible to supply the same GPIOs using a machine descriptor table if a board file is used. Ideally this should be phased over to using gpio-regulator.c that does the same thing, but it might require some refactoring and needs testing on real hardware. Cc: Tomasz Figa <tfiga@chromium.org> Cc: MyungJoo Ham <myungjoo.ham@samsung.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
ab8500.h | ||
act8865.h | ||
arizona-ldo1.h | ||
arizona-micsupp.h | ||
consumer.h | ||
da9211.h | ||
db8500-prcmu.h | ||
driver.h | ||
fan53555.h | ||
fixed.h | ||
gpio-regulator.h | ||
lp872x.h | ||
lp3971.h | ||
lp3972.h | ||
machine.h | ||
max1586.h | ||
max8649.h | ||
max8660.h | ||
max8952.h | ||
max8973-regulator.h | ||
mt6311.h | ||
mt6323-regulator.h | ||
mt6380-regulator.h | ||
mt6397-regulator.h | ||
of_regulator.h | ||
pfuze100.h | ||
tps6507x.h | ||
tps51632-regulator.h | ||
tps62360.h | ||
userspace-consumer.h |