1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-02 01:07:11 +01:00
Files
u-boot-megous/drivers
Frieder Schrempf 2add051175 pmic: pca9450: Add optional SD_VSEL GPIO for LDO5
LDO5 has two separate control registers. LDO5CTRL_L is used if the
input signal SD_VSEL is low and LDO5CTRL_H if it is high.
The current driver implementation only uses LDO5CTRL_H. To make this
work on boards that have SD_VSEL connected to a GPIO, we add support
for specifying an optional GPIO and setting it to high at probe time.

In the future we might also want to add support for boards that have
SD_VSEL set to a fixed low level. In this case we need to change the
driver to be able to use the LDO5CTRL_L register.

This is a port of the same change in the Linux kernel:
8c67a11bae88 ("regulator: pca9450: Add SD_VSEL GPIO for LDO5")

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Tested-by: Fabio Estevam <festevam@denx.de>
2022-06-28 15:24:31 +02:00
..
2022-04-25 09:25:00 +02:00
2022-05-02 09:58:13 -04:00
2022-05-02 09:58:13 -04:00
2021-10-05 08:50:15 -04:00
2022-03-30 13:02:55 -04:00
2022-01-13 07:57:49 -05:00
2022-04-28 09:26:44 -04:00
2022-01-13 07:57:49 -05:00
2022-06-15 11:34:38 +02:00
2022-05-02 09:58:13 -04:00
2022-04-11 10:28:04 -04:00
2022-05-05 09:28:47 -04:00
2022-05-03 21:39:22 +02:00
2021-10-01 21:08:18 -04:00
2021-10-31 08:46:44 -04:00