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 <sumit.garg@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
Caleb Connolly 2024-04-03 14:07:48 +02:00
parent 1751d3c4ba
commit 9a556a0afc
No known key found for this signature in database
GPG Key ID: 0583312B195F64B6

View File

@ -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/20240320122515.3243711-1-caleb.connolly@linaro.org/
*/
&pcie0_3p3v_dual {
regulator-always-on;
};