[PATCH-OMAP3] Modified pinmux to enable HSUSB2 (EHCI) on Beagle.

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>

Jason Kridner wrote:

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>

Thanks for this!

I wonder if this is compatible to rev A & B boards? I.e. can we apply this to U-Boot without breaking compatibility for rev A & B?

If not, I would recommend something like

void set_muxconf_regs(void)
{
  MUX_BEAGLE();

  if(beagle_rev_c) {
    MUX_BEAGLE_REVC();
  }
}

with macro MUX_BEAGLE_REVC() introducing the rev C changes below.

Best regards

Dirk

Btw.: I will send updated version of rev C detection patch, soon.

Jason Kridner wrote:

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>

Thanks for this!

I wonder if this is compatible to rev A & B boards? I.e. can we apply this to U-Boot without breaking compatibility for rev A & B?

I don't expect issues. I recommend you give it a try on your boards and/or double-check with the schematics of Rev B. I don't think there are enough of Rev A to worry about.

S. Kipisz, what do you think?

This patch didn't apply straight for me, I am applying against my
gitorious branch == sakoman's branch.

[root@tiioss mainline]# patch --dry-run -p1 < ../mux_patch
patching file board/omap3/beagle/beagle.h
Hunk #1 FAILED at 116.
Hunk #2 FAILED at 221.
Hunk #3 FAILED at 258.
Hunk #4 FAILED at 303.
4 out of 4 hunks FAILED -- saving rejects to file
board/omap3/beagle/beagle.h.rej

Regards,
Khasim