arm64: dts: rockchip: rk3588s-tablet: fix Type-C0 vbus issue

Just as the commit 25e44a6ed98b("bq25700: register otg vbus regulator")
said that there will be some problems with the current vbus control,
and the patch has registered the otg vbus regulator in the charger ic
driver, then the otg vbus regulator can be referenced in the fusb302 node.

Change-Id: Id4c9f866a3d131eee6f732300ff642a7f5489672
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
This commit is contained in:
Wang Jie
2021-11-29 14:37:53 +08:00
committed by Tao Huang
parent 7790a659ae
commit 5869a2d49e

View File

@@ -352,6 +352,12 @@
ti,otg-voltage = <5000000>;
ti,otg-current = <500000>;
pd-charge-only = <0>;
regulators {
vbus5v0_typec: vbus5v0-typec {
regulator-compatible = "otg-vbus";
regulator-name = "vbus5v0_typec";
};
};
};
};
@@ -646,6 +652,7 @@
interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&usbc0_int>;
vbus-supply = <&vbus5v0_typec>;
status = "okay";
ports {