Skip to content
Snippets Groups Projects
Commit 979a00a4 authored by Frieder Schrempf's avatar Frieder Schrempf
Browse files

regulator: pca9450: Handle hardware with fixed SD_VSEL for LDO5


There are two ways to set the output voltage of the LD05
regulator. First by writing to the voltage selection registers
and second by toggling the SD_VSEL signal.

Usually board designers connect SD_VSEL to the VSELECT signal
controlled by the USDHC controller, but in some cases the
signal is hardwired to a fixed low level (therefore selecting
3.3V as initial value for allowing to boot from the SD card).

In these cases, the voltage is only determined by the value
of the LDO5CTRL_L register. Introduce a property
nxp,sd-vsel-fixed-low to let the driver know that SD_VSEL
is low and there is no GPIO to actually get that
information from dynamically.

Signed-off-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
---
Changes for v2:
* new patch
parent 5b923a39
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment