Skip to content

Fix Exynos USB on kernels with USB Gadget support

Kukjin Kim linux-arm-kernel linux-devicetree linux-samsung-soc 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest0 of 3 patches 0 repliesNew
  2. v30 of 3 patches 0 repliesSuperseded

Patches in v4 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH 0/3 v4] Fix Exynos USB on kernels with USB Gadget support
Quoted 3 lines · Sjoerd Simons

Same patches as v3 but rebased on
https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next

Thanks, applied.

- Kukjin

Quoted 29 lines

When building a kernel with support for both USB host and USB Gadget support on the dwc3 controller on the Exynos5 soc will go into USB OTG mode unless otherwise specified in the dtb, which is unhelpful for boards hooked up to run as USB host.

First patch in this set explicitely set the dual-role mode for the dwc3 controller on Peach pi and Peach pit boards to host mode. Second patch adds similar updates for Arndale Octa as reported by Andreas F?rber. Last patch enables gadget mode in the default exynos config to more easily catch/trigger issues like these.

I suspect the Samsung SMDK5420 DTS might need similar changes, so it would be great if users of those board could verify this.

Changes in v2: alphabetically sort the dts entries Changes in v3: Add DTS updates for arndale octa Changes in v4: Rebased on todays linux-samsungs for-next branch

Sjoerd Simons (3):
ARM: dts: exynos: Explicitly set dr_mode on peach-pit and peach-pi
ARM: dts: exynos: Explicitly set dr_mode on arndale-octa
ARM: exynos_defconfig: enable USB gadget support

  arch/arm/boot/dts/exynos5420-arndale-octa.dts | 4 ++++
  arch/arm/boot/dts/exynos5420-peach-pit.dts    | 8 ++++++++
  arch/arm/boot/dts/exynos5420.dtsi             | 4 ++--
  arch/arm/boot/dts/exynos5800-peach-pi.dts     | 8 ++++++++
  arch/arm/configs/exynos_defconfig             | 1 +
  5 files changed, 23 insertions(+), 2 deletions(-)