diff options
| author | Caleb Connolly <[email protected]> | 2024-04-03 14:07:48 +0200 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2024-04-04 17:46:47 +0200 |
| commit | 9a556a0afc0abbeddf09915918097ad8583fc940 (patch) | |
| tree | db18f0df9c7204d086d70be7676c124e4225a051 | |
| parent | 1751d3c4bab0ec258f6996eb1b30f779a79213f7 (diff) | |
dts: sdm845-db845c: add u-boot fixups
The USB VBUS supply for the type-A port is enabled via a GPIO regulator.
This is incorrectly modelled in Linux where only the PCIe dependency is
expressed. The correct way to handle this will be through a
usb-connector node, but for now we'll just mark the regulator as
always-on so that it will be enabled automatically during boot.
Reviewed-by: Sumit Garg <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Caleb Connolly <[email protected]>
| -rw-r--r-- | arch/arm/dts/sdm845-db845c-u-boot.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/sdm845-db845c-u-boot.dtsi b/arch/arm/dts/sdm845-db845c-u-boot.dtsi new file mode 100644 index 00000000000..906f9faa545 --- /dev/null +++ b/arch/arm/dts/sdm845-db845c-u-boot.dtsi @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* Needed for Linux to boot from USB, otherwise if PCIe driver is not in initramfs + * the VBUS supply will never get turned on. + * https://lore.kernel.org/linux-arm-msm/[email protected]/ + */ +&pcie0_3p3v_dual { + regulator-always-on; +}; |
