summaryrefslogtreecommitdiff
path: root/lib/crypto/mscode_parser.c
diff options
context:
space:
mode:
authorFrieder Schrempf <[email protected]>2022-06-27 13:00:58 +0200
committerStefano Babic <[email protected]>2022-06-28 15:24:31 +0200
commit2add0511757e2c5897a88b57c5ea8c912140e60f (patch)
tree502b207387a572dc8514772b68f4cfef66c67302 /lib/crypto/mscode_parser.c
parent6b5ecb829391331bc1125c2b2033344b870ea5c3 (diff)
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 <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Tested-by: Fabio Estevam <[email protected]>
Diffstat (limited to 'lib/crypto/mscode_parser.c')
0 files changed, 0 insertions, 0 deletions