public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Siarhei Siamashka <siarhei.siamashka@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 17/17] sunxi: Hookup OTG USB controller support
Date: Mon, 9 Feb 2015 05:54:04 +0200	[thread overview]
Message-ID: <20150209055404.1d09f14a@i7> (raw)
In-Reply-To: <20150131045447.26e1eebc@i7>

On Sat, 31 Jan 2015 04:54:47 +0200
Siarhei Siamashka <siarhei.siamashka@gmail.com> wrote:

> On Sun, 11 Jan 2015 20:34:55 +0100
> Hans de Goede <hdegoede@redhat.com> wrote:
> 
> > Hookup OTG USB controller support and enable the otg controller + USB-keyb
> > on various tablets.
> > 
> > This allows tablet owners to interact with u-boot without needing to solder
> > a serial console onto their tablet PCB.
> 
> Thanks. Works great on my Primo73 and Primo81 tablets. However I have
> just one naive question before happily taking it into use by default.
> 
> Is the hardcoded otg host mode (without checking the id pin) always
> safe? For example, what happens if somebody connects a charger instead
> of a usb keyboard to the tablet?

So, does anyone have any idea if it is theoretically safe to have two
USB hosts connected to each other and both driving VBUS at +5V?

A somewhat realistic scenario is booting an Allwinner tablet over
USB using the FEL mode. Is it a good idea for such tablet to have
CONFIG_USB_MUSB_SUNXI=y and CONFIG_USB0_VBUS_PIN="axp_drivebus"
in defconfig?

-- 
Best regards,
Siarhei Siamashka

  reply	other threads:[~2015-02-09  3:54 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-11 19:34 [U-Boot] [PATCH 00/17] sunxi: musb otg controller support Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 01/17] sunxi: axp221: Protect axp221_init against multiple calls Hans de Goede
2015-01-13 18:49   ` Ian Campbell
2015-01-14  8:21     ` Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 02/17] sunxi: axp221: Add support for controlling the drivebus pin Hans de Goede
2015-01-13 18:52   ` Ian Campbell
2015-01-11 19:34 ` [U-Boot] [PATCH 03/17] sunxi: Move usb-controller init code out of ehci-sunxi.c for reuse for otg Hans de Goede
2015-01-13 18:55   ` Ian Campbell
2015-01-11 19:34 ` [U-Boot] [PATCH 04/17] sunxi: usbc: Add support for usb0 to the common usbc code Hans de Goede
2015-01-13 18:57   ` Ian Campbell
2015-01-11 19:34 ` [U-Boot] [PATCH 05/17] sunxi: usbc: Add support for usb-vbus0 controller by axp drivebus pin Hans de Goede
2015-01-13 18:58   ` Ian Campbell
2015-01-11 19:34 ` [U-Boot] [PATCH 06/17] usb: Fix usb_kbd_deregister when console-muxing is used Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 07/17] usb: Add an interval parameter to create_int_queue Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 08/17] usb: Do not log an error when no devices is plugged into a root-hub-less hcd Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 09/17] musb-new: Add register defines for different reg layout on sunxi Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 10/17] musb-new: Add sunxi musb controller support Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 11/17] musb-new: Use time based timeouts rather then cpu-cycles based timeouts Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 12/17] musb-new: Fix interrupt transfers not working Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 13/17] musb-new: Fix reset sequence when in host mode Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 14/17] musb-new: Properly remove a transfer from the schedule on timeout Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 15/17] musb-new: Add urb and hep parameters to construct_urb Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 16/17] musb-new: Add interrupt queue support Hans de Goede
2015-01-11 19:34 ` [U-Boot] [PATCH 17/17] sunxi: Hookup OTG USB controller support Hans de Goede
2015-01-13 19:59   ` Ian Campbell
2015-01-14  7:48     ` Hans de Goede
2015-01-31  2:54   ` Siarhei Siamashka
2015-02-09  3:54     ` Siarhei Siamashka [this message]
2015-02-09 22:10       ` Michal Suchanek
2015-02-10  8:24         ` Hans de Goede
2015-01-12  2:59 ` [U-Boot] [PATCH 00/17] sunxi: musb otg " Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150209055404.1d09f14a@i7 \
    --to=siarhei.siamashka@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox