All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@kernel.org>
To: Benoit <benoit.sansoni@gmail.com>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Re: gadget mass storage with two USB OTG device controller
Date: Thu, 2 Jul 2020 21:12:20 +0300	[thread overview]
Message-ID: <CAH8TKc9gaebqZOpv0OFxG-Dq+Tj+FdgJamQ=eP4SMJ-eYBrkOA@mail.gmail.com> (raw)
In-Reply-To: <8f870ba5-5dec-e362-51dd-65311315f6f2@gmail.com>

Hi,

On Thu, Jul 2, 2020 at 4:08 PM Benoit <benoit.sansoni@gmail.com> wrote:
>
> Hello Felipe,
>
> I contact you because I used the perl script to check out which is the
> maintainer of the gadget drivers.
>
> I am working on a project using NXP imx8 processor which has two USB OTG
> controller.
> Both support device mode.
> I am using kernel release 4.19.35.
>
> I tried to use the g_mass_storage driver using different "file="
> paramter to each of them without success.
>
> I dig into the Documentation folder, but did not find the way to do that.
>
>
> Question:
>
> Is it possible to run at the same time the g_mass_storage driver on two
> different USB OTG device controller?

yes, look at the configfs interface for the gadget framework

-- 
balbi

       reply	other threads:[~2020-07-02 18:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8f870ba5-5dec-e362-51dd-65311315f6f2@gmail.com>
2020-07-02 18:12 ` Felipe Balbi [this message]
2020-07-02 19:32   ` gadget mass storage with two USB OTG device controller Benoit
2020-07-09  6:39     ` Felipe Balbi
2020-07-09  7:23       ` Peter Chen

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='CAH8TKc9gaebqZOpv0OFxG-Dq+Tj+FdgJamQ=eP4SMJ-eYBrkOA@mail.gmail.com' \
    --to=balbi@kernel.org \
    --cc=benoit.sansoni@gmail.com \
    --cc=linux-usb@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.