[PATCH v2] arm64: dts: rockchip: rk3588-nanopc-t6: fix usb-c port functionality
Heiko Stuebner
heiko at sntech.de
Thu May 1 06:29:34 PDT 2025
On Tue, 22 Apr 2025 17:03:45 -0400, John Clark wrote:
> The USB-C port on the NanoPC-T6 was not providing VBUS (vbus5v0_typec
> regulator disabled, gpio-58 out lo) due to misconfiguration. The
> original setup with regulator-always-on and regulator-boot-on forced
> the port on, masking the issue, but removing these properties revealed
> that the fusb302 driver was not enabling the regulator dynamically.
>
> Changes:
> - Removed regulator-always-on and regulator-boot-on from vbus5v0_typec
> and vbus5v0_usb to allow driver control.
> - Changed power-role from "source" to "dual" in the usb-c-connector to
> support OTG functionality.
> - Added pd-revision = /bits/ 8 <0x2 0x0 0x1 0x2> to the FUSB302MPX
> node to specify USB Power Delivery (PD) Revision 2.0, Version 1.2,
> ensuring the driver correctly advertises PD capabilities and
> negotiates power roles (source/sink).
> - Added op-sink-microwatt and sink-pdos for proper sink mode
> configuration (1W min, 15W max).
> - Added typec-power-opmode = "1.5A" to enable 1.5A fallback for non-PD
> USB-C devices, aligning with the 5V/2A hardware limit.
> - Set try-power-role to "source" to prioritize VBUS enablement.
> - Adjusted usb_host0_xhci dr_mode from "host" to "otg" and added
> usb-role-switch for dual-role support.
>
> [...]
Applied, thanks!
[1/1] arm64: dts: rockchip: rk3588-nanopc-t6: fix usb-c port functionality
commit: 60087bcbd1206a546c570c453dee5f5d961ef5b3
Best regards,
--
Heiko Stuebner <heiko at sntech.de>
More information about the linux-arm-kernel
mailing list