]> git.dujemihanovic.xyz Git - u-boot.git/commit
regulator: fixed: Add support for gpios prop
authorJonas Karlman <jonas@kwiboo.se>
Sat, 22 Jul 2023 13:30:21 +0000 (13:30 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 28 Jul 2023 10:45:03 +0000 (18:45 +0800)
commitf7b8a84a29833b6e6ddac67920d688330b299fa8
tree070ff43ecb67c0465dcf11c4258556b14104b385
parentbc6b94b5788677c3633e0331203578ffa706ff4b
regulator: fixed: Add support for gpios prop

The commit 12df2c182ccb ("regulator: dt-bindings: fixed-regulator: allow
gpios property") in linux v6.3-rc1 added support for use of either a
gpios or gpio prop with a fixed-regulator.

This adds support for the new gpios prop to the fixed-regulator driver.
gpios prop is used by vcc3v3-pcie-regulator on Radxa ROCK 3 Model A.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/power/regulator/fixed.c