Skip to content

[qcom-next] arm: dts: talos-evk: Set USB controllers to peripheral mode#67

Open
balajiselvanathan wants to merge 1 commit into
qualcomm-linux:qcom-nextfrom
balajiselvanathan:talos_fastboot_qn
Open

[qcom-next] arm: dts: talos-evk: Set USB controllers to peripheral mode#67
balajiselvanathan wants to merge 1 commit into
qualcomm-linux:qcom-nextfrom
balajiselvanathan:talos_fastboot_qn

Conversation

@balajiselvanathan
Copy link
Copy Markdown

Override USB dr_mode to "peripheral" for both usb_1 and usb_2 nodes to enable fastboot and USB download functionality in U-Boot. The upstream device tree configures these as "host" mode for Linux runtime, but U-Boot requires peripheral mode for flashing operations.

Upstreamed link: https://lore.kernel.org/u-boot/20260519-talos_fastboot-v1-1-6908b79ffccc@oss.qualcomm.com/

Override USB dr_mode to "peripheral" for both usb_1 and usb_2 nodes
to enable fastboot and USB download functionality in U-Boot. The
upstream device tree configures these as "host" mode for Linux
runtime, but U-Boot requires peripheral mode for flashing operations.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
@balajiselvanathan balajiselvanathan changed the title arm: dts: talos-evk: Set USB controllers to peripheral mode [qcom-next] arm: dts: talos-evk: Set USB controllers to peripheral mode May 19, 2026
@b49020
Copy link
Copy Markdown
Member

b49020 commented May 25, 2026

Upstreamed link: https://lore.kernel.org/u-boot/20260519-talos_fastboot-v1-1-6908b79ffccc@oss.qualcomm.com/

You should rather CC the Qcom maintainers, anyhow these overrides won't apply upstream as the base talos-evk DT isn't yet synced upstream. So, you should rather create a single patch-set for talos-evk with the cherry-picks and DT overrides upstream.

};

&usb_1 {
dr_mode = "peripheral";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should rather be otg mode which will default to peripheral mode in U-Boot and can be switched in Linux as needed. Please push corresponding kernel DT changes as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants