u-boot-brain/drivers/power/regulator
Mark Kettenis e88d6979d1 regulator: fix: enable gpio when requested
The fix in commit b7adcdd073 has the side-effect that the regulator
will be disabled when requesting the relevant gpio in
regulator_common_ofdata_to_platdata() and enabled in
regulator_pre_probe() when the regulator was already enabled.
This leads to a short interruption in the 3.3V power to the PCIe
slot on the firefly-rk3399 which makes an ADATA SX8000NP NVMe SSD
unhappy.

Fix this by setting the GPIOD_IS_OUT_ACTIVE flag again when the
'regulator-boot-on' property is set, but check for this property
explicitly instead of relying on the "boot_on" member of
the uclass platdata.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Tested-by: Patrice Chotard <patrice.chotard@st.com>
2020-06-15 16:37:01 -04:00
..
act8846.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
as3722_regulator.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bd71837.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
da9063.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
fan53555.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
fixed.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
gpio-regulator.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig power: regulator: add driver for Dialog DA9063 PMIC 2020-01-27 19:54:20 -05:00
lp873x_regulator.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lp87565_regulator.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile power: regulator: add driver for Dialog DA9063 PMIC 2020-01-27 19:54:20 -05:00
max77686.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
palmas_regulator.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pbias_regulator.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
pfuze100.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pwm_regulator.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
regulator_common.c regulator: fix: enable gpio when requested 2020-06-15 16:37:01 -04:00
regulator_common.h regulator: Factor out common enable code 2019-07-18 11:31:24 -04:00
regulator-uclass.c regulator: fix: enable gpio when requested 2020-06-15 16:37:01 -04:00
rk8xx.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
s2mps11_regulator.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
s5m8767.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32-vrefbuf.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
stpmic1.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
tps62360_regulator.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
tps65090_regulator.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
tps65910_regulator.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tps65941_regulator.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00