diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2020-05-24 22:32:51 +0200 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2020-05-29 17:59:49 +0800 |
commit | dbc5e2860400fb826e5e49bb595c5b7cc2dcc827 (patch) | |
tree | 83b49e6bb02c703e495602d60cfb7ce846900534 /include | |
parent | 7e01363df32c7fafde97670fff41be9e615bb3be (diff) |
pci: Make Rockchip PCIe voltage regulators optional
The vpcie*-supply properties are optional and these are absent on
boards like the ROCKPro64 and Firefly RK3399 where the voltage is
supplied by always-on regulators that are already enabled upon
boot. Make these regulators optional and properly check their
presence before attempting to enable them.
Makes PCIe work on un U-Boot on the boards mentioned above.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions