Skip to contentSkip to conversation

arm64: dts: meson: radxa-zero: allow usb otg mode

PATCH Applied Christian Hewitt 2 participants 3 messages Jan 27, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: meson: radxa-zero: allow usb otg mode

Setting dr_mode to "host" prevents otg which can be useful on a board with limited connectivity options. So don't force host mode.

---
 arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts +0 -1
index e3bb6df42ff3..cf0a9be83fc4 100644
@@ -401,5 +401,4 @@ &uart_AO {
 
 &usb {
 	status = "okay";
-	dr_mode = "host";
 };
Signature · 1 line
2.34.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Christian Hewitt

Setting dr_mode to "host" prevents otg which can be useful on a board with limited connectivity options. So don't force host mode.

---
  arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 1 -
  1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts +0 -0
index e3bb6df42ff3..cf0a9be83fc4 100644

arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts &uart_AO { · line 404

Quoted 4 lines
arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts +0 -1
@@ -401,5 +401,4 @@ &uart_AO {
 
  &usb {
  	status = "okay";
-	dr_mode = "host";

At some point we would need to add the fusb302 node to have proper USB-C PD and mode switch handling.

Fixes 26d1400f7457 ("arm64: dts: amlogic: add support for Radxa Zero")
maintainer Applied
#2 lore raw
In reply to Christian Hewitt

Hi,

Quoted 4 lines · Christian Hewitt

Setting dr_mode to "host" prevents otg which can be useful on a board with limited connectivity options. So don't force host mode.

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.3/arm64-dt)

[1/1] arm64: dts: meson: radxa-zero: allow usb otg mode

      https://git.kernel.org/amlogic/c/ce43ea00b927805c1fd0450ccc9b4b6069e292c5

These changes has been applied on the intermediate git tree [1].

The v6.3/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers for inclusion in their intermediate git branches in order to be sent to Linus during the next merge window, or sooner if it's a set of fixes.

In the cases of fixes, those will be merged in the current release candidate kernel and as soon they appear on the Linux master branch they will be backported to the previous Stable and Long-Stable kernels [2].

The intermediate git branches are merged daily in the linux-next tree [3], people are encouraged testing these pre-release kernels and report issues on the relevant mailing-lists.

If problems are discovered on those changes, please submit a signed-off-by revert patch followed by a corrective changeset.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

Signature · 1 line
Neil