]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: Fix USB dts configuration for dm816x
authorTony Lindgren <tony@atomide.com>
Tue, 24 Feb 2015 16:48:52 +0000 (08:48 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Feb 2015 16:48:52 +0000 (08:48 -0800)
commitd79e5871cc859213d3aed805ef24a964fe0d4a7c
tree043259ad5445c7f2c6fcec9f708dbb40e5815473
parent1ab41c58e135a209001c7ef9e7f8e11bdd96f309
ARM: dts: Fix USB dts configuration for dm816x

Commit f628d3165c3b ("ARM: dts: Add basic dm816x device tree
configuration") added basic devices for dm816x, but I was not able
to test the USB completely because of an unconfigured USB phy, and
I only tested it to make sure the Mentor chips are detected and
clocked without a phy.

After testing the USB with actual devices I noticed a few issues
that should be fixed to avoid confusion:

- The USB id pin on dm8168-evm is hardwired and can be changed
  only by software. As there are two USB-A type connectors, let's
  start both in host mode instead of otg.

- The Mentor core is configured in such a way on dm8168-evm that
  it's not capable of multipoint at least on revision c board
  that I have.

- We need ranges for the syscon to properly set up the phy as
  children of the SCM syscon area.

- Let's not disable the second interface, the board specific
  dts files can do that if really needed. Most boards should
  just keep it enabled to ensure the device is idled properly.

Note that also a phy and several musb fixes are still needed to
make the USB to work properly in addition to this fix.

Cc: Brian Hutchinson <b.hutchman@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dm8168-evm.dts
arch/arm/boot/dts/dm816x.dtsi