summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_csr.c
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2023-07-22 13:30:18 +0000
committerKever Yang <kever.yang@rock-chips.com>2023-07-28 18:45:03 +0800
commit8b001ee59a9d4a6246098c8bc5bb894a752e7c0b (patch)
tree2305bb0f01fe75f243ca8bb32b454305028b071a /drivers/ddr/imx/phy/ddrphy_csr.c
parentbed7b2f00b1346f712f849d53c72fa8642601115 (diff)
pci: pcie_dw_rockchip: Use regulator_set_enable_if_allowed
The vpcie3v3 regulator is typically a fixed regulator controlled using gpio. Change to use enable and disable calls on the regulator instead of trying to set a voltage value. Also remove the delay to match linux driver, for a fixed regulator the startup-delay-us prop can be used in case a startup delay is needed. Limited testing on ROCK 3A, ROCK 5B, Quartz64, Odroid-M1 has shown that this delay was not needed. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_csr.c')
0 files changed, 0 insertions, 0 deletions